Notes MCP Server
Manages notes in Markdown format with support for creating, updating, searching, and organizing notes with tags and timestamps.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Notes MCP Server search notes for 'Python project ideas'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
๐ Notes MCP Server
A Model Context Protocol (MCP) server for managing notes in Markdown format. Built with Python and the FastMCP SDK.
๐ Features
Create Notes: Create new Markdown notes with titles, content, and tags
List & Filter: View all notes or filter by specific tags
Search: Full-text search across all notes with context preview
Update: Append content to existing notes with timestamps
Delete: Remove notes when no longer needed
Resources: Access all notes as a single MCP resource
AI Prompts: Built-in prompt for analyzing and summarizing notes
Related MCP server: mor
๐ฆ Installation
Prerequisites
Python 3.10 or higher
uv package manager
Install uv
# MacOS/Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
# Windows
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
# Or via pip
pip install uvInstall Dependencies
# Using uv (recommended)
uv pip install mcp
# Or using pip
pip install mcp๐ Quick Start
1. Save the Server
Save notes_server.py in your desired directory.
2. Run the Server
# Using uv (recommended)
uv run notes_server.py
# Or using python directly
python notes_server.py3. Configure in Claude Desktop
Add to your claude_desktop_config.json:
MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"notes": {
"command": "uv",
"args": [
"--directory",
"/absolute/path/to/notes-mcp-server",
"run",
"notes_server.py"
]
}
}
}Alternative with Python:
{
"mcpServers": {
"notes": {
"command": "python",
"args": ["/absolute/path/to/notes_server.py"]
}
}
}4. Restart Claude Desktop
After adding the configuration, restart Claude Desktop to load the MCP server.
๐ ๏ธ Available Tools
create_note
Create a new note with title, content, and optional tags.
Parameters:
title(string): Note titlecontent(string): Note content in Markdowntags(string, optional): Comma-separated tags
Example:
Create a note titled "Project Ideas" with content "1. Build MCP server\n2. Add search" and tags "work, ideas"list_notes
List all notes with their titles and creation dates.
Parameters:
tag(string, optional): Filter by specific tag
Example:
List all notes
List notes with tag "work"read_note
Read the full content of a specific note.
Parameters:
filename(string): The filename of the note (e.g.,20241106_120000_project_ideas.md)
Example:
Read note "20241106_120000_project_ideas.md"search_notes
Search for notes containing specific text.
Parameters:
query(string): Search query
Example:
Search notes for "Python"update_note
Append content to an existing note with timestamp.
Parameters:
filename(string): The filename of the notecontent(string): Content to append
Example:
Update note "20241106_120000_project_ideas.md" with "3. Implement testing"delete_note
Delete a note permanently.
Parameters:
filename(string): The filename of the note
Example:
Delete note "20241106_120000_old_note.md"๐ Resources
notes://all
Access all notes as a combined resource. Useful for context-aware operations.
๐ก Prompts
summarize_notes_prompt
Generates a prompt for AI to analyze all notes and provide:
Summary of main themes
Recurring ideas or patterns
Important action items
Recommendations for organization
๐ File Structure
Notes are stored in the notes/ directory with the following format:
notes/
โโโ 20241106_120000_project_ideas.md
โโโ 20241106_130000_shopping_list.md
โโโ 20241106_140000_python_notes.mdNote Format
Each note is a Markdown file with metadata:
# Project Ideas
**Created:** 2024-11-06 12:00:00
**Tags:** work, ideas
---
1. Build MCP server
2. Add search functionality
3. Implement testing๐งช Testing
A test script is included to verify functionality without connecting to an LLM:
python test_notes_server.pyThe test script will:
Create sample notes
List and filter notes
Search for content
Update and delete notes
Test all features
๐ง Configuration
Notes Directory
By default, notes are stored in ./notes/. To change the location, modify the NOTES_DIR variable in notes_server.py:
NOTES_DIR = os.path.join(os.path.dirname(__file__), "notes")Filename Generation
Notes are saved with timestamps and sanitized titles:
Format:
YYYYMMDD_HHMMSS_sanitized_title.mdMax title length: 100 characters
Special characters are removed
Spaces converted to underscores
๐ Usage Examples
Create a Note
"Create a note titled 'Meeting Notes' with content 'Discussed Q4 goals' and tags 'work, meetings'"Find Related Notes
"Search my notes for anything related to 'Python'"Review Notes by Category
"List all notes tagged with 'personal'"Summarize Notes
"Use the summarize_notes_prompt to analyze all my notes"๐ค Contributing
Contributions are welcome! Feel free to:
Report bugs
Suggest new features
Submit pull requests
๐ License
This project is open source and available under the MIT License.
๐ Resources
โ ๏ธ Limitations
Text-based notes only (no file attachments)
No note encryption
Single notes directory (no subdirectories)
UTF-8 encoding only
๐ฌ Support
For issues or questions:
Check the test script output for debugging
Review the notes directory permissions
Ensure Python 3.10+ is installed
Verify MCP SDK installation
Made with โค๏ธ using FastMCP
Available Tools
6 toolscreate_noteB
Create a new Markdown note
Args: title: Note title content: Note content tags: Optional comma-separated list of tags
Returns: Confirmation message of note creation
Inputs: title (required), content (required), tags. Returns: result
delete_noteC
Delete a note
Args: filename: Note filename
Returns: Confirmation message of deletion
Inputs: filename (required). Returns: result
list_notesC
Get a list of all notes
Args: tag: Optional tag filter
Returns: List of notes with titles and dates
Inputs: tag. Returns: result
read_noteC
Read the contents of a note
Args: filename: Note filename (with .md extension)
Returns: Note content
Inputs: filename (required). Returns: result
search_notesC
Search for text within notes
Args: query: Search query
Returns: List of notes containing the query
Inputs: query (required). Returns: result
update_noteC
Update the content of an existing note
Args: filename: Note filename content: New content (will be appended)
Returns: Confirmation message of update
Inputs: filename (required), content (required). Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogโฆ
TDQS
Scored across 6 tools
Each tool has a clearly distinct purpose with no overlap: create, delete, list, read, search, and update notes. The descriptions reinforce these distinctions, making it easy for an agent to select the correct tool for any note-related operation without confusion.
All tool names follow a consistent verb_noun pattern with snake_case (e.g., create_note, delete_note, list_notes). This uniformity enhances readability and predictability, allowing agents to easily infer functionality from the naming convention.
With 6 tools, the server is well-scoped for managing notes, covering essential CRUD operations and additional utilities like search. Each tool earns its place without being excessive or insufficient for the domain, aligning with typical small to medium-sized tool sets.
The tool set provides complete CRUD coverage (create, read, update, delete) along with listing and search capabilities, ensuring no dead ends for note management. There are no obvious gaps, as all core lifecycle operations for a notes domain are adequately covered.
Maintenance
Related MCP Connectors
Save, search and edit your private notes by talking to your AI assistant.
Markdown notes in folders, with files, that your AI assistant can read, write and organise.
Markdown notes in folders, with files, that your AI assistant can read, write and organise.
Linked markdown notes as memory for AI apps: search, read, save and link notes over MCP.
1
Related MCP Servers
- FlicenseAqualityDmaintenanceEnables AI assistants to manage a personal markdown-based knowledge base with natural language interactions. Supports creating, searching, updating, and organizing notes across categories like people, recipes, meetings, and procedures.111-
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to search, read, create, update, and remove personal markdown notes stored locally, providing persistent memory across sessions.16 npm2MIT
- AlicenseAqualityBmaintenanceProvides an AI agent with a searchable markdown notes vault, offering tools to create, read, list, search, update, and delete notes stored as plain .md files.6MIT
- AlicenseAqualityBmaintenanceEnables AI agents to store, full-text search, and organize notes with tags.7MIT