notes-mcp-server (Python / MCPServer template)
The same tools as the TypeScript template: search_notes, add_note, the notes://all resource, and the weekly_review prompt.
Run & test
Section titled “Run & test”uv sync # or: pip install "mcp[cli]>=2.2"uv run mcp dev server.py # interactive MCP Inspectornode ../../../qa/mcp-smoke.mjs uv run server.py # automated check (prints PASS)Configuration
Section titled “Configuration”| Env var | Default | Purpose |
|---|---|---|
NOTES_FILE |
~/.notes-mcp.json |
Where notes are stored |
Connect
Section titled “Connect”Cursor (.cursor/mcp.json):
{ "mcpServers": { "notes": { "command": "uv", "args": ["--directory", "C:/path/to/python-server", "run", "server.py"] } } }Claude Code:
claude mcp add notes -- uv --directory C:/path/to/python-server run server.pyFor more clients, see Connect to clients.