A lightweight Model Context Protocol (MCP) server that enables AI assistants to create, retrieve, and manage sticky notes using natural language. Turn simple conversations into persistent notes for productivity, brainstorming, and reminders.
NoteFlow is a custom MCP (Model Context Protocol) server designed to bring persistent sticky notes into AI workflows.
Instead of manually managing notes in separate apps, users can simply ask their AI assistant to create, store, or retrieve notes using natural language.
When integrated with AI clients like Claude Desktop, NoteFlow allows the assistant to:
- Save reminders
- Store ideas
- Retrieve previously saved notes
- Maintain persistent context across conversations
All notes are stored locally in a simple .txt file, making the system lightweight, transparent, and fully customizable.
| Feature | Description |
|---|---|
| ๐ง Custom MCP Server | Implements a fully functional MCP server using FastMCP |
| ๐ Natural Language Note Creation | AI assistants can add notes directly through commands |
| ๐ Note Retrieval | Retrieve previously saved notes instantly |
| ๐พ Persistent Storage | Notes are stored locally in a .txt file |
| โก Fast Python Environment | Uses the modern uv package manager |
| ๐ Claude Desktop Integration | Automatically registers tools inside Claude |
| ๐งฉ Extensible Design | Easily add new tools like delete, tag, or categorize notes |
graph TD
A[๐ค User Prompt] --> B[Claude Desktop AI]
B --> C[MCP Client]
C --> D[Custom MCP Server - FastMCP]
D --> E{Command Type}
E -->|Add Note| F[Write to notes.txt]
E -->|Retrieve Notes| G[Read notes.txt]
E -->|List Notes| H[Parse Stored Notes]
F --> I[Return Confirmation]
G --> I
H --> I
I --> B
The MCP server exposes custom tools that the AI client can call.
1๏ธโฃ The user asks the AI assistant to save or retrieve a note
2๏ธโฃ The assistant sends a tool request through MCP
3๏ธโฃ The FastMCP server processes the request
4๏ธโฃ Notes are written to or retrieved from notes.txt
5๏ธโฃ The response is returned to the AI client
This architecture allows AI assistants to interact with local tools safely and efficiently.
| Component | Technology |
|---|---|
| Programming Language | Python 3.12 |
| MCP Server Framework | FastMCP |
| Package Manager | uv |
| Storage | Local .txt file |
| AI Client Integration | Claude Desktop |
ai-sticky-notes-mcp/
โ
โโโ main.py # MCP server logic (tools, prompts, handlers)
โโโ notes.txt # Persistent storage for sticky notes
โโโ README.md # Project documentation
- Python 3.12+
- Claude Desktop (optional but recommended)
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"curl -LsSf https://astral.sh/uv/install.sh | shwget -qO- https://astral.sh/uv/install.sh | shuv init .uv add "mcp[cli]"Place all server logic inside main.py.
Then install the MCP server:
uv run mcp install main.pyThis registers the MCP server so AI clients can discover it automatically.
If Claude Desktop is installed:
1๏ธโฃ Run:
uv run mcp install main.py2๏ธโฃ Claude will automatically detect your MCP server.
3๏ธโฃ Restart Claude if tools do not appear:
- Open Task Manager
- End the Claude Desktop process
- Restart the app
Your MCP tools should now be available.
Your server can expose tools such as:
| Tool | Description |
|---|---|
add_note |
Save a new sticky note |
get_notes |
Retrieve all notes |
search_notes |
Find notes containing a keyword |
Example interaction:
User: Remember that I need to finish my ML assignment tonight.
Claude: Note saved successfully.
| Setting | File | Description |
|---|---|---|
| Notes Storage | notes.txt |
Local file where notes are stored |
| MCP Tools | main.py |
Define tools and commands |
| Client Integration | Claude Desktop | Registers MCP server automatically |
Restart the Claude desktop application:
- Open Task Manager
- End the Claude process
- Restart the app
Ensure that:
notes.txtexists in the project directory- The MCP server has permission to write to the file
- ๐ Note tagging and categorization
- ๐ง Semantic search using embeddings
- ๐๏ธ Delete or edit notes
- โ๏ธ Cloud storage integration
- ๐ Multi-agent MCP workflows
Making AI assistants remember what matters.
NoteFlow โ because ideas shouldn't disappear.