Skip to content
MCP server

Groundtruth

Live docs MCP server. 793+ libraries, evidence-verified answers, code audit, snippets…

Runs locally
Install
Pricing
Open source
Runs
Locally
Version
8.1.1
Listing updated
1 month ago

About Groundtruth

Groundtruth is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Live docs MCP server. 793+ libraries, evidence-verified answers, code audit, snippets, dispatch.

Install

Run in a terminal

claude mcp add groundtruth --env GT_GITHUB_TOKEN='<GT_GITHUB_TOKEN>' -- npx -y @groundtruth-mcp/gt-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "groundtruth": {
      "command": "npx",
      "args": [
        "-y",
        "@groundtruth-mcp/gt-mcp"
      ],
      "env": {
        "GT_GITHUB_TOKEN": "<GT_GITHUB_TOKEN>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "groundtruth": {
      "command": "npx",
      "args": [
        "-y",
        "@groundtruth-mcp/gt-mcp"
      ],
      "env": {
        "GT_GITHUB_TOKEN": "<GT_GITHUB_TOKEN>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "groundtruth": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@groundtruth-mcp/gt-mcp"
      ],
      "env": {
        "GT_GITHUB_TOKEN": "<GT_GITHUB_TOKEN>"
      }
    }
  }
}

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

{
  "mcpServers": {
    "groundtruth": {
      "command": "npx",
      "args": [
        "-y",
        "@groundtruth-mcp/gt-mcp"
      ],
      "env": {
        "GT_GITHUB_TOKEN": "<GT_GITHUB_TOKEN>"
      }
    }
  }
}

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

{
  "mcpServers": {
    "groundtruth": {
      "command": "npx",
      "args": [
        "-y",
        "@groundtruth-mcp/gt-mcp"
      ],
      "env": {
        "GT_GITHUB_TOKEN": "<GT_GITHUB_TOKEN>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • GT_GITHUB_TOKENGitHub API token for higher rate limits (raises from 60 to 5000 req/hr)
  • GT_CACHE_DIRDisk cache directory (default ~/.gt-mcp-cache)
  • GT_LOG_LEVELLog level written to stderr: debug, info, warn or error (default info)

Pricing

Open source

Groundtruth FAQ

Is Groundtruth free?

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

How do I add Groundtruth to Claude Code?

Run this command in your terminal: claude mcp add groundtruth --env GT_GITHUB_TOKEN='<GT_GITHUB_TOKEN>' -- npx -y @groundtruth-mcp/gt-mcp

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers