LAIN builds a map of how all the code in your project connects — what calls what, what depends on what, which files tend to change together. Then it
LAIN builds a map of how all the code in your project connects — what calls what, what depends on what, which files tend to change together. Then it lets your AI
Lain is a persistent code-intelligence MCP server. It builds a queryable knowledge graph of your codebase — symbols and their relationships extracted via LSP and tree-sitter, augmented with git co-change history and optional semantic embeddings — and exposes that graph through MCP tools. The value over LSP-only or RAG-based approaches is cross-file structural reasoning: blast radius for proposed changes, transitive dependency traces, anchor identification, co-change correlation, and contextual build failure decoration so agents can reason about callers rather than just the failing line. Written in Rust, persists
| Requirement | Details | |-------------|---------| | Rust | 1.75 or newer | | Git | Required for co-change analysis | | ONNX Model | Optional — for semantic search |
Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.
Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.
| Tool | What it does |
|---|---|
| stdio | --transport stdio |
| both | --transport both --port 9999 |
{
"mcpServers": {
"lain": {
"command": "/home/you/.local/bin/lain",
"args": [
"mcp"
]
}
}
}From the project documentation. Replace placeholders and example paths before connecting.
| Requirement | Details | |-------------|---------| | Rust | 1.75 or newer | | Git | Required for co-change analysis | | ONNX Model | Optional — for semantic search |
Read, search and edit files inside allowed directories with the Model Context Protocol reference Filesystem server.
Retrieve version-aware library documentation and code examples with Context7 MCP, using resolve-library-id and query-docs.
Record your screen and export studio-styled demo videos on macOS, driven by your AI assistant.
Manage WhatsApp Business templates and send messages from Claude, ChatGPT, Cursor, VS Code Copilot, or any MCP-compatible client — powered by the Meta Cloud API.
A self-improving, verifiable memory layer for AI coding agents.
Audit titles, descriptions, headings, canonical tags and JSON-LD syntax with the local, read-only MCP SEO Auditor.