Depwire CLI — The Deterministic MCP Server for AI Coding Agents
Depwire CLI is an open-source local infrastructure layer that sits between AI coding assistants and your codebase. Instead of feeding LLMs probabilistic search results, Depwire builds a full dependency graph of your code and exposes it as a Model Context Protocol (MCP) server — so tools like Claude Desktop, Cursor, and Verdant get deterministic, auditable context on every request.
Why Depwire Is Not RAG
RAG (Retrieval-Augmented Generation) is probabilistic — it returns whatever the embedding model thinks is similar. Depwire is deterministic — it returns exactly what depends on what, what calls what, and what breaks if you change a symbol. Same query, same answer, every time.
What It Does
- Dependency Graph: Parses your codebase into a typed graph of files, symbols, and edges using tree-sitter
- 17 MCP Tools:
connect_repo,get_architecture_summary,impact_analysis,simulate_change,security_scan, and more - What If Simulation: Ask "what breaks if I delete this function?" before you touch a line of code
- Security Scanner: Reachability-aware vulnerability detection — no more CVEs on unused imports
- 11 Languages: TypeScript, JavaScript, Python, Go, Rust, Java, C#, Ruby, PHP, C++, Kotlin
Token Savings
Teams using Depwire report 40% fewer tool calls, 56% fewer file reads, and 70% fewer grep operations compared to RAG-based context retrieval. Deterministic lookups don't need to search — they know.
Install
npm install -g depwire-cli
depwire mcp
Then add Depwire to your Claude Desktop config and your agent has full structural understanding of your codebase.
Open Source
Depwire CLI is open source under BUSL-1.1. The Depwire Cloud tier adds hosted MCP endpoints, private repo support, and AI-powered chat for teams that don't want to run infrastructure.