FAISS, call graph, AST, BM25 — 34 MCP tools for AI agents. 50-80% token reduction. Offline.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"cognirepo-myproject": {
"env": {},
"args": [
"serve",
"--project-dir",
"/abs/path/to/myproject"
],
"command": "cognirepo"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
mcp-name: io.github.ashlesh-t/cognirepo > Persistent memory and context for any AI tool. Not a chatbot — infrastructure.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
uvx 'pipx' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked pipx against OSV.dev.
Click any tool to inspect its schema.
last_contextPersistent context file for cross-agent handoff between Claude, Gemini, and Cursor
last_context.json
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in ai-ml
Dynamic problem-solving through sequential thought chains
Persistent memory using a knowledge graph
An autonomous agent that conducts deep research on any data using any LLM providers
🌊 The leading agent orchestration platform for Claude. Deploy intelligent multi-agent swarms, coordinate autonomous workflows, and build conversational AI systems. Features enterprise-grade architecture, distributed swarm intelligence, RAG integration, and native Claude Code / Codex Integration
MCP Security Weekly
Get CVE alerts and security updates for io.github.ashlesh-t/cognirepo and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
mcp-name: io.github.ashlesh-t/cognirepo
Persistent memory and context for any AI tool. Not a chatbot — infrastructure.

lookup_symbol returns file:line very quickly — grep takes 2–8 seconds. On Python repos ≥ 15K LOC, CogniRepo cuts AI coding agent token usage by 50–80% compared to raw file reads — benchmarked on Flask, FastAPI, Celery, and Ansible (1,800+ files). Works with Claude Code, Cursor, and Gemini CLI. Fully offline. No API keys required for indexing or any of the 34 MCP tools.
Every AI conversation starts from zero. Claude, Cursor, Gemini — none of them remember what you fixed yesterday, which files relate to which features, or what decisions were made last sprint. CogniRepo fixes that.
It sits between your codebase and any AI tool, providing:
Every AI tool that connects gets the same accumulated project knowledge. Memory persists across sessions, across tools, across time.
Most effective on codebases ≥ 15K LOC. On small repos (< 10K LOC), native file reads are fast enough that the MCP tool schema overhead (~4,100 tokens for 34 tools) takes more than you save. Break-even is roughly 4 tool calls on a medium-sized repo.
CogniRepo vs. claude-context / similar tools:
| Feature | CogniRepo | claude-context / similar |
|---|---|---|
| Pure code retrieval | ✓ (FAISS + graph + AST) | ✓ Often faster on first use |
| Episodic memory (what happened last sprint) | ✓ Persistent BM25 + vector | ✗ |
| Cross-agent handoff (Claude → Gemini → Cursor) | ✓ last_context.json shared | ✗ |
| User behaviour profile (adapts depth/style) | ✓ get_user_profile() | ✗ |
| Error pattern avoidance (learns from past fails) |