CODE-
DAEMONMCP
Code intelligence for AI agents — local, GPU-accelerated, one daemon for all your agents.
Code-Daemon is an MCP server that gives your AI coding agent a real understanding of your codebase: a code graph, semantic search, impact analysis, call tracing, safe refactoring, security scanning and auto-generated documentation. Everything runs on your machine — your code never leaves it.
- EXECUTION
- LOCAL
- DAEMONS PER MACHINE
- 1
- AGENTS DETECTED
- 9
- LANGUAGES
- 13 + JSON/CSS/SQL
- PLATFORMS
- WIN · LINUX · MACOS
Download
What happens when you run it
Unpack the archive to a permanent folder and run code-daemon-core once. It will:
-
2.1
Register the MCP server in your AI agents.
Installed agents are detected automatically and Code-Daemon is added to each one's MCP config:
Claude CodeCodex CLIGemini CLICopilot CLIVS CodeCursorWindsurfZedOpenCode -
2.2
Download the inference runtime that fits your GPU
From
cdn.code-daemon.com— TensorRT or CUDA builds matched to your NVIDIA architecture, OpenVINO for Intel CPU / iGPU / NPU, Vulkan for AMD GPUs. Only the pack your hardware needs is fetched. -
2.3
Download the models
From huggingface.co/faxenoff — Code-Daemon's own distilled models: code embeddings, a search reranker, a relation classifier and small local LLMs for summaries and documentation.
Then restart your AI agent. That's it — indexing starts automatically the first time the agent opens a project, and a file watcher keeps the index current as you edit.
One daemon, many agents
UNIX SOCKET▶
Hardware
MINIMUM: 8 GB RAM. Windows 10+ (x64), Linux (x64), macOS on Apple Silicon.
4.1How long does it take? A 1M-line project
Approximate first-time figures for a project of ~1 million lines of code (60 000–120 000 functions, classes and methods, depending on the language — the figures assume ~90 000) with an ordinary amount of documentation: a README and a docs folder of 100–150 pages plus its git history (~5 000 text chunks). Docgraph time grows with the documentation, not the code. The figures are extrapolated from our own measured runs on real repositories, so treat them as orders of magnitude, not guarantees. On Windows and Linux the discrete GPU and OpenVINO (iGPU / NPU / CPU) work in parallel.
- Code index — parsing, code graph and embeddings. Search, navigation, tracing and impact analysis work as soon as it is done.
- Docgraph — knowledge graph over docs and commits (entity extraction, relations, topic summaries).
- AutoDoc — a local LLM writes documentation for every module. It runs in the background and never blocks the tools; after the first pass only changed modules are re-documented.
- On an Intel-only machine docgraph summaries and AutoDoc are not available yet: they need a local LLM, which runs on NVIDIA, AMD or Apple GPUs.
- On Apple Silicon the embeddings, the search reranker and the docgraph relation model run on the Neural Engine; the LLM runs on the GPU. A fanless MacBook Air slows down under hours of load, and the AutoDoc figure for it already includes that; a MacBook Pro keeps its speed.
- After the first pass, edits are indexed incrementally — only the changed files are re-processed.
Features
5.1Search
- Semantic search — find code by what it does, not by what it is called. Hybrid vector + text + graph ranking, with a local reranker on top.
- Indexed grep — trigram-indexed literal and regex search across the whole project, instantly.
- Symbol lookup — find entities by name or name pattern; list everything a file defines.
- Similar code — nearest neighbours of a function by meaning, even with different names.
- Cross-language search — one query across every language in the repo, grouped by language.
- Related concepts — search hits plus their most important graph neighbours.
- Knowledge search — one answer combining code, project docs and git history.
5.2Navigation & code graph
- Code graph — entities (functions, classes, methods, modules) and their relationships: calls, imports, inheritance, containment.
- Entity relationships — every incoming and outgoing edge of a symbol.
- Graph metrics — PageRank, betweenness, communities, bus factor.
- Architecture diagrams — Mermaid / Graphviz / D2, generated from the real graph.
- Architecture layers & tech stack — detects API / service / data / UI layers, languages, frameworks and tooling.
- Surprising links — non-obvious cross-module connections, each with an explanation.
5.3Tracing & debugging
- Trace flow — the execution path from A to B, as a diagram.
- Who calls this — all callers of a function; also answers “why is this never called?”.
- Data-flow tracing — how a value moves through call chains.
- Variable tracing — where a variable is assigned and under which conditions.
- Stack-trace analysis — paste a stack trace, get it mapped onto your indexed code.
- Decision points — the dispatch hubs on a flow, where one function fans out to many.
5.4Impact analysis
- Change impact — what breaks if you change a symbol: dependents, depth, risk.
- “Does X affect Y?” — a direct yes / no instead of the whole dependency closure.
- Public-API impact — breaking-change risk for exported APIs.
- OpenAPI / Swagger impact — which code is touched by a spec change.
- State impact & state chaos — shared mutable state, god objects, circular dependencies.
5.5Refactoring & editing
- Structural edits — replace a whole entity by name, search-replace, or edit a line range. Dry-run preview by default.
- Rename symbol — project-wide, word-boundary safe.
- Batch modify / batch rename — mass changes with filters and preview.
- File operations — create, copy, rename, split and merge files; add members to a class.
- Change history — every edit is snapshotted: list, diff, step back, step forward.
- Refactoring suggestions — ranked by complexity and coupling.
5.6Code quality
- Duplicate detection — structural duplicates and token-level clones.
- Hotspots — the most complex and most coupled code.
- Design patterns & anti-patterns — framework-aware (Angular, Spring, Django, Express, …).
- Validation — lint a file or a whole directory.
5.7Security
- Security scan — SQL injection, XSS, hard-coded secrets, dangerous functions.
- Taint analysis — source-to-sink flows for SQLi, XSS, command injection, path traversal and SSRF, each with a confidence level.
- Library contract checks — flags API misuse against known library contracts.
5.8Documentation & knowledge
- AutoDoc — module documentation generated by a local LLM and kept in sync with the code as it changes. Output in English, Russian, German, French, Spanish, Chinese or Japanese.
- Onboarding tour — a guided walkthrough of the codebase for new developers.
- Changelog — generated from git history.
- Knowledge graph — project docs and commits indexed and linked to the code they describe.
- Review questions — what a reviewer or newcomer should ask, drawn from the graph.
5.9Git & collaboration
- Review context — for changed files: affected entities and what can be skipped.
- Semantic merge — three-way merge that understands code structure; merge-conflict preview and merge suggestions across branches.
- Worktrees for parallel agents — spawn, list and clean up git worktrees so several agents can work side by side.
- Compressed shell — run tests, git and build commands with output summarised for the agent.
5.10Operations
- Automatic indexing — incremental on every file change, full on branch switch.
- Scheduler & GPU manager — models are loaded and evicted to fit your VRAM.
- Status & metrics — index health, graph statistics, per-tool latency, memory and DB sizes.
Languages — how deep the parsing goes
Every number below is measured, not claimed: each language is indexed on real open-source projects and compared against the language's own compiler-grade indexer (SCIP: scip-typescript, scip-python, scip-go, scip-java, rust-analyzer, scip-clang, Roslyn, ZLS; Swift, which has no SCIP indexer, against the Swift compiler's own index store).
source · no reference indexerWhere a language was measured on several projects, the number is the average across them.
Also indexed: JSON, CSS, SQL (schemas and embedded SQL), plus project docs (Markdown) and git history for the knowledge graph.
Privacy
Your code is parsed, embedded and searched locally, by local models.
Code-Daemon itself goes online only once, during installation, to download runtimes (cdn.code-daemon.com) and models (huggingface.co/faxenoff).