Lain
Indexes code relationships and exposes callers, dependencies, call chains, symbols, and co-change data through MCP.
Install Lain
Run the project’s own setup commands, in order.
Setup steps from the project
lain installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com
curl -fsSL https://raw.githubusercontent.com/spuentesp/lain/main/install.sh | bashnpm install -g @spuentesp/lain-mcpnpm install -g --prefix ~/.local/lain-npm @spuentesp/lain-mcplain setup --agent claude-codelain setup --agent codexlain setup --agent cursor
Overview
Use cases
- Assess the blast radius before changing a function
- Trace a call chain from an entry point to a helper
- Search symbols and code across multiple repositories
- Check whether another agent claims files before editing
Key features
- On-disk code graph for callers, dependencies, and symbols
- Git co-change analysis
- Call-chain and blast-radius queries
- Optional semantic search
- Multi-repository and cross-repository queries
- Agent presence, intents, and advisory file claims
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How Lain works
Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about Lain
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/lain)<a href="https://allmcps.com/mcp/lain"><img src="https://allmcps.com/api/badge/lain?style=directory" alt="Lain on AllMCPs" /></a>