NervaPack MCP server
io.github.ramdhavepreetam/nervapack·v0.5.8·1 starsOffline codebase knowledge graph: 91% token reduction vs naive RAG, plus cross-session agent memory.
1 stars
Reviews
Write oneNobody has reviewed NervaPack yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
NervaPack tools (21)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
exploreList entities (classes, functions, imports) in the knowledge graph.
graph_statusReturn the current state of the NervaPack knowledge graph.
impactPerform impact analysis (reverse dependency search).
memory_aboutReturn all current memories linked to a named entity.
memory_clear_sessionTombstone or hard-purge all nodes belonging to a session.
memory_end_sessionClose the current session with an outcome summary and queue consolidation.
memory_for_codeReturn memories that TOUCH a given source file, optionally at a specific line.
memory_forgetTombstone (soft-delete) or hard-purge memory nodes.
memory_importBulk-seed memory from a list of node specs.
memory_list_sessionsList all sessions with node counts, newest first.
memory_recallRetrieve the most relevant memories for a query within a token budget.
memory_start_sessionOpen a named session. Returns the session ID and whether it was newly created.
memory_statsReturn node counts by kind, DB size, top entities by degree, and all namespaces.
memory_storePersist a new memory node.
memory_switch_namespaceSwitch the active namespace. Resets the active session.
memory_timelineChronological trace of all memories matching a topic, including superseded ones.
memory_to_codeReturn code locations (file + line range) that a memory node TOUCHES.
memory_verifyConfirm or refute a memory node, adjusting its confidence.
memory_verify_stalenessScan TOUCHES edges and flag memories whose source file changed since they were stored.
memory_whyExplain a decision: show rationale, rejected alternatives, and caused outcomes.
queryQuery the NervaPack knowledge graph for relevant code context.
Public scan report
scanner v0.1.9 · 2026-09-26 · same rubric, same numbers if you re-run it
- Code scan42 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 33 days ago12/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How NervaPack compares
Against every graded AI and agents MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 88/100
- higher than 80% of 4,460 AI and agents servers
- Tools
- 21
- the typical AI and agents server has 6
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 1
- more than 50% of 2,711 AI and agents servers
What its tools let an agent do: 21 read
Install NervaPack in Claude Code, Cursor or VS Code
claude mcp add nervapack -- uvx nervapack
What the publisher says
From the NervaPack repository's README, as published. We do not edit it. Read it on GitHub
NervaPack
<!-- mcp-name: io.github.ramdhavepreetam/nervapack -->
NervaPack is a privacy-first, offline knowledge graph for your codebase. It solves two fundamental problems with standard Vector RAG:
- Token waste — chunk-based RAG retrieves blobs of text that may only tangentially relate to your query, bloating your context window.
- Privacy risk — sending code to cloud embedding APIs leaks your proprietary logic.
NervaPack runs 100% on your machine. It uses tree-sitter to parse your codebase into a deterministic Abstract Syntax Tree graph, then uses a local Ollama model to draw hard semantic edges between your documentation and your code. Queries traverse this graph with a K-Hop BFS, returning a hyper-targeted, token-efficient context window — no cloud required.
Verified Performance
91.2% Average Token Reduction — independently verified on real-world codebases.
Cost Savings: $181–$724 per developer per year (GPT-4o to Claude Sonnet)
📊 View Full Benchmarks · 🧪 Messy Code Performance
Code quality impact: 90–99% reduction on clean code, 50–75% on legacy/messy code. Even poorly structured codebases benefit significantly.
Why NervaPack vs. standard Vector RAG
Prerequisites
- Python 3.10+
- Git — your project must be a git repository (git init if not)
(Optional for semantic code-doc binding) — an LLM provider. Structural graph indexing and basic queries work out-of-the-box with zero configuration and no cloud connection.
Installation
# Recommended
pip install nervapackShortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
NervaPack: common questions
- Is NervaPack MCP server safe?
- Yes, by our scan: it is graded A (88/100). Read the NervaPack safety report
- How do I install NervaPack?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does NervaPack need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is NervaPack maintained?
- The last commit was 72 days ago (2026-08-24). The latest release is v0.5.8.
- What can I use instead of NervaPack?
- Servers from other publishers that do the same job: Total Agent Memory MCP server, Basic Memory MCP server and IWE (iwe.md) MCP server.
- How does NervaPack compare with other AI and agents MCP servers?
- safety score 88/100 (higher than 80% of 4,460 AI and agents servers); tools 21 (the typical AI and agents server has 6); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to NervaPack
Same job from other publishers: the closest match first, then the best rated.
- Total Agent MemoryPersistent local memory for coding agents: temporal knowledge graph, procedural and episodic recallnot reviewedEstablishedA
- Basic MemoryLocal-first knowledge management with bi-directional LLM sync via Markdown files.not reviewedWidely usedB
- IWE (iwe.md)Markdown knowledge base as agent memory. Runs against the notes directory it is started in.not reviewedEstablishedA
- MCP AutoMemGraph-vector memory for AI assistants using FalkorDB and Qdrantnot reviewedEstablishedC
- CommonlyRead Commonly pods and post as a Commonly agent you create, with a token from your Commonly account.not reviewedEstablishedA