Contextful MCP server
Efficient context management: code search, evidence packs, and memory for coding agents.
5 stars
Reviews
Write oneNobody has reviewed Contextful yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Contextful tools (7, 1 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
context_packReturn a ranked, cited, token-budgeted context pack so the agent can avoid broad file reads.
impact_analysisFind likely dependents and tests for a file, symbol, or module.
recall_memorySearch the evidence-backed memory ledger for lessons that survived previous agent sessions.
search_codeSearch code, docs, symbols, and stored context with lexical, symbol, and graph-aware ranking.
trace_pathTrace graph relationships between files, symbols, modules, and config nodes.
why_changedExplain why a file or symbol may have changed by combining current evidence with git history.
write_lessonwrite actionWrite an evidence-backed lesson to the memory ledger. Loose remember-this notes are rejected.
Public scan report
scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it
- Code scan30 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 128 days ago8/15
- Maintainer identityregistry namespace matches repository owner7/10
How Contextful compares
Against every graded Web search MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 80/100
- higher than 65% of 3,470 Web search servers
- Tools
- 7
- the typical Web search server has 5
- Tools that change things
- 14%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 5
- more than 80% of 1,786 Web search servers
What its tools let an agent do: 6 read · 1 create
Install Contextful in Claude Code, Cursor or VS Code
Runs npx -y @inferensys/contextful on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add contextful -- npx -y @inferensys/contextful
What the publisher says
From the Contextful repository's README, as published. We do not edit it. Read it on GitHub
Contextful
⚠️ This is in early alpha. The API, features, and integrations are not stable. Expect breaking changes. Feedback & contributions are very welcome!
Local Context Management + Search Engine + Memory for Agentic AI.
Contextful is a runtime contextual layer and local search engine for agents that gives them one fast way to find, compress, cite, and remember project context.
Available as a CLI-first tool with an MCP runtime bridge and generated agent instructions, it integrates seamlessly with Codex, Claude Code, Cursor, Windsurf, GitHub Copilot, VS Code, Cline, Roo Code, Continue, and Zed.
Instead of making an agent read 40 files every session, Contextful indexes the project once and returns a ranked, cited, token-budgeted context pack.
Why?
Context has always been a bottleneck for agentic AI. Large context window models (for example, 1M tokens) are:
- Expensive and require significantly more compute & processing time.
- More likely to lose key information as the context window fills up.
- Most projects have millions of lines of code, but agents can only fit in limited tokens per context window.
The current solution is to make the agent guess which files to read, then pay the token cost to read them every session. This is slow, expensive, and lossy.
Apart from this, agents have no way to store or share learnings across sessions. Every time they start, they forget everything and have to re-read the same context again.
I started developing Contextful to keep the context window smaller by enabling efficient knowledge retrieval. If we index the project and return a ranked, cited, token-budgeted context pack, we can:
- 100x more efficient token usage: stop paying tokens to re-read the same files.
- Fewer tool calls: one context pack can replace dozens of grep, glob, and read-file calls.
- No lost context between sessions: agents can store session learnings in an evidence-backed memory ledger.
- Shareable project knowledge: lessons and context packs survive context compaction and future sessions.
Key Features
1. Context Management
The default local store is SQLite with FTS-backed search and typed graph tables. V1 ships with:
- SQLite as the default local store.
- FTS5 lexical/BM25 search.
- Typed graph tables: nodes, edges, nodeprops, edgeprops.
- A hot adjacency cache for common graph relations.
- Deterministic structural fingerprints inspired by Code2Vec-style secondary reranking signals.
The next storage upgrades are optional semantic vectors through sqlite-vec, LanceDB, or local HNSW, and compressed adjacency lists with Roaring bitmaps or CSR arrays for larger repositories.
2. Search Engine
Contextful analyzes the query, classifies intent, and combines lexical search, symbols, docs, graph relationships, and memory hits to retrieve the right evidence. The goal is Google-level project search for agents: vague queries like "resources for auth onboarding" should still land on the right code, docs, and prior lessons.
3. Memory Ledger
Agents can store lessons, decisions, and useful project facts, but not as loose "remember this" notes. Every memory requires evidence refs from files, symbols, commits, or prior context packs. When the evidence changes, Contextful marks the memory stale.
4. Contextful Execution
Contextful is an MCP server, local indexer, and small CLI:
- MCP server: the agent interface.
- Local daemon / watcher: indexing, rebuilds, freshness, and future benchmarks.
- CLI (cxf): human setup, indexing, search, memory writes, and local smoke tests.
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Contextful: common questions
- Is Contextful MCP server safe?
- Mostly: it is graded B (80/100). Read the Contextful safety report
- How do I install Contextful?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Contextful need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Contextful maintained?
- The last commit was 165 days ago (2026-05-23). The latest release is v0.1.0.
- What can I use instead of Contextful?
- Servers from other publishers that do the same job: Misakanet MCP server, Repomix MCP server and Ref Tools MCP server.
- How does Contextful compare with other Web search MCP servers?
- safety score 80/100 (higher than 65% of 3,470 Web search servers); tools 7 (the typical Web search server has 5); tools that change things 14% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Contextful
Same job from other publishers: the closest match first, then the best rated.
- MisakanetFailure-memory layer for coding agents: search evidence-rated failure lessons by error text.not reviewedEstablishedA
- RepomixPack local or remote codebases into AI-friendly files that LLMs and coding agents can read or searchnot reviewedWidely usedA
- Ref ToolsToken-efficient search for coding agents over public and private documentation.not reviewedEstablishedA
- Ref ToolsToken efficient search for coding agents over public and private documentation.not reviewedGrowingC
Bitbybit CAD MCPBitbybit 3D parametric CAD API, version-exact, for coding agents: search, describe, examples, guidenot reviewedEstablishedA