What tools does GovQL provide?
GovQL provides three tools: `execute_graphql` to run any GraphQL query, `list_types` to return schema types, and `describe_type` to return a type's full details.
@govql
基本信息
Government data, made accessible in GraphQL
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"govql": {
"command": "uvx",
"args": [
"govql-mcp-server"
]
}
}
}Run any GraphQL query against the GovQL endpoint. Returns the result plus an `last_ingest` timestamp so the agent can reason about data freshness.
Returns the names and kinds of every type in the GovQL schema. Optional `kind` filter (`"OBJECT"`, `"INPUT_OBJECT"`, `"ENUM"`, etc.) to narrow further. Start here when you don't know what's queryable.
Returns one type's full details — fields, arg signatures, input fields, enum values. Call after `list_types` to learn the shape of a specific type before writing a query.
GovQL is an MCP (Model Context Protocol) server that provides AI clients such as Claude Desktop, Claude Code, and Cursor with direct access to the US Congressional GraphQL API at api.govql.us/graphql, eliminating the need for manual HTTP wiring. It is designed for users who want to query congressional data through AI agents.
To use GovQL, add the server configuration to your client's settings file (e.g., claude_desktop_config.json for Claude Desktop, .mcp.json for Claude Code, or Cursor's MCP settings) using the command uvx govql-mcp-server with no required arguments. The server runs as a per-client subprocess over stdio.
last_ingest timestamp for data freshness awareness.GovQL provides three tools: `execute_graphql` to run any GraphQL query, `list_types` to return schema types, and `describe_type` to return a type's full details.
The upstream API enforces a max query depth of 10, max query complexity of ~10 billion points, and a rate limit of 100 requests per 60 seconds per source IP.
Every `execute_graphql` response includes a `last_ingest` timestamp. Vote data refreshes hourly; legislator data refreshes daily.
Yes, via environment variables: `GOVQL_ENDPOINT` (default https://api.govql.us/graphql), `GOVQL_TIMEOUT_MS` (default 30000), and `LOG_LEVEL` (default INFO). All are optional.
No, the package is zero-config for end users; no API keys or authentication are mentioned in the README.

Request dedicated senior developers to work on your project, write job descriptions, and prep technical interviews — all without leaving your Claude chat. Just describe what you need, and Lemon.io MCP does the rest. 1–3
A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

Model Context Protocol Servers

DeepMark helps teachers deliver rapid, consistent marking with meaningful feedback for every student — in a fraction of the time. What once took a week, now takes one free period.
🚀 The fast, Pythonic way to build MCP servers and clients.
评论