mcpbeat Sign in

Lain MCP Server

by spuentesp Your server? Claim it
local only

Lain runs on your own machine — the client starts it, so there is no endpoint to ping. 192 installs a week from npm. Last commit 17 Sep 2026.

High-performance knowledge graph MCP server for AI coding agents with semantic search.

Installs per day peak 155 · avg 21 · +306% w/w
a month agotoday
192
Installs / week
npm · @spuentesp/lain-mcp
6
Stars
0 open issues
17 Sep 2026
Last commit
0 releases in 90 days
MIT
License
Rust

What the code does

We read the source, 20 h ago · rules 3dff92dd89df

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

Runs a command on install [пакет] package.json:1
postinstall: node scripts/install.js
File ships in the package but is absent from the source [пакет] bin/lain.js:1
этот файл ставится пользователю, но в репозитории его нет
  const child = spawn(binary, process.argv.slice(2), { cwd: process.cwd(), stdio: 'inherit' });
Page loads a third-party script src/ui/blast-radius.html:7
    <script src="https://d3js.org/d3.v7.min.js"></script>

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add lain -- npx -y @spuentesp/lain-mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "lain": {
      "args": [
        "-y",
        "@spuentesp/lain-mcp"
      ],
      "command": "npx"
    }
  }
}
~/.codex/config.toml
[mcp_servers.lain]
command = "npx"
args = ["-y", "@spuentesp/lain-mcp"]
.cursor/mcp.json
{
  "mcpServers": {
    "lain": {
      "args": [
        "-y",
        "@spuentesp/lain-mcp"
      ],
      "command": "npx"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "lain": {
      "args": [
        "-y",
        "@spuentesp/lain-mcp"
      ],
      "command": "npx"
    }
  }
}

Alternatives to Lain

same job, measured the same way
Mnemograph
by tm42

Event-sourced knowledge graph memory for AI coding agents with semantic search

148 installs/wk local only
Graphlens MCP
by neko1313

Semantic code graph MCP server for coding agents

162 installs/wk local only
Neuromcp
by adelelo13

Semantic memory for AI agents with hybrid search, knowledge graph, and consolidation

289 installs/wk local only
Graph-Mem
by sathvik-1007

Persistent knowledge-graph memory for AI agents, with local semantic search. No API keys.

62 installs/wk local only
Codeseeker
by jghiringhelli

Graph-powered code intelligence with semantic search and knowledge graph for AI assistants

315 installs/wk local only
Agent Knowledge
by keshrath

Cross-session memory for AI agents - knowledge graph, scoring, semantic search

119 installs/wk local only
Cacheoverflow
by getcacheoverflow

MCP server for cache.overflow - AI agents sharing knowledge with AI agents

65 installs/wk local only
Shodh Memory
by varun29ankus

Cognitive memory for AI agents — semantic search, Hebbian learning, knowledge graphs.

82 installs/wk local only

Lain — questions

Answers built from our own checks of this server.

Why is there no uptime for Lain?
Lain runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package @spuentesp/lain-mcp was installed 192 times last week.
How do I connect Lain?
Copy the ready config from this page — we generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each with the file path that client actually reads. It runs locally, so the command pulls @spuentesp/lain-mcp straight from npm; nothing to host, nothing to sign up for.
How many people use Lain?
The npm package @spuentesp/lain-mcp was installed 192 times in the last week. Week over week that is +306%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Lain open source?
Yes — it is published under the MIT licence, written in Rust and 6 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.