MCP Notes Server

MCP Notes Server

A beginner-friendly MCP server for managing personal notes. Enables Claude to create, list, read, search, update, and delete notes saved as Markdown files.

Category
Visit Server

README

MCP Notes Server โ€” Your First MCP Server with Claude (Python)

A beginner-friendly, fully reproducible tutorial for building a Model Context Protocol (MCP) server in Python and connecting it to Claude.

The example server is a personal notes manager: Claude can create, list, read, search, update, and delete notes that are saved as Markdown files on your own computer.

๐Ÿ“– New to this? Follow the complete step-by-step guide in TUTORIAL.md. It explains every single command and shows the exact output you should see.


What is MCP?

MCP (Model Context Protocol) is an open standard that lets AI apps like Claude talk to external programs. You write a small server exposing:

  • Tools โ€” actions Claude can take (e.g. "save a note")
  • Resources โ€” read-only data Claude can pull in (e.g. "all my notes")

Claude is the client: when you ask it something, it can decide to call your tools. Build the server once, and any MCP-aware app can use it.

Do I need to write a client too? Usually no โ€” the client is an existing app like Claude Desktop or Claude Code. You only write a server. This repo includes an optional client.py purely to show what a client does under the hood; see TUTORIAL.md ยง9.


Quickstart

Requires uv (the tutorial shows how to install it). Then, from this folder:

# 1. Set up the environment (installs Python 3.12 + the MCP SDK, pinned)
uv sync

# 2. Test the server in the visual MCP Inspector
uv run mcp dev notes_server.py

To connect it to Claude Desktop, add this to your claude_desktop_config.json (use the absolute path from pwd):

{
  "mcpServers": {
    "notes": {
      "command": "uv",
      "args": ["--directory", "/ABSOLUTE/PATH/TO/mcp_tutorial", "run", "notes_server.py"]
    }
  }
}

To connect it to Claude Code:

claude mcp add notes -- uv --directory "$(pwd)" run notes_server.py

Full details, expected output, and troubleshooting are in TUTORIAL.md.


Project structure

File Purpose
notes_server.py The MCP server: 6 tools + 1 resource
client.py Optional standalone MCP client โ€” chat with the server from your terminal (no Claude Desktop needed)
pyproject.toml Project metadata, requires Python โ‰ฅ 3.10, depends on mcp[cli] and anthropic
uv.lock Exact pinned versions of every dependency (commit this!)
.python-version Pins the Python interpreter to 3.12 for reproducibility
.env.example Template for your API key โ€” copy to .env (git-ignored) and fill in
TUTORIAL.md The complete step-by-step walkthrough
.gitignore Excludes the virtual env and your personal notes from git

The tools

Tool What it does
add_note(title, body) Create a new note
update_note(title, body) Replace an existing note's content
list_notes() List all note titles
read_note(title) Read one note
search_notes(query) Find notes by title or content
delete_note(title) Delete a note permanently

Plus a resource, notes://all, that returns every note concatenated.


Tested with

  • uv 0.11.19
  • Python 3.12.13 (pinned via .python-version)
  • mcp 1.27.2

Because uv.lock and .python-version are committed, anyone who runs uv sync gets the exact same environment.


License

MIT โ€” see LICENSE. Use it, fork it, teach with it.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured