notes-mcp-server
Enables LangGraph agents to create and read notes via MCP tools.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
FastAPI + MCP + LangGraph Demo
This is a very small learning project.
One app exposes the same note operations in two ways:
REST API with FastAPI
MCP tools for AI clients and agents
What is included
POST /notesto create a noteGET /notes/{note_id}to read a noteGET /graph-rag?question=...for a tiny Graph RAG exampleMCP tools:
create_noteget_notegraph_rag_search
mcp_client_demo.pyto call the MCP server directlylanggraph_agent_demo.pyto give a LangGraph agent access to the MCP toolsgraph_rag_demo.pyto show a tiny knowledge-graph retrieval flow
Related MCP server: approveit MCP Server
Install
.venv/bin/pip install -e .Run the server
.venv/bin/uvicorn main:app --reloadOpen:
FastAPI docs:
http://127.0.0.1:8000/docsMCP endpoint:
http://127.0.0.1:8000/mcp/
Try the REST API
Create:
curl -X POST http://127.0.0.1:8000/notes \
-H "content-type: application/json" \
-d '{"title":"hello","content":"from fastapi"}'Read:
curl http://127.0.0.1:8000/notes/1Try the MCP client
Start the server first, then run:
.venv/bin/python mcp_client_demo.pyTry the Graph RAG demo
Run the standalone script:
.venv/bin/python graph_rag_demo.pyOr hit the REST endpoint:
curl "http://127.0.0.1:8000/graph-rag?question=How%20is%20Bob%20connected%20to%20Neo4j%3F"What the Graph RAG demo is showing
This part is intentionally tiny and concept-focused:
a few short source documents
a few graph triples like
Bob -> owns -> Search APIretrieval over graph structure instead of only plain text matching
The most important concept is multi-hop retrieval. For example:
Bob -> owns -> Search APISearch API -> depends_on -> Graph RAG ServiceGraph RAG Service -> uses -> Neo4j
That lets the demo answer a question like How is Bob connected to Neo4j? by walking the graph path.
Try the LangGraph agent
Start the server first, then set your OpenAI key:
export OPENAI_API_KEY=your_key_hereOptional model override:
export OPENAI_MODEL=gpt-4.1-miniRun the demo:
.venv/bin/python langgraph_agent_demo.pyWithout OPENAI_API_KEY, the script will still show that LangGraph can load the MCP tools, but it will skip the actual agent run.
Notes
Data is stored only in memory.
Restarting the server clears all notes.
This is intentionally minimal for learning.
This server cannot be deployed
Maintenance
Related MCP Connectors
Persistent memory layer for AI tools. Save and recall notes across Claude and other MCP clients.
Search, read, write, and organize your Scratchpad notes from any MCP client.
An MCP server that used to create notes
MCP-native notes and memory for ChatGPT, Claude, and other AI tools.
Related MCP Servers
- -licenseCqualityDmaintenanceEnables creating and managing text notes through MCP resources and tools. Provides note creation capabilities and automatic summarization of all stored notes.1-
- -licenseNot gradedqualityNot gradedmaintenanceA simple notes system that allows creating, storing, and accessing text notes through MCP resources and tools, with built-in prompt support for generating summaries of stored notes.-
- AlicenseNot gradedqualityDmaintenanceEnables access to a notes knowledge base via MCP, providing tools for keyword search, note creation, and retrieval, along with browseable note resources.17 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to manage in-memory notes by listing, fetching, and creating notes through MCP tools over stdio.101 npmMIT