Content-addressed code graph with 22 MCP tools for AI agents.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Knowing.
untrack_repoEvict all data for a repository (nodes, edges, files, snapshots, feedback, task memory, graph notes)
Self-adapting code intelligence engine. Observes its own graph density and adjusts retrieval strategy automatically. 38 edge types, 28 MCP tools, 263 equivalence classes, cryptographic proofs. Gets smarter with scale, not dumber.
[!NOTE] Built on published research: Content-Addressing as a Computation Primitive for Software Relationship Intelligence (DOI: 10.5281/zenodo.20342255)
Your architecture diagram says service A calls service B. Can you prove it?
knowing can. It builds a content-addressed graph of extracted code relationships, snapshots it as a Merkle tree tied to a git commit, and generates cryptographic proofs that verify offline. Agents use it for ranked context. Security teams use it for audit. Platform teams use it to compare code against production traces.
It gets better every time you use it. When code changes, stale knowledge expires automatically.
That's it. The MCP server auto-indexes your repo on first launch. No model downloads, no API keys. Your agent now has ranked context, blast radius, test scope, and implicit noise demotion that improves results during active sessions.
Verify it works: Ask your agent: "Use the context_for_task tool to find symbols related to [something you know exists in your code]." You should see ranked symbols with scores and file paths from your codebase. If results are empty, the repo is still indexing (10-30 seconds on first launch). If results seem unrelated, see Troubleshooting.
Not using an AI agent? Skip to CLI usage below.
| You want to... | Start here |
|---|---|
| Give your AI agent graph-ranked context | MCP setup |
| Explore the graph from the CLI | CLI usage |
| Understand how retrieval works | Introduction |
| Audit with cryptographic proofs | Audit & Compliance |
knowing is three products built on one foundation (content-addressed graph with hierarchical Merkle trees):
1. Context engine for AI agents One call returns the most relevant symbols for a task, ranked by graph centrality, recency, and learned usefulness, packed to fit your token budget. 263 framework equivalence classes bridge vocabulary gaps when keywords fail. 47% fewer tool calls. 84% fewer tokens. Results improve with feedback.
2. Audit primitive for compliance
Every graph state is a Merkle root tied to a git commit. knowing prove generates a cryptographic proof that a relationship existed. knowing verify checks it offline. knowing fsck verifies the entire graph in 98ms. Supply chain detection extracts credential access, process spawning, and network exfiltration edges to flag structurally suspicious code.
3. Noise demotion that learns Symbols returned but never used by the agent get demoted on future queries. When code changes, feedback expires automatically (verified via package Merkle roots). The system gets more precise during active sessions. That is the property knowing is built around.
These aren't separate features. They're structural consequences of content-addressing: the same hash that makes context cacheable also makes it provable, and the same Merkle root that detects staleness also expires stale feedback.
For your agent:
For your platform team:
For your security team:
knowing audit -proofs, one command)knowing audit-supply-chain --scan-all)| What | Result |
|---|---|
| Cross-system retrieval | P@10=0.330 cold start (302 tasks, 17 repos, 8 languages) |
| vs competitors | 3.79x codegraph (19K stars), 6.00x GitNexus, 6.35x Gortex, 22.0x grep |
| Equivalence classes | 277 hand-curated + learned from usage, bridging vocab to symbols (+57% P@10) |
| Noise demotion | Per-cluster implicit feedback: R@10 +5.2%, MRR +12.6% (Django 5 rounds) |
| Tool calls saved | 47% fewer (one context call replaces repeated grep+read) |
| Token savings | 84% fewer tokens (GCF wire format) |
| Repeat query speed | 93x faster (Merkle-keyed subgraph cache) |
| Merkle diff | 517x faster than full edge scan at 100K edges |
| Test scope | 98% precision, 82% recall |
| Graph integrity check | 98ms (24,936 edges) |
| Proof generation | 72us generate, 1.2us verify |
| Feedback expiration | 100% expire on code change, 11% overhead |
| Indexing throughput | 16 repos (8 languages) in ~60s |
| Language coverage | 16/16 repos pass (Go, Python, TS, Rust, Java, C#, Ruby, multi) |
| Edge types | 38 (including supply chain: reads_env, executes_process) |
All benchmarks are reproducible. The cross-system benchmark (P@10=0.330) uses 17 repos pinned to exact commits with a corpus manifest and setup script for full from-scratch reproduction. See METHODOLOGY.md for protocol details.
After indexing, run these commands to confirm everything is working:
If knowing stats shows zero nodes or very few edges, see
Troubleshooting below.
For the full command reference, see CLI Reference.
Add the MCP server to your agent. The config is the same everywhere; only the file path differs.
| Agent | Config file |
|---|---|
| Claude Code | .mcp.json (project root) or ~/.claude/mcp.json (global) |
| Cursor | .cursor/mcp.json |
| Windsurf | ~/.codeium/windsurf/mcp_config.json |
| VS Code (Copilot, Continue, Cline, Roo) | .vscode/mcp.json |
| Zed | ~/.config/zed/settings.json under "context_servers" |
| Codex (OpenAI) | codex.json or --mcp-config flag |
| JetBrains | Settings > Tools > MCP Servers |
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/knowing)<a href="https://allmcps.com/mcp/knowing"><img src="https://allmcps.com/api/badge/knowing?style=directory" alt="Knowing on AllMCPs" /></a>