Try “Claude Code skills”, “MCP servers for Cursor” or “Codex” · Esc to close

MCP Memory Service 🔌 MCP server Open source

Self-hosted persistent memory for coding agents with semantic search and a knowledge graph

Docs & code context MCP servers · Open source ★ 2.0k · +15 this week · Apache-2.0 · updated 2026-10-02

7.6editor score
Visit MCP Memory Service ↗
GitHub stars
2.0k
Stars this week
+15
Forks
340
Licence
Apache-2.0
Last push
2026-10-02
Maintainer
doobidoo
Installclaude mcp add memory -- memory server

Third-party MCP servers run with your permissions. Read the source before installing, and prefer pinned versions.

Works with

Built on the open MCP standard, so it works in every app that supports MCP.

About MCP Memory Service

What it does

MCP Memory Service gives coding agents a long-term memory that lasts between sessions. The agent can save a decision, a code pattern or an architecture note in one conversation and find it again later with semantic search. That saves you re-explaining the project every time. Memories are stored with tags and embeddings, which are computed locally with ONNX. They can be linked in a knowledge graph with typed relationships, and a consolidation job compresses older entries. The same service also exposes a REST API and a web dashboard. This lets several agents, or frameworks such as LangGraph and CrewAI, share one memory store. It is a Python project under Apache-2.0 with frequent releases.

Tools it gives your agent

  • Core memory: memory_store, memory_search, memory_list, memory_update, memory_delete, memory_store_session
  • Maintenance: memory_consolidate, memory_cleanup, memory_quality, memory_health, memory_stats
  • Knowledge: memory_graph, memory_explore, memory_conflicts and memory_resolve for relationships and contradictions
  • Ingestion: memory_ingest for documents and memory_harvest for pulling learnings out of sessions
  • Mistake notes: add, search and update notes about past errors so the agent doesn't repeat them

Works with

By default it runs locally over stdio. An HTTP mode adds the REST API and dashboard, and a Streamable HTTP mode with OAuth supports remote clients such as claude.ai connectors. The README lists Claude Code, Claude Desktop, Cursor, Windsurf, VS Code, Codex CLI, Gemini CLI, OpenCode (as a plugin), Goose, Zed, Amp and others.

How to connect

pip install mcp-memory-service
claude mcp add memory -- memory server

Cost and limits

It is free. By default it uses a local SQLite-vec store. Cloudflare, hybrid and Milvus backends are optional and can cost money; the changelog mentions one release that burned through a Cloudflare free-tier allowance. The default embedding model only handles English, and switching models means re-embedding what you already stored.

Safety notes

It binds to 127.0.0.1 by default. If you expose it with 0.0.0.0 or a tunnel, use HTTPS and OAuth. Don't use MCP_ALLOW_ANONYMOUS_ACCESS outside local testing. Recent releases fixed several serious auth advisories, so stay on the latest version. The agent can also delete memories, so back up the database.

memory semantic-search knowledge-graph rest-api self-hosted

Pros

  • Local-first with on-device ONNX embeddings
  • MCP, REST API and dashboard share one store across agents
  • Very active releases

Cons

  • Large surface area; several serious auth advisories fixed recently
  • Default embedding model is English-only

Context7 🔌 MCP serverFreemium

Up-to-date, version-specific library documentation for your coding agent

★ 63k · +180 this week

MCP Python SDK 🔌 MCP serverOpen source

The official Python SDK for building Model Context Protocol servers and clients

★ 24k · +55 this week

8.5 Visit ↗

Serena 🔌 MCP serverFree

Semantic code retrieval and editing toolkit for agents, powered by language servers

★ 30k · +146 this week

Codebase Memory MCP 🔌 MCP serverOpen source

Local knowledge graph of your repo so agents query call chains instead of grepping files

★ 46k · +765 this week

7.8 Visit ↗

pg-aiguide 🔌 MCP serverOpen source

MCP server and skills giving coding agents versioned PostgreSQL and TimescaleDB expertise

★ 1.9k · +7 this week

Grounded Docs MCP Server 🔌 MCP serverOpen source

Self-hosted, version-specific documentation index for coding agents, an open Context7 alternative

★ 1.8k · +21 this week

7.6 Visit ↗

Popular searches