Skip to main content
Glama
mcp-notes-server

mcp-notes-server

by Pancratziaog

mcp-notes-server

Learning MCP: tiny notes server with five tools

Built for my own use; public in case it helps someone.

What it does

  • A missing note raises instead of returning the string 'not found'

  • Notes path set by MCP_NOTES_FILE or --notes-file

  • Atomic saves (temp file + os.replace) behind a write lock

  • Includes a Claude Desktop config snippet with absolute paths

  • Every tool carries a real docstring, so clients get descriptions

  • Five tools: add / get / update / delete / list notes

Related MCP server: notes-box

Install

pip install -r requirements.txt

Examples

# claude_desktop_config.json  (use ABSOLUTE paths: Claude does not
# run from the repo directory, so a bare "server.py" is not found)
# {
#   "mcpServers": {
#     "notes-box": {
#       "command": "python",
#       "args": ["/abs/path/to/mcp-notes-server/server.py"],
#       "env": {"MCP_NOTES_FILE": "/abs/path/to/notes.json"}
#     }
#   }
# }
python server.py --help

Project structure

├── .github/
│   └── workflows/
│       └── ci.yml
├── docs/
│   ├── faq.md
│   ├── roadmap.md
│   └── usage.md
├── tests/
│   └── test_notes.py
├── .gitignore
├── CHANGELOG.md
├── CODE_OF_CONDUCT.md
├── CONTRIBUTING.md
├── LICENSE
├── requirements.txt
└── server.py

Development

python -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
python -m pytest -q

Why

Needed this for myself; figured others might too.

License

MIT licensed, see LICENSE.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables managing a local JSON notes file through five MCP tools: add, get, update, delete, and list notes, with atomic saves and a write lock.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables Claude Desktop to add, retrieve, update, delete, and list notes kept in a JSON file, with the notes path configurable via an environment variable or CLI flag. Notes are persisted with atomic saves behind a write lock, and missing notes raise errors rather than returning placeholder text.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI clients to add, get, update, delete, and list notes stored in a JSON file, with atomic saves and missing-note errors.
      MIT