Context Mem MCP Server

Memory + context infrastructure for AI agents. LLM Wiki auto-sync, 15 content-aware summarizers, hybrid search (BM25 + vector + optional LLM judge)

Local serverstdioPython

What is the Context Mem MCP Server?

Memory + context infrastructure for AI agents. LLM Wiki auto-sync, 15 content-aware summarizers, hybrid search (BM25 + vector + optional LLM judge), entity

What you get

Two problems with today's AI tooling that no one has solved together in a single package.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
observeStore observation with auto-summarization, importance scoring, entity extraction, topic detection
recallRetrieve verbatim content by filter (importance, type, flag, time)
searchHybrid search (BM25 + vector + optional LLM judge)
askNatural language Q&A over the full memory store
timelineReverse-chronological observations with importance badges and flags
statsToken economics for current session (raw vs. compressed)
save_knowledgeSave a knowledge entry with contradiction detection + temporal validity windows
search_knowledgeSearch (superseded entries filtered by default)
promote_knowledgePromote to global cross-project store
global_searchSearch across all projects simultaneously
resolve_contradictionResolve knowledge conflicts (supersede / merge / keep / archive)
merge_suggestionsView cross-project duplicate suggestions
graph_queryTraverse entity relationships
add_relationshipLink entities with typed relationships
graph_neighborsFind connected entities (configurable depth)
temporal_queryQuery what was true at a specific point in time
time_travelCompare project state at two arbitrary timestamps
explain_decisionWalk evidence chain backward to reconstruct why a decision was made
predict_lossIdentify observations at risk of compression/deletion
generate_storyGenerate PR description, standup update, ADR, or onboarding guide
entity_detectDetect entities in arbitrary text
find_tunnelsFind cross-project topic connections
wake_upToken-budgeted context primer for session start
restore_sessionRestore session from checkpoint
handoff_sessionCross-session continuity package
agent_registerRegister an agent with role and capabilities
agent_statusCheck all active agents and their claimed resources
claim_filesClaim files to prevent parallel-agent conflicts
agent_broadcastBroadcast a finding to all agents in the project
configureUpdate runtime configuration
summarizeSummarize content without storing (one-shot)
executeRun code (JS, TS, Python, Shell, Ruby, Go, Rust, PHP, Perl, R, Elixir)
index_contentIndex with code-aware chunking
search_contentSearch indexed chunks
import_conversationsImport conversation history
browseRetrieve observations by person, entity, or topic
diagnosticsError log, pipeline stats, storage health

How to install the Context Mem MCP Server

{
  "mcpServers": {
    "context-mem": {
      "command": "npx",
      "args": [
        "context-mem",
        "serve"
      ],
      "env": {}
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Example prompts to try

  • “Use Context Mem to Benchmark.”
  • “Use Context Mem to LongMemEval.”
  • “Use Context Mem to LoCoMo.”

Frequently asked questions

Memory + context infrastructure for AI agents. LLM Wiki auto-sync, 15 content-aware summarizers, hybrid search (BM25 + vector + optional LLM judge), entity Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.