Skip to main content
Glama
adathouse
by adathouse

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CDG_GRAPHQL_ENDPOINTNoThe GraphQL endpoint URL for the Congress.gov-style legislative API.http://dotnet10-dev:5208/graphql/

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_billsA

Search and list bills/resolutions with flexible filters. Use this for questions like 'bills recently introduced in the House', 'bills that became law recently' (latestActionContains: 'Became Public Law'), or 'bills that passed the Senate' (latestActionContains: 'Passed Senate'). Results are paginated; increase 'limit' (max 50) for more.

get_billA

Fetch a single bill's full details. Identify it either by cdgId or by the combination of congress + billType + number. Optionally include related actions, cosponsors, committee activities, titles and text versions.

search_committee_activitiesA

Find committee activities (e.g. referrals) and the bills they relate to. Use this for questions like 'bills referred to the Commerce Committee recently' (committeeNameContains: 'Commerce', activityNameContains: 'Referred'). Each result includes the related bill summary.

search_actionsA

Search the legislative action history across bills. Use this to find events like 'Passed House', 'Passed Senate', 'Became Public Law', or to inspect actions by type/code. Each result includes the related bill.

search_cosponsorsA

Search bill cosponsorship records across bills. Useful for finding all the bills a member has cosponsored, or analysing cosponsorship by state/party. To get the cosponsors of a specific bill, prefer get_bill with includeCosponsors: true.

get_nodeA

Fetch any object directly by its Relay global id (the opaque id field returned on Bills, Actions, CommitteeActivities, Cosponsors, BillTitles and TextVersions). Returns the concrete type's fields. Use this when you already have a node's global id; to look a bill up by congress/type/number use get_bill instead.

graphql_queryA

Execute an arbitrary read-only GraphQL query against the legislative API. Use this for complex questions the specialised tools do not cover (e.g. cross-referencing committee activities with bill cosponsors). Read the 'cdg://schema' resource for the full schema. Mutations are rejected.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
schemaThe full GraphQL schema for the legislative API in SDL format, fetched live.
guideHow the legislative data is structured and how to answer common questions.
endpointThe GraphQL endpoint this server is connected to.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/adathouse/cdgmcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server