
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A self-hosted MCP server that provides hybrid semantic search across your team's GitHub repositories and commit history to AI agents.
semcode is cataloged as an MCP server attributed to goodbyeplanet. A self-hosted MCP server that provides hybrid semantic search across your team's GitHub repositories and commit history to AI agents. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for semcode are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It offers tools such as search_code, find_symbol, find_usages, get_code_context, search_commits, get_commit, reindex, index_history, list_indexed_services and index_stats.
Yes, indexing is incremental and skips unchanged files by Git blob SHA while cleaning up deleted files.
README.md · 0ceab1ab1a67 · Fetched 2026-11-13 12:58:36 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
Hybrid semantic search across all your team's GitHub repos — and their commit history — served to any AI agent over MCP.
Quick start · Features · MCP tools · Docs · Blog
Coding agents are good at reading the project you have open. They are bad at answering questions that span
the rest of your organisation: "which service publishes OrderPlaced?", "how do other teams call the
billing API?", "why did someone change the retry logic last month?"
| Without semcode | With semcode | |
|---|---|---|
| Code in other repos | Clone it, or paste it into the chat | One search_code call across every indexed repo |
"Where is PlaceOrderRequest defined?" | grep — if the repo happens to be checked out | Exact or partial symbol-name lookup |
| "Where do we publish order events?" | Guess the right keywords | Natural-language search (dense + BM25, fused with RRF) |
| "Why did this change?" | git log, repo by repo | Semantic search over commit messages, with full diffs |
| Where your code goes | — | Nowhere — self-hosted, with local Jina or Ollama embeddings |
flowchart LR
GH[GitHub repos] -->|source files| TS[Tree-sitter<br/>symbol parsing]
TS --> DE[Dense embeddings<br/>Jina · Voyage · OpenAI · Ollama]
TS --> BM[BM25 sparse vectors<br/>code-aware tokenizer]
GH -->|commits + diffs| CE[Commit embeddings]
DE --> Q[(Qdrant)]
BM --> Q
CE --> Q
Q -->|hybrid search · RRF| S[semcode<br/>MCP server]
S <-->|MCP| A[Your AI agent]
CI[CI on merge] -->|POST /reindex| S
semcode fetches files from GitHub, splits them into symbols (functions, classes, methods, components) with
Tree-sitter, and stores two vectors per symbol in Qdrant: a dense semantic embedding and a BM25 vector over
code-identifier subwords (getUserById → get, user, by, id). Queries run both and fuse the rankings with
Reciprocal Rank Fusion, so natural language and exact symbol names work. Indexing is incremental — unchanged
files are skipped by Git blob SHA, and deleted files are cleaned up.
→ Deep dive: ingestion · dense vectors · sparse vectors · retrieval with RRF · the blog post
You need: Docker, and a GitHub token with Contents: read on the repos you want indexed.
1. Start semcode, Qdrant and a local embedding model (no API key needed):
git clone https://github.com/GoodbyePlanet/semcode && cd semcode
cp .env.example .env # then set GITHUB_TOKEN in .env
make docker-up-jina
2. Index a repo:
curl -N -X POST http://localhost:8090/reindex \
-H 'Content-Type: application/json' \
-d '{"service": "my-service", "github_repo": "owner/repo"}'
Progress streams back as NDJSON and ends with {"type": "done", ...}. The repo stays registered, so later
reindexes are incremental.
3. Connect your agent:
claude mcp add --transport http semcode http://localhost:8090/mcp
That's it. Prefer a hosted embedding provider (Voyage, OpenAI, Jina API) or Ollama? Set EMBEDDINGS_PROVIDER
in .env and run make docker-up instead. Want a curated list of repos in a config.yaml, or to run without
Docker? See Deployment.
Ask your agent in plain English:
acme/payments with semcode."PlaceOrderRequest, across all services."system_design_overview prompt for a full architecture write-up with Mermaid diagrams.config.yaml, or let each repo register itself from CI with the
drop-in GitHub Actions workflow.GITHUB_API_URL.| Tool | What it does |
|---|---|
search_code | Hybrid search, filterable by language, service and symbol type |
find_symbol | Look up a symbol by exact name, or by case-insensitive token match (exact=false) |
find_usages | Find code that references a symbol |
get_code_context | Fetch the full source of a file, or one symbol in it, from GitHub |
search_commits | Natural-language search over commit history |
get_commit | Full details of a commit, including changed files and diffs |
reindex | Index one or all services (incremental by default; force to re-embed) |
index_history | Index git commit history |
list_indexed_services | Indexed services with file/chunk counts, languages and last-indexed time |
index_stats | Qdrant collection statistics and configured services |
Prompts: service_overview(service) walks the agent through an architectural overview of one service —
HTTP entry points, domain types, framework conventions. system_design_overview does the whole system: service
inventory, communication topology, shared data stores and cross-cutting concerns, with Mermaid diagrams.
The server speaks streamable HTTP at http://localhost:8090/mcp.
Add to .vscode/mcp.json:
{
"servers": {
"semcode": { "type": "http", "url": "http://localhost:8090/mcp" }
}
}
Or from the command line:
code --add-mcp '{"name":"semcode","type":"http","url":"http://localhost:8090/mcp"}'
Add to ~/.codex/config.toml:
[mcp_servers.semcode]
url = "http://localhost:8090/mcp"
Add an entry to the client's MCP config:
{
"mcpServers": {
"semcode": { "transport": "http", "url": "http://localhost:8090/mcp" }
}
}
Needs Qdrant reachable (e.g. docker compose up -d qdrant) and dependencies installed (uv sync).
GITHUB_TOKEN, QDRANT_URL and the embedding variables are still read from .env in the project directory.
claude mcp add semcode --transport stdio --env MCP_TRANSPORT=stdio \
-- uv run --directory /path/to/semcode python -m server.main
{
"mcpServers": {
"semcode": {
"command": "uv",
"args": ["run", "--directory", "/path/to/semcode", "python", "-m", "server.main"],
"env": { "MCP_TRANSPORT": "stdio" }
}
}
}
Only for clients that don't support streamable HTTP yet. Set MCP_TRANSPORT=sse in .env, start the server as
usual, and point the client at http://localhost:8090/sse:
claude mcp add --transport sse semcode http://localhost:8090/sse
| semcode | claude-context | Serena | grep / file reads | |
|---|---|---|---|---|
| Scope | Many remote GitHub repos | Local codebase | Local project | Local checkout |
| Search | Hybrid (dense + BM25, RRF) | Hybrid (dense + BM25) | Symbol-level, via language servers | Exact text |
| Commit history | ✅ semantic search + diffs | — | — | git log |
| Deployment | Shared team service | Per developer | Per developer | — |
| Needs an index | Yes (Qdrant) | Yes (Milvus / Zilliz Cloud) | No | No |
When semcode doesn't help: a single small repo you already have open — your agent can read it directly, and editing-oriented tools like Serena are a better fit there. semcode pays off when the answer lives in code you don't have checked out.
The docs site covers everything this page leaves out:
config.yaml, transports/reindex, /reindex-history, NDJSON frame shapesContributions are welcome! See CONTRIBUTING.md for dev setup, tests, adding a language parser, and the Conventional Commits rules that drive releases.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for semcode from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/semcode)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.