by nmeierpolys
Provides structured, domain‑specific memory management via markdown files, enabling AI assistants to create, update, and query living documents for focused projects.
Structured Memory MCP Server delivers a living‑document approach to contextual memory. Instead of flat conversation snippets, it stores project‑specific information in organized markdown files that can be scanned, edited, and versioned over time.
npm install -g @nmeierpolys/mcp-structured-memory or run the source build.claude_desktop_config.json (or equivalent MCP client) pointing to the package via npx.create_memory tool or ask the LLM: Create a new travel advisor memory document and tell me how to use it.npx for easy integration with MCP clients.~/Library/Application Support/mcp-structured-memory/%LOCALAPPDATA%\mcp-structured-memory\~/.local/share/mcp-structured-memory/travel.md.2024‑10‑13‑15‑30‑00.bak).A Model Context Protocol (MCP) server that provides structured, domain-specific memory management through markdown files. This is particularly useful for ongoing projects around a particular area of focus where you want to accumulate valuable context over time. Examples include focused domains like travel planning, research projects, real estate search, investment theses, product planning, and career development.
Traditional MCP memory servers use semantic search across scattered conversation snippets. This works well for general recall but fails for focused projects that need organized, categorical information.
Structured Memory instead maintains living documents with structured content that you can scan, update, and track over time - just like you would with a personal notebook, but with AI assistance.
Memory documents are stored as markdown files, primarily updated automatically by the LLM as it learns from your conversations to build rich context over time.
Ask your LLM client to create a memory document for your focused project
Create a new travel advisor memory document and tell me how to use it. This should start empty and grow over time.
Create a new Project for conversations in that area. Add the provided usage instructions to your project context
Note: LLMs will, against all tool advice, occasionally fail to show you the installation instructions. If that happens, follow up with a request to the LLM to show you the installation instructions and it should comply.
New chat conversations start by checking the available info from the project's memory. Your LLM will update this memory over time to build up valuable context.
Optionally prompt your LLM to add/adjust the memory file on demand. It's also helpful to ask the LLM to prompt you for relevant info (e.g. "Ask me some questions to learn about my travel preferences")
npm install -g @nmeierpolys/mcp-structured-memory
git clone https://github.com/nmeierpolys/mcp-structured-memory.git
cd mcp-structured-memory
npm install
npm run build
Edit the claude_desktop_config.json file with the following entry:
{
"mcpServers": {
"mcp-structured-memory": {
"command": "npx",
"args": ["@nmeierpolys/mcp-structured-memory"]
}
}
}
Memory documents support any structure you need. The AI will help you organize sections based on your use case. Common examples:
User: "Create a new Minnesota trip memory document and tell me how to use it. This should start empty and grow over time."
Claude: "I've created a travel memory document for your Minnesota trip. As we discuss your plans, I'll automatically update it with destinations, timing, preferences, and other details I learn about your trip."
User: "I want to see fall colors, go hiking, try local cuisine, and visit both the North Shore and the Twin Cities."
Claude: "I've noted your priorities in the memory: fall foliage viewing, hiking opportunities, local restaurants, North Shore destinations, and Twin Cities attractions. I'll keep track of specific recommendations as we explore options."
[Later conversation]
User: "What hiking trails have good fall colors?"
Claude: "Based on our previous discussions, I see you're focused on fall colors in Minnesota. Let me suggest some trails and I'll add the best ones to your travel memory..."
The server automatically creates timestamped backups before major updates.
Memory document files are stored as markdown files in:
~/Library/Application Support/mcp-structured-memory/%LOCALAPPDATA%\mcp-structured-memory\~/.local/share/mcp-structured-memory/Please log in to share your review and rating for this MCP.
Explore related MCPs that share similar capabilities and solve comparable challenges
by modelcontextprotocol
A basic implementation of persistent memory using a local knowledge graph. This lets Claude remember information about the user across chats.
by topoteretes
Provides dynamic memory for AI agents through modular ECL (Extract, Cognify, Load) pipelines, enabling seamless integration with graph and vector stores using minimal code.
by basicmachines-co
Enables persistent, local‑first knowledge management by allowing LLMs to read and write Markdown files during natural conversations, building a traversable knowledge graph that stays under the user’s control.
by agentset-ai
Provides an open‑source platform to build, evaluate, and ship production‑ready retrieval‑augmented generation (RAG) and agentic applications, offering end‑to‑end tooling from ingestion to hosting.
by smithery-ai
Provides read and search capabilities for Markdown notes in an Obsidian vault for Claude Desktop and other MCP clients.
by chatmcp
Summarize chat messages by querying a local chat database and returning concise overviews.
by dmayboroda
Provides on‑premises conversational retrieval‑augmented generation (RAG) with configurable Docker containers, supporting fully local execution, ChatGPT‑based custom GPTs, and Anthropic Claude integration.
by qdrant
Provides a Model Context Protocol server that stores and retrieves semantic memories using Qdrant vector search, acting as a semantic memory layer.
by doobidoo
Provides a universal memory service with semantic search, intelligent memory triggers, OAuth‑enabled team collaboration, and multi‑client support for Claude Desktop, Claude Code, VS Code, Cursor and over a dozen AI applications.
{
"mcpServers": {
"mcp-structured-memory": {
"command": "npx",
"args": [
"-y",
"@nmeierpolys/mcp-structured-memory"
],
"env": {}
}
}
}claude mcp add mcp-structured-memory npx -y @nmeierpolys/mcp-structured-memory