Lain
Verified IntegrationClient Configuration
— Connect Lain to Claude Desktop or Cursor in seconds{
"mcpServers": {
"lain": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-lain"
],
"env": {}
}
}
}~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows).System Overview
Provides AI coding agents with a persistent, queryable knowledge graph of codebases, enabling deep structural reasoning, change impact analysis, and semantic search.
7/23/2026
Open Source
stdio / SSE RPC
Frequently Asked Questions
Architecture and operational details for Lain
Lain is a persistent code-intelligence server that builds a queryable knowledge graph of your codebase. It empowers AI coding agents with deep structural reasoning, allowing them to understand code relationships, analyze change impact, trace dependencies, and perform advanced semantic searches, leading to more accurate and insightful coding assistance.
Related MCP Servers
Browse all servers →Empower AI assistants to generate and convert documents, manage templates, and automate document workflows efficiently.
Provides a multi-tenant, AI-native Content Delivery Network deployable on Cloudflare, featuring sub-100ms TTFB, AI agent controllability, and comprehensive accessibility.
Deploy a Model Context Protocol server on Cloudflare Workers without requiring authentication.