m1nd is an open-source, Rust-based code intelligence harness and Model Context Protocol (MCP) server created by maxkle1nz. Designed to provide structural and temporal context to coding agents, m1nd constructs detailed code graph representations with temporal, topological, and dynamic runtime metadata. Operating primarily as an MCP tool provider, m1nd exposes dozens of analysis tools (including over 68 discrete tool handlers) that AI agents can invoke over MCP interfaces. It parses Git history for co-change relationships, tracks taint propagation across architectural boundaries, matches structural clones, and ingests OpenTelemetry traces to overlay production execution data onto static code graphs. m1nd differentiates itself through its deep graph-based analysis engines and runtime tracing overlays, moving beyond basic AST parsing or vector search. By treating repository history as a 4D graph and combining it with taint analysis and community detection algorithms, it equips external LLM agents with rigorous structural context for refactoring and security analysis. The project is open-source under development on GitHub, implemented in Rust with a strict test harness and gate architecture.
Tags: ai agent, cli, codebase, coding agent, memory, OpenSource
ghost_edges and refactor_plan tools to inspect historical co-change patterns and community boundaries, ensuring related modules are modified consistently without breaking architectural seams.taint_trace tool to propagate data flow paths across structural boundaries and identify unprotected endpoints.runtime_overlay tool, directing the AI agent to optimize bottlenecks in high-throughput paths.m1nd is designed for systems engineers, AI agent tool builders, and senior developers looking to provide rich structural, temporal, and runtime context to LLM agents via MCP. It is less suitable for developers seeking a self-contained chat GUI or simple regex/AST search utilities without an MCP-capable host.
bash git clone https://github.com/maxkle1nz/m1nd.git cd m1nd cargo build --releasebash cargo test To run the project in MCP server mode, configure your MCP client (such as Claude Desktop or an MCP-compatible terminal agent harness) to execute the built binary: json { "mcpServers": { "m1nd": { "command": "/path/to/m1nd/target/release/m1nd", "args": ["serve"] } } }text Use m1nd to trace temporal ghost edges and identify files frequently modified together with src/server.rs over the last 6 months.Part of CLI Coding Agents
Categories: AI Coding Agents, Code Assistants, Developer Tools