Skip to main content
Glama
radiovisual

zoekt-mcp

by radiovisual

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ZOEKT_URLNoThe URL of the zoekt-webserver backendhttp://localhost:6070
ZOEKT_TIMEOUTNoHTTP timeout in seconds for requests to the zoekt backend30

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_codeA

Run a Zoekt query against the indexed corpus.

    Query syntax highlights:

    - ``repo:NAME`` restrict to repos whose name matches NAME (regex)
    - ``file:PATH`` restrict to files whose path matches PATH (regex)
    - ``lang:LANGUAGE`` restrict to a language (``python``, ``go``, ...)
    - ``sym:IDENT`` match symbol definitions (functions, classes, ...)
    - ``case:yes`` case-sensitive content match
    - ``/regex/`` regex content match (literal match by default)
    - whitespace is AND; use ``or`` for boolean OR

    Examples:

    - ``lang:python def hello`` — Python files containing ``def hello``
    - ``sym:users`` — anything that defines a ``users`` symbol
    - ``repo:flask-app file:app.py`` — within one file of one repo

    Returns a compact object with ``files`` (each containing ``repo``,
    ``file``, ``language``, and ``matches``) plus top-level stats.
    Results are capped at ``max_results`` files.
    
list_reposA

List indexed repositories.

    ``filter`` is an optional ``repo:`` atom (e.g. ``repo:flask`` or
    ``repo:.`` for all) used to narrow the list. Leave empty to list
    every indexed repository.

    Returns ``{"repos": [{name, url, branches, ...}, ...], "count": N}``.
    
get_fileA

Fetch the full contents of a file from an indexed repository.

    ``repo`` is the repository name as reported by ``list_repos``;
    ``path`` is the file path within that repo; ``branch`` defaults
    to ``HEAD`` but can be any branch zoekt has indexed. Returns
    ``{"repo", "path", "branch", "content"}``.
    

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/radiovisual/zoekt-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server