Locus MCP server
Lightweight MCP server for LSP code intelligence — symbol lookup, refs, types, diagnostics.
0 stars27 downloads/wk
Reviews
Write oneNobody has reviewed Locus yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Locus tools (6)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
diagnosticsGet compiler/linter diagnostics for a file or the entire workspace.
hoverGet type information and documentation for a symbol or position.
locateFind a symbol by name (supports qualified names like Foo.bar) or get document symbol overview. Primary navigation tool — prefer over Grep for semantic lookup.
refsFind references or implementations of a symbol. Accepts symbol name (via prior locate) or file:line:col position.
renamePreview or apply a symbol rename. Defaults to dry-run preview; set apply=true to execute.
statusCheck language server readiness, warm state, and missing binaries.
Public scan report
scanner v0.1.9 · 2026-09-24 · same rubric, same numbers if you re-run it
- Code scan25 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 61 days ago12/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Locus compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 88/100
- higher than 75% of 48,255 servers
- Tools
- 6
- the typical server has 7
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- Downloads a week
- 27
- more than 14% of 12,191 servers with a package
What its tools let an agent do: 5 read · 1 change
Install Locus in Claude Code, Cursor or VS Code
Runs npx -y @paladini/locus-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add locus-mcp -- npx -y @paladini/locus-mcp
What the publisher says
From the Locus repository's README, as published. We do not edit it. Read it on GitHub
Locus
Locus gives your AI coding agent a map of your codebase. Whether you write code yourself or work through Cursor, Codex, or Claude Code, Locus connects your agent to the same go-to-definition and find-references intelligence your IDE uses — through MCP (Model Context Protocol), a standard plug-in layer for AI tools. Configure it once; your agent uses six small tools to find symbols, trace callers, read types, and catch errors before you run tests.
Why you might want this
- Find the real definition — Your agent can locate UserService.authenticate even when it is re-exported, overloaded, or buried in a large file — not just wherever the name appears as text.
- See who calls what — Before a refactor, list every reference to a function or class so nothing breaks silently.
- Read types and docs — Ask what a variable or parameter actually is, without guessing from variable names.
- Catch errors early — Surface compiler and linter problems right after an edit, instead of waiting for a full test run.
Who this is for
Locus is for AI-first builders: developers, indie hackers, and PMs who work through an agent and want it to understand code structure, not just search strings.
It fits when your agent already edits files well (Cursor's Edit tool, Claude Code, Codex) and you want to add semantic navigation on top — without turning your setup into a second IDE inside MCP.
It is not for people who want symbolic editing, agent memory, or a full refactoring toolkit inside MCP. For that, look at Serena — a broader option that does more inside the protocol. Locus stays intentionally small: six tools, npx install, complements your host.
Get started in 5 minutes
- Install a language server (if you do not have one yet) — for TypeScript/JavaScript: npm install -g typescript-language-server typescript. See Installing language servers for Python, Go, and Rust.
- Run one-time setup in your project folder:
npx @paladini/locus-mcp init
npx @paladini/locus-mcp check- Add Locus to your agent's MCP config — MCP is how AI hosts call helper tools like Locus; copy a block from Copy-paste configs below and set cwd to your project's absolute path.
- Reload MCP — restart Cursor, reload Codex, or reopen Claude Code so the new server appears.
- Try a prompt — ask your agent: "Use Locus to find where UserService is defined and list all references." If it calls the locate and refs tools, you are set.
Requirements: Node.js 22+. Language servers on your PATH for the languages you use.
Copy-paste configs
Your agent host spawns Locus automatically — you never run serve by hand during normal use.
Cursor
Create or edit .cursor/mcp.json in your project (or global Cursor MCP settings):
{
"mcpServers": {
"locus": {
"command": "npx",
"args": ["-y", "@paladini/locus-mcp", "serve"],
"cwd": "/absolute/path/to/your/project"
}
}
}Codex
Add to ~/.codex/config.toml (global) or .codex/config.toml (project):
[mcp_servers.locus]
command = "npx"
args = ["-y", "@paladini/locus-mcp", "serve"]
cwd = "/absolute/path/to/your/project"For a project-scoped config, you can use cwd = "." instead.
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Locus: common questions
- Is Locus MCP server safe?
- Yes, by our scan: it is graded A (88/100). Read the Locus safety report
- How do I install Locus?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Locus need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Locus maintained?
- The last commit was 101 days ago (2026-07-25). The latest release is v0.1.5.
- How does Locus compare with other MCP servers?
- safety score 88/100 (higher than 75% of 48,255 servers); tools 6 (the typical server has 7); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.