Skip to content
MCP server

trovex

Serve coding agents one canonical doc per query instead of rereading the repo

Pricing
Open source
Platforms
CLI, self-hosted, macOS
Runs
Locally or Remotely
Version
0.16.1
Listing updated
1 day ago

About trovex

trovex is an open-source MCP server for developer tools. It can run locally on your machine or as a hosted remote server.

Agents tend to reread a repository's markdown every session to work out which file is current, and then answer from a guess. Trovex indexes those files and, for each question, returns the single current doc as a path:line pointer with a freshness marker of canonical, stale or duplicate, plus just the section that answers it. Agents can also write what they learn back through one shared point so teammates read the same source.

Six MCP tools are described: trovex, trovex_read and trovex_search are read-only, while trovex_write, trovex_tag and trovex_delete change only trovex's own doc store. It runs no shell commands and never writes to your source files. Everything is local, with vectors in SQLite and ONNX embeddings, so there is no cloud, no API key and no network call to answer a query.

The authors claim about 60 percent fewer tokens on doc lookups, measured at equal task success on their own repo with a median of 69 percent and a range of roughly 41 to 81 percent across repos (n=26, LLM-judged), and say it varies by repo. It is in public beta under AGPL-3.0-or-later and has a savings dashboard.

Install

Run in a terminal

claude mcp add trovex -- uvx trovex

Add to claude_desktop_config.json

{
  "mcpServers": {
    "trovex": {
      "command": "uvx",
      "args": [
        "trovex"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "trovex": {
      "command": "uvx",
      "args": [
        "trovex"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "trovex": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "trovex"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "trovex": {
      "command": "uvx",
      "args": [
        "trovex"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "trovex": {
      "command": "uvx",
      "args": [
        "trovex"
      ]
    }
  }
}

Tools this server provides (6)

Taken from the project documentation; the running server may differ.

trovex
Returns the single canonical doc for a question.
trovex_read
Read a doc section.
trovex_search
Search the indexed docs.
trovex_write
Write to trovex's own doc store.
trovex_tag
Tag a doc in the store.
trovex_delete
Delete from trovex's doc store.

What it does

Canonical doc lookup
Returns one current doc as a path:line pointer.
Freshness markers
Labels results canonical, stale or duplicate.
Section-level answers
Serves only the part of a file that answers.
Shared write-back
Agents record learnings in one shared store.
Local-first
SQLite vectors and ONNX embeddings; no cloud.
Savings dashboard
Shows tokens saved at localhost:8765/savings.

Good for

  • Stop agents rereading the same markdown each session
  • Find the current runbook for rolling back a deploy
  • Share what one agent learned with teammates' agents
  • Measure token savings on doc lookups

Pricing

Open source

Open source (AGPL-3.0-or-later), public beta

Prices change. Check trovex.dev before you buy.

trovex FAQ

Does anything leave my machine?

No. The README says no cloud, no API keys and no network call to answer a query.

Can it modify my source files?

No. Its write tools change only trovex's own doc store.

How much does it save?

About 60 percent fewer tokens on doc lookups in the authors' own measurement; it varies by repo.

What licence is it?

AGPL-3.0-or-later.

Is trovex free?

Yes. trovex is open source, so you can use and self-host it for free.

How do I add trovex to Claude Code?

Run this command in your terminal: claude mcp add trovex -- uvx trovex

What are the best alternatives to trovex?

The closest alternatives to trovex are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

Alternatives to trovex

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  6. Ouroboros

    MCP server

    Spec-first layer that pins requirements and verifies results of AI coding agent work

    Runs locally
    • Open source
    • 6.4K GitHub stars
    • Developer tools