Semcode MCP Server

An MCP (Model Context Protocol) server providing hybrid semantic search over code across a set of GitHub repositories that you list in `config.yaml`.

Remote serverstreamable-httpPython

What is the Semcode MCP server?

Most developer tooling work still happens through a UI a human drives. Semcode MCP server moves it into the conversation instead. An MCP (Model Context Protocol) server providing hybrid semantic search over code across a set of GitHub repositories that you list in config.yaml. It parses symbols with Tree-sitter and indexes both code and git commit history, so AI.

The tools it exposes

The server publishes 11 tools. What each one is for:

  • search_code — Hybrid (dense + BM25) search by query, with optional filters for language, service, symbol type
  • find_symbol — Look up a symbol by name — exact match, or case-insensitive substring when exact=false
  • find_usages — Find code that references a given symbol name (semantic search, then excludes the definition itself)
  • get_code_context — Fetch the full source of a file — or a specific symbol within it — directly from GitHub
  • reindex — Trigger code indexing of one or all services (incremental by default; force to re-embed)
  • index_history — Index git commit history; automatically fetches diffs for commits missing them
  • search_commits — Search git commit history with natural language
  • get_commit — Get full details for a specific commit including changed files and diffs
  • list_indexed_services — List indexed services with chunk and file counts, languages, and last-indexed time
  • index_stats — Show Qdrant collection statistics and configured services
  • Endpoint — Body

Getting it running

Because this one is hosted, setup is mostly authentication — you point your client at the endpoint and approve access. Nothing runs on your machine, so there is no runtime to keep patched.

What it needs from you

Configuration is passed through the environment: MCP_TRANSPORT, GITHUB_TOKEN, CONFIG_PATH, QDRANT_URL, JINA_URL, JINA_API_KEY, VOYAGE_API_KEY, OPENAI_API_KEY. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

How it compares

Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Semcode's toolset — search_code, find_symbol, find_usages and 8 more — is a fair guide to whether it matches your workflow. It is maintained by goodbyeplanet; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Semcode's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Things to watch

  • Your data travels to the provider's service, so the usual questions apply about what you send and what they retain.
  • With 11 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Semcode.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
search_codeHybrid (dense + BM25) search by query, with optional filters for language, service, symbol type
find_symbolLook up a symbol by name — exact match, or case-insensitive substring when exact=false
find_usagesFind code that references a given symbol name (semantic search, then excludes the definition itself)
get_code_contextFetch the full source of a file — or a specific symbol within it — directly from GitHub
reindexTrigger code indexing of one or all services (incremental by default; force to re-embed)
index_historyIndex git commit history; automatically fetches diffs for commits missing them
search_commitsSearch git commit history with natural language
get_commitGet full details for a specific commit including changed files and diffs
list_indexed_servicesList indexed services with chunk and file counts, languages, and last-indexed time
index_statsShow Qdrant collection statistics and configured services
EndpointBody

Configuration

VariableDescriptionRequired
MCP_TRANSPORTConfiguration value read at startup.Optional
GITHUB_TOKENCredential the server authenticates with.Yes
CONFIG_PATHFilesystem location the server is allowed to use.Optional
QDRANT_URLEndpoint or connection string the server talks to.Yes
JINA_URLEndpoint or connection string the server talks to.Yes
JINA_API_KEYCredential the server authenticates with.Yes
VOYAGE_API_KEYCredential the server authenticates with.Yes
OPENAI_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • Use Semcode to search code.
  • Use Semcode to find symbol.
  • Use Semcode to find usages.

Frequently asked questions

It connects Semcode to MCP-compatible AI assistants such as Claude and Cursor, exposing 11 tools (search_code, find_symbol, find_usages, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Semcode directly.