Ministr

•
3
•

Provides AI coding agents with AST-level codebase understanding for semantic search, symbol navigation, reference graphs, and cross-language bridge detection.

Ministr is a local, MIT-licensed code intelligence server designed to empower AI coding agents with deep, AST-level understanding of your codebase. It resolves the limitations of traditional text-based search tools like `grep` by analyzing code structure and meaning across 40+ languages. This allows agents to perform precise semantic search across code and documentation, navigate symbols, trace real reference graphs, and detect cross-language boundaries, returning the exact, relevant code slice instead of verbose file dumps. It runs entirely locally and integrates seamlessly with any MCP client, including Claude Code, Cursor, and VS Code/Copilot.

Key Features

01Cross-language bridge detection across 13 kinds (e.g., PyO3, Tauri, FFI) and 40+ languages
02AST-level symbol navigation and real reference graph generation via Tree-sitter
03Semantic search across code and documentation at multiple granularities (summary, section, claim, symbol stub, full source)
04Local-first operation with on-device embeddings (Candle/Metal, FastEmbed/DirectML/ONNX) for data privacy
05Automated project configuration for various AI agents (Claude Code, Cursor, Copilot) via `ministr init`
061 GitHub stars

Use Cases

01Detecting and navigating cross-language boundaries and IPC/FFI/HTTP call sites for polyglot projects
02Tracing symbol references and call graphs before modifying or deleting shared code to assess impact
03Empowering AI agents to understand codebase structure and meaning, replacing text-based search with semantic queries