Skip to main content

MCP server for querying testigo-recall knowledge bases

Project description

testigo-recall-mcp

MCP server that exposes a pre-scanned codebase knowledge base to AI agents. Instead of reading source files directly, agents query pre-extracted facts about code behavior, design decisions, and assumptions — saving time and tokens.

Works with Claude Code, Cursor, Windsurf, and any MCP-compatible client.

Installation

pip install testigo-recall-mcp

Configuration

Claude Code

Add to your Claude Code MCP settings (~/.claude/mcp.json or project-level):

{
  "mcpServers": {
    "testigo-recall": {
      "command": "testigo-recall-mcp",
      "env": {
        "TESTIGO_RECALL_REPO": "owner/repo"
      }
    }
  }
}

Cursor / Windsurf

Add to your MCP configuration:

{
  "mcpServers": {
    "testigo-recall": {
      "command": "testigo-recall-mcp",
      "env": {
        "TESTIGO_RECALL_REPO": "owner/repo"
      }
    }
  }
}

Environment Variables

Variable Description
TESTIGO_RECALL_REPO GitHub repo (e.g. owner/repo). Auto-downloads the knowledge base from the knowledge-base release tag.
TESTIGO_RECALL_DB_PATH Explicit path to a local SQLite knowledge base file. Takes priority over repo sync.
GITHUB_TOKEN GitHub token for private repos. Public repos work without auth.

Tools

The server exposes 5 tools to AI agents:

search_codebase

Full-text search across the knowledge base. Returns facts ranked by relevance.

  • query — search keywords (e.g. "authentication", "payment flow")
  • category — optional filter: behavior, design, or assumption
  • min_confidence — confidence threshold 0.0-1.0
  • limit — max results (default: 20)

get_module_facts

Deep dive into a specific module. Use search_codebase first to discover module IDs.

  • module_id — e.g. SCAN:backend/app/api or PR-123

get_recent_changes

Most recently extracted facts across the codebase.

  • category — optional filter
  • limit — number of results (default: 10)

get_component_impact

Blast radius analysis — shows what depends on a component and what it depends on.

  • component_name — file path or service name (e.g. api_service.py)

list_modules

Lists all scanned modules in the knowledge base.

  • repo_name — optional repository filter

How It Works

The knowledge base contains pre-extracted facts organized by category:

  • behavior — what the code does (triggers, outcomes)
  • design — how it's built (decisions, patterns, trade-offs)
  • assumption — what it expects (invariants, prerequisites)

Facts come from two sources:

  • SCAN facts (SCAN:module/path) — current state of a module, refreshed automatically
  • PR facts (PR-123) — what a specific PR changed, preserved as history

The server uses SQLite with FTS5 full-text search for fast, relevance-ranked queries.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

testigo_recall_mcp-0.4.5.tar.gz (16.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

testigo_recall_mcp-0.4.5-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

Details for the file testigo_recall_mcp-0.4.5.tar.gz.

File metadata

  • Download URL: testigo_recall_mcp-0.4.5.tar.gz
  • Upload date:
  • Size: 16.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for testigo_recall_mcp-0.4.5.tar.gz
Algorithm Hash digest
SHA256 9be069a5919e28e13c65d5b1bd6f77f816f94233ec5345fb270dac1c880e2a0a
MD5 d501e6ed26852e1c47e7916ab3751393
BLAKE2b-256 f2198c67ce2ad4e909c47952d80aeba9d92f632b93a014b25b0dec0557528239

See more details on using hashes here.

File details

Details for the file testigo_recall_mcp-0.4.5-py3-none-any.whl.

File metadata

File hashes

Hashes for testigo_recall_mcp-0.4.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a62a87d36d8a7f7f9fc79300db9a750bea670297b70e0214c74f8adc2ac40f47
MD5 5684f93489ad74a1207040cb318e2a5c
BLAKE2b-256 8b63b8e1c92fa4db288b14537498937e5cdc94dbe75403fc77931e92e8bab0e7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page