-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Amine Troudi edited this page Apr 25, 2026
·
2 revisions
Semantic code search, long-term memory, and blast radius analysis for AI coding agents.
ContextGraph gives Claude Code and Cursor a persistent understanding of your codebase — so you spend less time re-explaining context and more time shipping.
-
Index your project once (
cograph index) — ContextGraph parses TypeScript, JavaScript, Python, and Markdown into a local SQLite database with embeddings and a dependency graph. -
Connect your editor — Claude Code and Cursor call MCP tools (
search_context,analyze_impact, etc.) automatically as you work. - Remember — learnings and checkpoints persist across sessions so the agent picks up where you left off.
| Page | What's covered |
|---|---|
| Installation | Installing cograph globally with Bun |
| Claude Code Setup | Registering MCP servers for Claude Code (stdio) |
| Cursor Setup | Running HTTP servers for Cursor |
| Indexing | How indexing works, what gets parsed, re-indexing |
| Memory and Checkpoints | Saving learnings and session snapshots |
| Blast Radius | Dependency impact analysis before editing shared files |
| Embedding Backends | Local (default), Ollama, OpenAI |
| CLI Reference | All cograph commands and flags |
| Troubleshooting | Common issues and fixes |
# Install
bun install -g @loosilo/contextgraph-cli
# Register with Claude Code
cograph register
# Index your project
cograph index /path/to/your/projectOpen a new Claude Code session — the MCP tools are ready.
| Package | Description |
|---|---|
@loosilo/contextgraph-cli |
The cograph CLI |
@loosilo/contextgraph-mcp |
MCP server — search, memory, checkpoints |
@loosilo/blastradius-mcp |
MCP server — dependency impact analysis |
@loosilo/contextgraph-core |
Core library (indexing, embeddings, graph) |