govql-mcp-server

v0.4.0
govql-mcp-server Checked 7 hours ago Published 4 months ago

MCP server for GovQL — query US Congressional data via GraphQL from any MCP client.

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add govql-mcp-server -- uvx govql-mcp-server==0.4.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "govql-mcp-server": {
      "args": [
        "govql-mcp-server==0.4.0"
      ],
      "command": "uvx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "govql-mcp-server": {
      "args": [
        "govql-mcp-server==0.4.0"
      ],
      "command": "uvx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "govql-mcp-server": {
      "args": [
        "govql-mcp-server==0.4.0"
      ],
      "command": "uvx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.govql-mcp-server]
command = "uvx"
args = ["govql-mcp-server==0.4.0"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: compare_voters, describe_type, find_legislator, find_party_defectors, find_vote, get_legislator, get_vote_with_positions, get_voting_record, ….
  4. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json