Semlith
Local code and document search for AI agents, with an optional paid cloud index
- Pricing
- Freemium
- Platforms
- macOS, Linux, Windows
- Runs
- Locally
- Version
- 0.51.2
- Listing updated
- 3 days ago
About Semlith
Semlith is a freemium MCP server for developer tools. It runs locally on your machine and is started by your AI client.
Semlith builds one index across source code, PDFs, Office files, notebooks and images, then answers agent queries with the few passages that matter instead of whole files. Each query runs a vector search and a keyword search and fuses the rankings, so a question about retry backoff and an exact identifier both land on the right chunk.
Alongside the text index it keeps a code graph of definitions, calls, imports and re-exports. Agents can ask what calls a function or what a change would reach, and the answers are graph facts rather than model output; the site says no generative model sits in the retrieval path. A watcher re-reads a file on save, so there is no build step to go stale.
The local binary listens only on 127.0.0.1 and needs no account or API keys. An --airgap flag refuses every outbound request, and credential files such as .env and ~/.ssh are skipped unless you pass --include-secrets. Semlith Cloud is a separate hosted service that adds a remote MCP URL, GitHub, GitLab, Confluence and Jira sources, and a pull-request impact check.
Install
Run in a terminal
claude mcp add semlith -- npx -y semlithAdd to claude_desktop_config.json
{
"mcpServers": {
"semlith": {
"command": "npx",
"args": [
"-y",
"semlith"
]
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"semlith": {
"command": "npx",
"args": [
"-y",
"semlith"
]
}
}
}Add to .vscode/mcp.json
{
"servers": {
"semlith": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"semlith"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"semlith": {
"command": "npx",
"args": [
"-y",
"semlith"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"semlith": {
"command": "npx",
"args": [
"-y",
"semlith"
]
}
}
}What it does
- Hybrid search
- Fuses vector and keyword rankings so both natural-language questions and exact names find the right chunk.
- Code graph
- Maps calls, imports and re-exports across repositories so agents can ask what uses a symbol or what a change reaches.
- Retrieval ledger
- Records every retrieval in a chained log, with the tokens it saved.
- Pull request impact check
- On Cloud plans, posts a status check and comment listing the callers a pull request reaches.
- Airgap mode
- Refuses every outbound request before a connection opens.
- Many file types
- Reads 46 languages, 13 document formats and images.
Good for
- Give a coding agent the exact files and spans for a question in a large repository
- Search PDFs, Office documents and notes alongside code
- Check which callers a change reaches before merging
- Share one index between several agents and machines through Cloud
- Keep code search fully offline on a restricted machine
Pricing
Freemium
Local binary free; Cloud Pro, Team and Enterprise plans with a 14-day trial, prices not published
Prices change. Check semlith.com before you buy.
Semlith FAQ
Does it need an account or API key?
No. The local binary needs neither; signing in is only for Semlith Cloud, a separate hosted service.
Is it free?
The local binary is free with every feature. Cloud has Pro, Team and Enterprise plans, each paid plan with a 14-day trial; prices are not published on the page.
Which platforms does it run on?
macOS on Apple silicon, Linux on x86_64 or aarch64, and Windows on x86_64. Intel macOS is not supported.
How many MCP tools does it expose?
The README says eight tools are listed by default and sixteen exist in total.
What does Cloud add?
A remote MCP URL, GitHub, GitLab, Confluence, Jira and upload sources, CI tokens and the pull-request impact check.
Is Semlith free?
Semlith has a free plan, with paid plans for more usage or features.
How do I add Semlith to Claude Code?
Run this command in your terminal: claude mcp add semlith -- npx -y semlith
What are the best alternatives to Semlith?
The closest alternatives to Semlith are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.
Alternatives to Semlith

REA
MCP serverCLI and MCP server that lets coding agents reverse engineer apps and binaries
Runs locally- Open source
- 464K GitHub stars
- Developer tools

Codebase Memory
MCP serverLocal MCP server that builds a code knowledge graph for AI coding agents
Runs locally- Open source
- 48.7K GitHub stars
- Knowledge and memory

GitHub
MCP serverOfficial MCP server connecting AI assistants to GitHub repos, issues and workflows
Not checked yet- Remote
- Open source
- 34.5K GitHub stars
- Developer tools

Serena MCP: the IDE for your agent
MCP serverMCP toolkit giving coding agents symbol-level code retrieval and editing
Runs locally- Open source
- 31.5K GitHub stars
- Developer tools

XERJ
MCP serverLocal search engine for AI agents with cited answers over your code and docs
Runs locally- Open source
- 19.2K GitHub stars
- Knowledge and memory

Ouroboros
MCP serverSpec-first layer that pins requirements and verifies results of AI coding agent work
Runs locally- Open source
- 6.4K GitHub stars
- Developer tools