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

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

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

TDQS

A4.2/5.0

Scored across 3 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: listing repositories, searching code, and retrieving file contents. No ambiguity between them.

Naming Consistency5/5

All tool names follow a consistent verb_noun snake_case pattern: list_repos, search_code, get_file.

Tool Count5/5

Three tools cover the essential operations for a code search index server (list, search, fetch) without being too few or too many.

Completeness4/5

The set covers the core workflows well. A minor gap might be listing files within a repository, but the current set is sufficient for common use cases.

Maintenance

ActivityInactive
ResponsivenessNo issues