chittam-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Chittam (चित्तम्)
One local memory for all your AI coding agents.
Chittam indexes your repositories, notes, PDFs, screenshots, and past agent conversations on your own machine, then lets Antigravity, Codex, and Claude Code search all of it through one MCP server. Nothing leaves your computer unless you explicitly opt in.
Chittam (Sanskrit citta) is the part of the mind that stores impressions and memories.
The problem
If you use more than one AI coding agent, you have probably hit these:
Problem | What it looks like |
Agents forget | Yesterday you designed something with Claude Code. Today Codex has no idea it happened. |
Stale copies win | You have |
| "Where did we handle login retries?" has no exact keyword to search for. |
Images are invisible | Architecture diagrams and UI screenshots hold answers no text search can see. |
Memory tools leak or bloat | Auto-injected memory breaks prompt caching, and naive indexers happily index |
Related MCP server: Sugar Memory
What Chittam does
Scans the folders you choose, plus your Antigravity, Codex, and Claude Code histories.
Blocks secrets and private folders before reading them (
.env, keys, tax folders, credential files).Understands text, code, PDFs, and images, using local models through Ollama.
Ranks active projects above old copies by tracking every git repo as
active,reference, orarchive.Serves compact search results over MCP, only when an agent asks, so prompt caches stay intact.
flowchart TD
A["Your folders: repos, notes, PDFs, images"] --> G
B["Agent histories: Antigravity, Codex, Claude Code"] --> G
G{"Privacy gate: skip secrets and private folders"} --> P
P["Parse and chunk: code, markdown, PDF, image captions"] --> M
M["Local models via Ollama: text embeddings + vision captions"] --> S
S[("SQLite index: keyword + vector + project atlas + decisions")] --> Q
Q["Hybrid search: keyword + meaning, active projects first"] --> MCP
MCP["Pull-only MCP server: chittam-mcp"] --> H1["Antigravity"]
MCP --> H2["Codex"]
MCP --> H3["Claude Code"]More detail: docs/ARCHITECTURE.md.
Built on existing tools, not a rewrite
Chittam doesn't rebuild what already works well. It connects existing tools and fills the gaps between them.
Tool | What it's great at | Where Chittam fits |
Exact matches in the current repo | Agents keep using it for known symbols | |
Call graphs and symbol relationships | Installed alongside Chittam as a second MCP server | |
Very small vector indexes | Optional export target ( | |
Hybrid search over markdown notes | Same hybrid idea, extended to code, images, and agent threads | |
Automatic session memory | Chittam is pull-only, so it never rewrites your prompt |
What Chittam adds: cross-agent recall, active-vs-archived project ranking, image and PDF understanding, decision history, and a strict privacy gate, in one local index.
Quick start (about 5 minutes)
Requirements: macOS or Linux, Python 3.11+, uv, Ollama. Any Apple Silicon Mac or a machine with about 8 GB of free RAM works.
# 1. Install
git clone https://github.com/VAMFI/chittam.git
cd chittam
uv sync
# 2. Pull the local models (about 2.5 GB total)
ollama pull embeddinggemma:latest # text embeddings
ollama pull qwen3-vl:2b # image understanding
# 3. Check everything works, without touching your files
uv run chittam benchmark --synthetic
# 4. Create your config, then edit which folders to scan
uv run chittam init
# -> ~/.config/chittam/config.yaml (see docs/HOW_TO.md#2)
# 5. Build the index
uv run chittam sync
# 6. Try a search
uv run chittam search "where do we handle login retries"Connect your agents (backs up every config file first):
uv run chittam install-harnesses # Antigravity + Codex + Claude Code
uv run chittam install-launchd # macOS: re-sync every 30 minutesUndo at any time with uv run chittam uninstall-harnesses and uv run chittam uninstall-launchd.
Optional companions:
npm install -g @colbymchenry/codegraph # structural code graph MCP
uv tool install leann-core --with leann # compact vector index exportCommands
Command | What it does |
| Create config, database, and project atlas |
| List discovered git repos and their tier |
| Incremental index update (only changed files are re-processed) |
| Hybrid search ( |
| Record a decision (replaces the previous one on that topic) |
| List current decisions |
| Index size, counts, background sync status |
| Wire or unwire MCP in all three agents |
| Enable or disable scheduled sync (macOS) |
| Measure retrieval quality and privacy leakage |
| Run the MCP server on stdio |
MCP tools
Tool | Use it when an agent needs to... |
| Find something by meaning across code, docs, PDFs, images, and threads |
| Read the full text around a search hit |
| Know which copy of a project is the current one |
| Recall what was discussed in earlier Antigravity, Codex, or Claude Code sessions |
| Save an architectural decision so future sessions respect it |
| Check that the index exists and is fresh |
Agents are told when to use these through a short rule: docs/ROUTING_RULE.md.
Measured results
Reproducible on any machine with uv run chittam benchmark --synthetic (14 fixture documents plus 3 private files that must be blocked):
Metric | Result |
Recall@5 | 1.0 (13/13 queries) |
MRR | 0.95 |
Privacy leakage | 0 (3/3 private fixtures blocked at ingest) |
On a real developer machine (M4 Pro, 24 GB) with about 31,000 documents and 330,000 chunks, a personal 15-query set scored Recall@5 1.0 and MRR 0.94, with p50 latency around 380 ms. See the FAQ for honest caveats.
Documentation
Doc | For |
How it works and why each piece exists | |
Setup, privacy config, agents, decisions, cloud opt-in, extending | |
Plain-English answers, including limitations | |
The short instruction agents follow | |
Development workflow |
License
MIT © VAMFI Inc.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Shared memory for coding agents. Stop re-explaining your codebase every session.
Give your AI agent a persistent map of your project's structure, dependencies, and bugs.
The context platform for AI agents: code search, team decisions, and grounded project context.
The second brain your AI agents share. It builds itself from your work and keeps itself current.
Related MCP Servers
- AlicenseBqualityBmaintenanceEnables AI coding agents to build and query local repository memory, returning ranked files, context packs, relationship maps, semantic recall, and feedback-tuned search without uploading code.960 PyPI1MIT
- FlicenseNot gradedqualityAmaintenanceProvides AI coding agents with a local-first persistent memory layer they can read and write during sessions, storing decisions, preferences, error patterns, and research per project or globally. Enables semantic and keyword search, formatted context recall, and cross-project guideline surfacing without API keys or cloud storage.-
- FlicenseNot gradedqualityAmaintenanceEnables AI coding agents to store and retrieve persistent project and cross-project memories via semantic search, so decisions, preferences, error patterns, and guidelines survive across sessions. Optionally supports autonomous task execution built on the same local-first knowledge store.-
- AlicenseNot gradedqualityBmaintenanceEnables AI coding tools to query a local index of documents, code, and crawled web pages using hybrid keyword and semantic search with re-ranking, plus knowledge graph, memory, and agent workflow tools. It also lets clients trigger source syncing and ingestion so context stays current.Business Source 1.1