grill-mcp 0.0.0-stage → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Adam Danielsson
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,54 @@
1
- # Temporary Holding Version
1
+ # grill-mcp
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ grill-mcp gives any AI agent access to [Grill](https://grill.onbridger.com)'s record of what you know. The record holds every concept from your notes you have been tested on, your chance of recalling each one today, what you got wrong last time, and the misconceptions you keep showing. An agent connected to it can therefore pitch an explanation at your level, name the specific confusion behind a mistake, and test you on what is fading. Answers given to the agent count in Grill as well.
4
+
5
+ ## Setup
6
+
7
+ In Obsidian, open Settings → Grill → Agents and copy the line for your agent. It has this form:
8
+
9
+ ```
10
+ claude mcp add --scope user grill -- npx -y grill-mcp --vault "/path/to/your/vault"
11
+ codex mcp add grill -- npx -y grill-mcp --vault "/path/to/your/vault"
12
+ ```
13
+
14
+ Any other MCP client runs the same command, `npx -y grill-mcp --vault <path>`, over stdio. It requires Node.js 18 or later.
15
+
16
+ Without `--vault`, grill-mcp uses the vault it is started in, including from one of the vault's subfolders, or the folder named by the `GRILL_VAULT` environment variable. `--dir <path>` keeps a record in a folder of its own, outside any vault.
17
+
18
+ ## Tools
19
+
20
+ | Tool | What it returns |
21
+ |---|---|
22
+ | `grill_overview` | Counts of tested, known and still-learning concepts, what is due now or fading this week, the weakest notes and active misconceptions. |
23
+ | `grill_weak_spots` | Concepts missed last time, missed repeatedly, or likely forgotten, weakest first, optionally for one topic. |
24
+ | `grill_what_they_know` | Everything the record holds on a topic, for pitching an explanation. |
25
+ | `grill_questions` | Questions Grill already wrote for the concepts most worth testing, with expected answers for grading. |
26
+ | `grill_record_answer` | Records one graded answer, which then moves that concept's schedule. |
27
+
28
+ The server also tells the agent how to test: one question at a time, the expected answer kept back until you have answered, and every answer recorded.
29
+
30
+ ## Commands
31
+
32
+ The same queries are available as plain commands, for an agent that has a shell but no MCP set up. Each prints JSON. The `grill-test` skill uses them.
33
+
34
+ ```
35
+ npx -y grill-mcp overview
36
+ npx -y grill-mcp weak-spots [topic]
37
+ npx -y grill-mcp know <topic>
38
+ npx -y grill-mcp questions [topic]
39
+ npx -y grill-mcp record '{"note": "...", "question": "...", "answer": "...", "verdict": "partial"}'
40
+ ```
41
+
42
+ ## How answers reach Grill
43
+
44
+ grill-mcp never writes to the record files themselves, since the plugin may hold them open. Each graded answer is instead written as one file in the `Inbox` folder inside your Grill folder. While Grill is open, it adds these answers to the record within a few seconds, writes a session note for each agent session, and removes the files. Each answer is counted once, including when the vault syncs to a second device.
45
+
46
+ ## Outside a vault
47
+
48
+ Run in a folder that is not an Obsidian vault, for instance a code repository, grill-mcp keeps a record of its own in `.grill/` and updates it directly, one writer at a time. A readable log of each day's questions and answers is kept in `.grill/Sessions/`. A record file that cannot be read is reported as an error and never written over.
49
+
50
+ ## Privacy
51
+
52
+ grill-mcp makes no network requests. It reads and writes files in your vault, or in `.grill/`, and nothing else. What the agent does with the record is subject to that agent's own terms.
53
+
54
+ MIT licence.