Skip to main content
Glama
US Government Open Data MCP

US Government Open Data MCP

by lzinga

US Government Open Data MCP

MCP Server + TypeScript SDK for 40+ U.S. Government APIs

npm version npm downloads License: MIT

300+ tools covering economic, fiscal, health, education, energy, environment, lobbying, housing, patents, safety, banking, consumer protection, workplace safety, transportation, seismic, clinical trials, pharma payments, research funding, procurement, and legislative data.

20+ APIs require no key · The rest use free keys that take under a minute to get

Getting Started · API Reference · Documentation


Features

  • 300+ tools across 40+ government APIs — economic, health, legislative, financial, environmental, and more

  • Cross-referencing — built-in instructions guide the LLM to combine data from multiple agencies (e.g., FDA adverse events + lobbying spend + campaign contributions)

  • Code mode — WASM-sandboxed JavaScript execution reduces context window usage by 98-100% for large responses

  • Selective loading — load only the modules or domains you need: --modules fred,treasury,congress or --domains economy,health

  • Discovery mode — --tool-mode discovery lists 4 tools instead of 350; the model searches for the one it needs

  • Sources on every result — meta.sources lists the upstream API requests behind each answer

  • Dual transport — stdio for desktop clients, HTTP Stream for web/remote (bearer-token auth off loopback)

  • TypeScript SDK — every API is importable as a standalone typed client, no MCP required

  • Disk-backed caching — responses cached to disk, survives restarts

  • Rate limiting + retry — token-bucket rate limiter with exponential backoff on 429/503

Related MCP server: Katzilla MCP

Quick Start

MCP Server

Requires Node.js 22 or later.

npx us-gov-open-data-mcp

Add to .vscode/mcp.json for VS Code / Copilot:

{
  "servers": {
    "us-gov-open-data": {
      "command": "npx",
      "args": ["-y", "us-gov-open-data-mcp"],
      "env": {
        "FRED_API_KEY": "your_key",
        "DATA_GOV_API_KEY": "your_key"
      }
    }
  }
}

Add to claude_desktop_config.json for Claude Desktop:

{
  "mcpServers": {
    "us-gov-open-data": {
      "command": "npx",
      "args": ["-y", "us-gov-open-data-mcp"],
      "env": {
        "FRED_API_KEY": "your_key",
        "DATA_GOV_API_KEY": "your_key"
      }
    }
  }
}

Example Prompts

Once connected, ask your AI assistant natural language questions:

Economic: "What's the current state of the U.S. economy? Show me GDP, unemployment, inflation, and interest rates."

Health: "Show me the adverse event profile for Ozempic including clinical trials, FDA reports, and pharma payments to doctors."

Legislative: "What happened with the Inflation Reduction Act? Who sponsored it, how did the vote break down by party?"

Follow the money: "Which banking PACs gave money to members of the Senate Banking Committee, and how did those members vote on banking deregulation?"

Cross-reference: "How has federal spending on healthcare changed over the last 5 years, and what health outcomes has it produced?"

TypeScript SDK

npm install us-gov-open-data-mcp
import { getObservations } from "us-gov-open-data-mcp/sdk/fred";
import { searchBills } from "us-gov-open-data-mcp/sdk/congress";

const gdp = await getObservations("GDP", { sort: "desc", limit: 5 });

No MCP server required. All functions include caching, retry, and rate limiting.

Documentation

Full documentation at lzinga.github.io/us-gov-open-data-mcp

Getting Started

MCP setup, SDK install, client configs

API Keys

Which APIs need keys, where to get them

Data Sources

All 40+ APIs grouped by category

API Reference

Auto-generated from TypeScript — every function and type

Examples

SDK code, MCP prompts, analysis showcases

Architecture

How the system works

Adding Modules

Add a new API — just create a folder

Data Sources

Category

APIs

Economic

Treasury, FRED, BLS, BEA, EIA

Legislative

Congress.gov, Federal Register, GovInfo, Regulations.gov

Financial

FEC, Senate Lobbying, SEC, FDIC, CFPB

Spending & Procurement

USAspending, Open Payments, GSA CALC+

Health & Safety

CDC, FDA, CMS, ClinicalTrials.gov, NIH, NHTSA, DOL

Environment & Weather

EPA, EPA AQS, NOAA, NWS, NREL, USGS

Justice

FBI Crime Data, DOJ News

Education & Research

NAEP, College Scorecard, USPTO

Demographics

Census, HUD, FEMA

Other

BTS, USDA NASS, USDA FoodData, World Bank

Disclaimer

This project integrates a significant number of government APIs, many of which have large, complex, or inconsistently documented schemas. AI is used as a tool throughout this project to help parse API documentation, generate type definitions, and scaffold tool implementations — making it possible to cover this much surface area and get people access to government data faster than would otherwise be feasible. While every effort has been made to ensure accuracy, some endpoints may return unexpected results, have incomplete parameter coverage, or behave differently than documented.

This is a community-driven effort — if you find something that's broken or could be improved, please open an issue or submit a PR. Contributions that fix edge cases, improve schema accuracy, or expand coverage are especially welcome. The goal is to make U.S. government data as accessible and reliable as possible, together.

All data is sourced from official U.S. government and international APIs — the server does not generate, modify, or editorialize any data.

License

MIT

Available Tools

345 tools
bea_dataset_infoA
Read-onlyIdempotent

Discover BEA datasets, parameters, and valid parameter values. Essential for exploring the BEA API before making data requests.

Actions:

  • list_datasets: List all available BEA datasets

  • list_parameters: List parameters for a dataset (requires dataset_name)

  • get_values: Get valid values for a parameter (requires dataset_name + parameter_name)

  • get_filtered_values: Get values filtered by other params (requires dataset_name + target_parameter + filters)

Datasets: NIPA, NIUnderlyingDetail, FixedAssets, MNE, GDPbyIndustry, Regional, ITA, IIP, InputOutput, UnderlyingGDPbyIndustry, IntlServTrade

Inputs: action (required), filters, dataset_name, parameter_name, +1 more.

bea_fixed_assetsA
Read-onlyIdempotent

Get Fixed Assets data — net stock, depreciation, and investment tables.

Covers private/government fixed assets, equipment, structures, and IP products. Annual data only, updated once per year (late August – early October).

Common tables: FAAt101 (current-cost net stock by type), FAAt201 (private equipment), FAAt401 (private nonresidential by industry), FAAt801 (current-cost depreciation). Use bea_dataset_info to discover all table names.

Inputs: year, table_name.

bea_gdp_by_industryA
Read-onlyIdempotent

Get GDP contribution by industry sector nationally from BEA GDPbyIndustry dataset.

TableID options:

  • 1: Value added by industry (default)

  • 5: Contributions to percent change in real GDP

  • 6: Value added percent shares

  • 25: Real value added by industry

Industry='ALL' returns all sectors.

Inputs: year, industry, table_id, frequency.

bea_gdp_by_stateA
Read-onlyIdempotent

Get gross domestic product for U.S. states from BEA Regional dataset.

Table options:

  • SAGDP1: State annual GDP summary (default)

  • SAGDP9: Real GDP by state

  • SQGDP1: State quarterly GDP summary

GeoFips: 'STATE' for all states, or 5-digit FIPS (e.g. '06000' for CA)

Inputs: year, geo_fips, line_code, table_name.

bea_gdp_nationalA
Read-onlyIdempotent

Get U.S. national GDP data from the NIPA tables. Shows GDP, GDP growth, components (consumption, investment, government, net exports), and deflators.

Common table names:

  • T10101: GDP and major components (real)

  • T10106: GDP and major components (nominal)

  • T10111: GDP percent change

  • T20100: Personal income and its disposition

  • T30100: Government receipts and expenditures

Inputs: year, frequency, table_name.

bea_input_outputA
Read-onlyIdempotent

Get Input-Output statistics — Make Tables, Use Tables, and Requirements tables.

Shows interrelationships between U.S. producers and users.

Use bea_dataset_info (action='get_values', dataset_name='InputOutput', parameter_name='TableID') to discover available table IDs.

Inputs: year (required), table_id (required).

bea_international_investmentA
Read-onlyIdempotent

Get U.S. international investment position (IIP) data.

Shows end-of-period accumulated stocks of U.S. financial assets and liabilities.

TypeOfInvestment examples:

  • FinAssetsExclFinDeriv: U.S. assets excl derivatives (default)

  • FinLiabsExclFinDeriv: U.S. liabilities excl derivatives

  • DirInvAssets: Direct investment assets

  • FinLiabsFoa: Liabilities to foreign official agencies

Component: 'Pos' (position), 'ChgPosTrans' (change from transactions), 'ChgPosPrice' (from price changes), 'ChgPosXRate' (from exchange rates)

Inputs: year, component, frequency, type_of_investment.

bea_international_transactionsA
Read-onlyIdempotent

Get U.S. international transactions (balance of payments) data.

Tracks all transactions between U.S. and foreign residents: goods/services trade, current account, financial account, capital transfers.

Indicator examples:

  • BalGds: Balance on goods (default)

  • BalServ: Balance on services

  • BalCurAcct: Current account balance

  • ExpGds/ImpGds: Exports/Imports of goods

  • PfInvAssets: Portfolio investment assets

Frequency: A=annual, QSA=quarterly seasonally adjusted, QNSA=not adjusted

Inputs: year, frequency, indicator, area_or_country.

bea_intl_services_tradeA
Read-onlyIdempotent

Get U.S. international trade in services data (annual).

IMPORTANT: BEA requires either a specific TypeOfService or a specific AreaOrCountry. You cannot use 'All' for both simultaneously.

TypeOfService: 'All' (default), or specific: 'Telecom', 'Travel', 'Transport', 'Insurance', 'Financial', 'Comp', 'ChargesForTheUseOfIpNie', etc. Use bea_dataset_info to discover all values.

TradeDirection: 'All' (default), 'Exports', 'Imports', 'Balance', 'SupplementalIns'

Affiliation: 'All' (default), 'AllAffiliations', 'Affiliated', 'Unaffiliated', 'UsParents', 'UsAffiliates'

Inputs: year, affiliation, area_or_country, trade_direction, +1 more.

bea_multinational_enterprisesA
Read-onlyIdempotent

Get data on Direct Investment (DI) and Activities of Multinational Enterprises (AMNE).

DirectionOfInvestment (required):

  • 'Outward': U.S. investment abroad / foreign affiliates

  • 'Inward': Foreign investment in U.S. / U.S. affiliates

  • 'State': U.S. affiliates at state level (AMNE only)

  • 'Parent': U.S. parent enterprises (AMNE only)

Classification (required): 'Country', 'Industry', 'CountryByIndustry'

For AMNE stats, also set ownership_level ('0'=majority-owned, '1'=all) and non_bank_affiliates_only ('0'=both, '1'=nonbank only).

Inputs: year (required), classification (required), direction_of_investment (required), state, +5 more.

bea_nipa_underlying_detailA
Read-onlyIdempotent

Get NIPA underlying detail data — more granular national account breakdowns.

BEA caution: these detailed estimates are lower quality than published aggregates.

Common tables: U20305 (PCE current $), U70205S (auto sales/production monthly), U001A (GDP), U20304 (PCE by type). Use bea_dataset_info to discover all tables.

Inputs: year, frequency, table_name.

bea_personal_incomeA
Read-onlyIdempotent

Get personal income data by state from BEA Regional dataset.

Table options:

  • SAINC1: Personal income summary (income, population, per capita) — default

  • SAINC3: Per capita personal income only

  • SAINC4: Personal income by major component (wages, dividends, transfers)

LineCode for SAINC1: 1=personal income, 2=population, 3=per capita income (default) LineCode for SAINC4: 1=total, 50=wages, 45=dividends/interest/rent, 47=transfer receipts

Inputs: year, geo_fips, line_code, table_name.

bea_underlying_gdp_by_industryA
Read-onlyIdempotent

Get Underlying GDP by Industry — more industry detail than the main GDPbyIndustry dataset.

Annual data only, starting from 1997. BEA caution: quality of these detailed estimates is lower than published aggregates.

Use bea_dataset_info to discover valid TableIDs and Industry codes.

Inputs: year, industry, table_id.

bls_cpi_breakdownA
Read-onlyIdempotent

Get a breakdown of Consumer Price Index by component — food, shelter, energy, medical care, transportation, etc. Shows which categories are driving inflation.

Inputs: end_year, start_year.

bls_employment_by_industryA
Read-onlyIdempotent

Get employment numbers broken down by major industry sector. Shows which sectors are growing or shrinking.

Inputs: end_year, start_year.

bls_search_seriesA
Read-onlyIdempotent

Look up popular BLS series IDs by topic. BLS doesn't have a search API, so this provides curated series IDs for common topics.

Topics: employment, unemployment, wages, cpi, cpi_components, ppi, productivity, jolts, state_employment

Inputs: topic (required), state.

bls_series_dataA
Read-onlyIdempotent

Fetch time series data from the Bureau of Labor Statistics. Returns monthly/quarterly/annual observations for employment, wages, prices, and more.

Popular series IDs:

  • CES0000000001: Total nonfarm employment (thousands)

  • LNS14000000: Unemployment rate

  • CUUR0000SA0: CPI-U All Items

  • CES0500000003: Average hourly earnings, total private

  • JTS000000000000000JOR: Job openings rate (JOLTS)

  • PRS85006092: Nonfarm business labor productivity

Series ID prefixes: CES (jobs by industry), LNS (unemployment), CU (CPI), WP (PPI), OE (wages), JT (JOLTS)

Inputs: series_ids (required), end_year, start_year.

bts_border_crossingsA
Read-onlyIdempotent

Get border crossing data at U.S. ports of entry: trucks, personal vehicles, pedestrians, train passengers, containers. Covers U.S.-Mexico and U.S.-Canada borders. Monthly data by port, state, and measure type.

Inputs: limit, state, border, measure, +1 more.

bts_transport_statsB
Read-onlyIdempotent

Get Monthly Transportation Statistics — 50+ national indicators including: • Airline passenger traffic and on-time performance % • Transit ridership, highway vehicle miles • Rail freight, Amtrak ridership and on-time % • Truck tonnage, fuel prices, vehicle sales • Transportation Services Index (freight, passenger, combined) • Border crossing summaries (trucks, persons) • Safety fatalities (air, rail) Monthly data going back to 1947 for some series.

Inputs: limit, end_date, start_date.

calc_contract_ratesB
Read-onlyIdempotent

Get all ceiling rates for a specific GSA MAS contract by its contract number (IDV PIID). Shows all labor categories and rates awarded under that contract.

Inputs: contract_number (required), page_size.

calc_search_ratesA
Read-onlyIdempotent

Search GSA CALC+ ceiling rates for federal labor categories. Find awarded hourly rates on GSA MAS professional services contracts. Search by keyword (wildcard across labor category, vendor, contract), exact field match, or browse with filters. Useful for market research, IGCEs, and competitive pricing. Data refreshed daily.

Inputs: sin, page, sort, search, +12 more.

calc_suggestA
Read-onlyIdempotent

Autocomplete/suggest values for labor categories, vendor names, or contract numbers in GSA CALC+ data. Useful for finding exact values to use in calc_search_rates. Uses 'contains' matching (2 char min).

Inputs: field (required), prefix (required).

cdc_birth_indicatorsA
Read-onlyIdempotent

Get quarterly provisional birth indicators: fertility rates, teen birth rates, \npreterm birth rates, cesarean delivery rates, low birthweight — by race/ethnicity.\nTopics: 'General Fertility', 'Teen Birth', 'Preterm', 'Cesarean', 'Low Birthweight', 'NICU', 'Medicaid'

Inputs: limit, topic, race_ethnicity.

cdc_causes_of_deathB
Read-onlyIdempotent

Get leading causes of death in the U.S. by state and year. Data from 1999–2017. Causes include heart disease, cancer, kidney disease, etc.

Inputs: year, limit, state.

cdc_covidA
Read-onlyIdempotent

Get COVID-19 weekly case and death counts by state (data through early 2023). States use two-letter abbreviations: 'NY', 'CA', 'TX'.

Inputs: limit, state.

cdc_death_rates_historicalA
Read-onlyIdempotent

Get age-adjusted death rates for major causes since 1900.\nCauses: 'Heart Disease', 'Cancer', 'Stroke', 'Unintentional injuries', 'CLRD' (chronic lower respiratory diseases).\nGreat for long-term trend analysis — 120+ years of data.

Inputs: cause, limit, end_year, start_year.

cdc_disabilityB
Read-onlyIdempotent

Get disability prevalence by state and type from BRFSS survey. Types: 'Any Disability', 'Mobility Disability', 'Cognitive Disability', 'Hearing Disability', 'Vision Disability', 'Self-care Disability', 'Independent Living Disability', 'No Disability'

Inputs: limit, state, disability_type.

cdc_drug_overdoseA
Read-onlyIdempotent

Get drug poisoning/overdose mortality by state (1999–2016).\nIncludes death rates by state, sex, race, and age group. Critical for opioid crisis analysis.

Inputs: sex, year, limit, state.

cdc_life_expectancyA
Read-onlyIdempotent

Get U.S. life expectancy at birth by race and sex (1900–2018). Races: 'All Races', 'Black', 'White'. Sex: 'Both Sexes', 'Male', 'Female'. Note: Data goes through 2018. For more recent mortality trends, use cdc_mortality_rates.

Inputs: sex, race, year, limit.

cdc_mortality_ratesA
Read-onlyIdempotent

Get provisional age-adjusted death rates by cause, sex, and state (quarterly, 2020–present). Causes: 'All causes', 'Heart disease', 'Cancer', 'COVID-19', 'Drug overdose', 'Suicide', etc. Returns rate_overall, rate_sex_female, rate_sex_male, and per-state rates.

Inputs: cause, limit, quarter, rate_type.

cdc_nutrition_obesityA
Read-onlyIdempotent

Get adult obesity, physical inactivity, and fruit/vegetable consumption by state from BRFSS.\nTopics: 'Obesity', 'Physical Activity', 'Fruits and Vegetables'. Data by state, race, age, income, education.

Inputs: limit, state, topic.

cdc_places_cityA
Read-onlyIdempotent

Get city-level health indicators from CDC PLACES — obesity, diabetes, smoking, depression, sleep, blood pressure, mental health, and 30+ more measures for every U.S. city with population > 50,000. Each row contains ALL measures for a city as separate columns (e.g. obesity_crudeprev, diabetes_crudeprev).

Inputs: city, limit, state.

cdc_places_healthA
Read-onlyIdempotent

Get county-level health indicators from CDC PLACES (BRFSS-based estimates). Measures: OBESITY, DIABETES, CSMOKING (smoking), BINGE (binge drinking), BPHIGH (high BP), DEPRESSION, SLEEP (short sleep), CHD (heart disease), COPD, CANCER, STROKE, ARTHRITIS, CASTHMA (asthma), MHLTH (mental distress), PHLTH (physical distress), LPA (physical inactivity), ACCESS2 (no health insurance), DENTAL, CHECKUP, KIDNEY, HIGHCHOL, TEETHLOST, FOODINSECU (food insecurity), LONELINESS, HOUSINSECU (housing insecurity) Returns crude prevalence (%) by county.

Inputs: limit, state, measure.

cdc_queryB
Read-onlyIdempotent

Custom query against any CDC dataset using SODA syntax. Datasets: bi63-dtpu (death 1999–2017), w9j2-ggv5 (life expectancy), 489q-934x (mortality rates), swc5-untb (PLACES county), dxpw-cm5u (PLACES city), pwn4-m3yp (COVID), r8kw-7aab (weekly deaths), s2qv-b27b (disability), xbxb-epbu (drug overdose), hn4x-zwk7 (nutrition/obesity), 6rkc-nb2q (historical death rates), 76vv-a7x8 (birth indicators)

Inputs: dataset_id (required), group, limit, order, +2 more.

cdc_weekly_deathsA
Read-onlyIdempotent

Get weekly provisional death counts by state — COVID-19, pneumonia, influenza, and total deaths. THIS IS THE MOST CURRENT CDC MORTALITY DATA — updated weekly, covers 2020–present. Includes percent_of_expected_deaths to detect excess mortality.

Inputs: year, limit, state.

census_populationA
Read-onlyIdempotent

Get population data for U.S. states using the American Community Survey. Quick shortcut — for more flexibility use census_query directly.

Inputs: year, state.

census_queryA
Read-onlyIdempotent

Query the U.S. Census Bureau Data API. Supports ACS, Decennial Census, Population Estimates, Economic Census, and more. Returns data for specified variables and geography.

Common datasets: '2023/acs/acs1' (1yr), '2023/acs/acs5' (5yr), '2020/dec/pl' (Decennial), '2023/pep/population' Common variables: NAME, B01001_001E (population), B19013_001E (median income), B25077_001E (home value), B01002_001E (median age)

Inputs: dataset (required), for_geo (required), variables (required), in_geo.

census_search_variablesA
Read-onlyIdempotent

Search for Census variable names/codes by keyword. Helps discover what data is available in a given dataset. Returns variable IDs you can use with census_query.

Inputs: dataset (required), keyword (required), max_results.

cfpb_complaint_aggregationsA
Read-onlyIdempotent

Get complaint counts grouped by a field (product, company, state, issue, etc.). Useful for ranking companies by complaint volume, identifying top issues, or comparing states. Aggregation fields: 'product', 'company', 'state', 'issue', 'company_response', 'timely', 'submitted_via', 'tags'.

Inputs: field (required), issue, state, company, +3 more.

cfpb_complaint_detailA
Read-onlyIdempotent

Get full details for a specific complaint by its Complaint ID. Returns all fields: product, issue, company, narrative (if consented), response, dates, etc.

Inputs: complaint_id (required).

cfpb_search_complaintsA
Read-onlyIdempotent

Search the CFPB consumer complaint database (13M+ records). Find complaints by company, product, state, issue, date, or keyword. Returns individual complaints with company responses. Company names auto-retry with fuzzy search if exact match fails (e.g. 'Wells Fargo' will find 'WELLS FARGO & COMPANY'). Products: 'Mortgage', 'Debt collection', 'Credit card or prepaid card', 'Checking or savings account', 'Student loan', 'Vehicle loan or lease', 'Credit reporting, credit repair services, or other personal consumer reports'.

Inputs: size, sort, tags, issue, +10 more.

cfpb_state_complaintsA
Read-onlyIdempotent

Get complaint information broken down by state (geographic view). Returns complaint counts and data for each state. Useful for maps and state comparisons. Applies the same filters as search (product, company, date, etc.).

Inputs: tags, issue, company, product, +2 more.

cfpb_suggest_companyA
Read-onlyIdempotent

Autocomplete/suggest company names from the CFPB complaint database. Useful for finding the exact company name before searching complaints.

Inputs: text (required), size.

clear_cacheA
DestructiveIdempotent

Clear cached API responses to force fresh data on next query. Specify a source name or omit to clear all.

Inputs: source.

clinical_trials_by_locationA
Read-onlyIdempotent

Search for clinical trials near a geographic location. Uses the ClinicalTrials.gov geo-distance filter to find trials within a radius of a latitude/longitude point. Combine with condition or intervention filters to find specific trials nearby.

Inputs: latitude (required), longitude (required), status, distance, +3 more.

clinical_trials_detailA
Read-onlyIdempotent

Get full details for a specific clinical trial by NCT ID. Returns protocol, eligibility, arms/interventions, design, locations, contacts, and oversight info. Use the fields param to request only specific sections (reduces response size).

Inputs: nct_id (required), fields.

clinical_trials_enumsA
Read-onlyIdempotent

List all valid enum values for ClinicalTrials.gov data fields. Returns every enum type (Status, Phase, StudyType, InterventionType, etc.) with all valid values. Use as a reference when building search filters or understanding field values.

Inputs: enum_type.

clinical_trials_field_sizesB
Read-onlyIdempotent

Get statistics on list/array field sizes in the ClinicalTrials.gov database. Shows min/max/top sizes for array fields like Condition, Intervention, Phase. Useful for understanding data distribution.

Inputs: fields.

clinical_trials_field_valuesA
Read-onlyIdempotent

Get value statistics for study data fields — top values, counts, and distributions. Powerful analytics tool: find top conditions, top sponsors, phase distributions, intervention type counts. Examples: fields='Phase' shows trial count by phase; fields='Condition' shows top conditions.

Inputs: fields (required), types.

clinical_trials_metadataA
Read-onlyIdempotent

Explore the ClinicalTrials.gov study data model — field names, types, and descriptions. Use to discover available fields for the fields parameter in search/detail tools, or to build advanced filter expressions with AREA[] syntax.

Inputs: include_indexed_only, include_historic_only.

clinical_trials_resultsA
Read-onlyIdempotent

Get posted results for a completed clinical trial by NCT ID. Returns outcome measures, adverse events (serious + other), participant flow, and baseline characteristics. Only works for trials where hasResults=true. Use clinical_trials_search with agg_filters='results:with' to find them.

Inputs: nct_id (required).

clinical_trials_size_statsB
Read-onlyIdempotent

Get database statistics: total study count, average study JSON size, size distribution, and largest studies. Quick overview of the ClinicalTrials.gov database scope and data volume.

Inputs: no named parameters.

clinical_trials_statsA
Read-onlyIdempotent

Get trial count breakdown by recruitment status for a condition or drug/intervention. Shows how many trials are recruiting, active, completed, terminated, etc. Works for diseases ('breast cancer') AND drug names ('semaglutide', 'pembrolizumab'). Queries 8 statuses in parallel for comprehensive breakdown.

Inputs: condition (required), search_as_drug.

cms_hospitalsA
Read-onlyIdempotent

Query CMS hospital data: general info, quality ratings, mortality, readmissions, infections, patient surveys, Medicare spending. Filter by state or city.

Inputs: city, limit, state, dataset.

cms_nursing_homesA
Read-onlyIdempotent

Query CMS nursing home data: provider info with five-star ratings, quality measures, health deficiencies/citations. Filter by state.

Inputs: limit, state, dataset.

cms_queryA
Read-onlyIdempotent

General-purpose query against any CMS provider dataset by dataset identifier. Use cms_search to find available datasets and their IDs. Supports filtering by any field.

Inputs: dataset_id (required), limit, offset, filter_field, +1 more.

code_modeA
Read-onlyIdempotent

Run a JavaScript processing script against any tool's output in a WASM sandbox. Calls the specified tool first, then runs your script with the raw response as DATA (string). Only your script's console.log() output enters context — typically 65-99% smaller.

USE THIS when you need specific fields, counts, or filters from a large response. DO NOT use this when you need to read and interpret the full data for cross-referencing or analysis.

The script can: JSON.parse(DATA), use loops/map/filter/reduce, Math, string ops, console.log(). The script CANNOT: access files, network, Node.js APIs, or import modules.

Example — count serious reactions for a drug: tool='fda_drug_events', tool_args={"search":"patient.drug.openfda.brand_name:aspirin","limit":100}, code='const d=JSON.parse(DATA);const data=d.data||d;const items=data.items||data.results||[];' + 'const counts={};items.forEach(r=>{const rxs=r.reactions||[];rxs.forEach(rx=>{counts[rx]=(counts[rx]||0)+1})});' + 'Object.entries(counts).sort((a,b)=>b[1]-a[1]).slice(0,10).forEach(([k,v])=>console.log(k+": "+v))'

Inputs: code (required), tool (required), tool_args.

congress_amendment_amendmentsA
Read-onlyIdempotent

Get sub-amendments to a specific amendment. Shows amendments that modify the parent amendment.

Inputs: congress (required), amendment_type (required), amendment_number (required), limit.

congress_amendment_cosponsorsB
Read-onlyIdempotent

Get cosponsors of a specific amendment. Shows party affiliation and sponsorship details.

Inputs: congress (required), amendment_type (required), amendment_number (required), limit.

congress_amendment_detailsA
Read-onlyIdempotent

Get detailed information about a specific amendment, including its actions/timeline. Requires congress number, amendment type (hamdt/samdt), and amendment number.

Inputs: congress (required), amendment_type (required), amendment_number (required).

congress_amendmentsA
Read-onlyIdempotent

Search/list amendments by congress and optional type (hamdt = House, samdt = Senate, suamdt = Senate Unnumbered). Returns amendment number, type, sponsor, purpose, and status.

Inputs: limit, congress, toDateTime, fromDateTime, +1 more.

congress_amendment_textB
Read-onlyIdempotent

Get text versions for a specific amendment (from 117th Congress onwards). Returns version types and format URLs (PDF, HTML).

Inputs: congress (required), amendment_type (required), amendment_number (required).

congress_bill_actionsA
Read-onlyIdempotent

Get the full action history / timeline for a bill — every step from introduction through committee, floor votes, amendments, and signing. Shows recorded roll-call vote numbers when available.

Use congress_search_bills first to find the congress number, bill type, and bill number.

Inputs: congress (required), bill_type (required), bill_number (required), limit.

congress_bill_amendmentsA
Read-onlyIdempotent

Get amendments filed on a specific bill. Shows amendment sponsors, purposes, and status. Critical for tracking how bills are modified (e.g., 'gutted and replaced').

Inputs: congress (required), bill_type (required), bill_number (required), limit.

congress_bill_committeesA
Read-onlyIdempotent

Get committees a bill was referred to, with activity dates. Shows which committees had jurisdiction and what actions they took (referral, hearings, markup, reporting).

Inputs: congress (required), bill_type (required), bill_number (required).

congress_bill_cosponsorsA
Read-onlyIdempotent

Get the full list of cosponsors for a bill with party affiliation and sponsorship dates. Returns individual cosponsor details unlike congress_bill_details which only provides a party breakdown summary.

Inputs: congress (required), bill_type (required), bill_number (required), sort, +1 more.

congress_bill_detailsA
Read-onlyIdempotent

Get detailed information about a specific bill including sponsors, cosponsors with party breakdown, actions, committees, and current status.

Inputs: congress (required), bill_type (required), bill_number (required).

congress_bill_full_profileA
Read-onlyIdempotent

Get a COMPLETE bill profile in ONE call — combines bill details, all cosponsors (with party breakdown), full action timeline, CRS summaries, committees, legislative subjects, text versions, related bills, and all titles. Fetches 8 endpoints in parallel. Use this instead of calling congress_bill_details + congress_bill_actions + congress_bill_summaries + congress_bill_committees + congress_bill_subjects + congress_bill_text + congress_bill_related + congress_bill_titles individually.

Ideal for: Complete legislative analysis, bill research, accountability investigations, or getting everything needed to cross-reference with FEC (who funded the sponsors), lobbying_search (who lobbied), and FRED (economic impact after passage).

Inputs: congress (required), bill_type (required), bill_number (required).

congress_bill_subjectsA
Read-onlyIdempotent

Get legislative subjects tagged on a bill, plus the primary policy area. Useful for finding all bills on a topic and for cross-referencing with lobbying data.

Inputs: congress (required), bill_type (required), bill_number (required), limit.

congress_bill_summariesA
Read-onlyIdempotent

Get CRS (Congressional Research Service) summaries of a bill. These are plain-English, non-partisan summaries written by CRS analysts. Multiple versions may exist (as introduced, as reported, as passed).

Inputs: congress (required), bill_type (required), bill_number (required).

congress_bill_textA
Read-onlyIdempotent

Get available text versions for a bill (e.g., introduced, reported, engrossed, enrolled). Returns version types and format URLs. For full bill text content, use govinfo_bill_text.

Inputs: congress (required), bill_type (required), bill_number (required).

congress_bill_titlesA
Read-onlyIdempotent

Get all titles for a bill — short titles, official titles, display titles, and titles as they appeared in different text versions. Useful for finding the popular name of legislation (e.g., 'Inflation Reduction Act').

Inputs: congress (required), bill_type (required), bill_number (required), limit.

congress_bill_votesA
Read-onlyIdempotent

Find ALL roll-call votes on a specific bill and fetch the party-line breakdowns — the KEY tool for 'follow the money' investigations. Scans the bill's action timeline for recorded vote references, then fetches each House and Senate vote with member-level results and party tallies.

This is the critical bridge between legislation and accountability: • Bill → Votes (this tool) • Votes → Who voted how (party tallies returned here) • Who voted → Who funded them (fec_candidate_financials / fec_committee_disbursements) • Who lobbied → lobbying_search

Returns all House and Senate roll-call votes associated with the bill, with full party breakdowns.

Inputs: congress (required), bill_type (required), bill_number (required).

congress_bound_congressional_recordA
Read-onlyIdempotent

Get bound Congressional Record issues — the permanent, final publication of proceedings. Filter by year, month, and day.

Inputs: day, year, limit, month.

congress_committee_billsA
Read-onlyIdempotent

Get bills referred to a specific committee. Use congress_committees to find the committee system code. Useful for tracking which bills die in committee vs. get reported out.

Inputs: chamber (required), committee_code (required), limit.

congress_committee_detailsB
Read-onlyIdempotent

Get detailed information about a specific congressional committee by chamber and committee code. Returns full history, website URL, subcommittees, bill/report counts, and related communications.

Inputs: chamber (required), committee_code (required).

congress_committee_details_by_congressA
Read-onlyIdempotent

Get detailed information about a committee filtered by a specific congress number. Shows membership for that specific congress vs. all-time details from congress_committee_details.

Inputs: chamber (required), congress (required), committee_code (required).

congress_committee_full_profileA
Read-onlyIdempotent

Get a COMPLETE committee profile in ONE call — combines committee details (history, subcommittees, website), recent bills referred, recent reports published, and recent nominations referred (4 endpoints in parallel). Use this instead of calling congress_committee_details + congress_committee_bills + congress_committee_reports_for_committee + congress_committee_nominations_for_committee individually.

Ideal for: Understanding a committee's jurisdiction, workload, and oversight activity. Cross-reference committee chair (from congress_member_details) with FEC donors and lobbying_search.

Inputs: chamber (required), committee_code (required), limit.

congress_committee_house_communicationsA
Read-onlyIdempotent

Get House communications referred to a specific House committee.

Inputs: committee_code (required), limit.

congress_committee_meeting_detailsA
Read-onlyIdempotent

Get detailed information about a specific committee meeting including title, committees, witnesses, meeting documents, related bills, and video links.

Inputs: chamber (required), congress (required), event_id (required).

congress_committee_meetingsB
Read-onlyIdempotent

List committee meetings (hearings, markups, etc.) with dates, locations, and topics. Filter by congress and chamber.

Inputs: limit, chamber, congress, toDateTime, +1 more.

congress_committee_nominations_for_committeeA
Read-onlyIdempotent

Get nominations referred to a specific committee. Useful for tracking judicial or agency head nominations before a particular Senate committee.

Inputs: chamber (required), committee_code (required), limit.

congress_committee_print_detailsA
Read-onlyIdempotent

Get details about a specific committee print by congress, chamber, and jacket number.

Inputs: chamber (required), congress (required), jacket_number (required).

congress_committee_printsA
Read-onlyIdempotent

List committee prints — publications ordered by committees that are not committee reports. Often include Rules Committee prints with bill text for floor consideration.

Inputs: limit, chamber, congress, toDateTime, +1 more.

congress_committee_print_textB
Read-onlyIdempotent

Get text versions for a committee print. Returns formatted text and PDF URLs.

Inputs: chamber (required), congress (required), jacket_number (required).

congress_committee_report_detailsA
Read-onlyIdempotent

Get detailed information about a specific committee report, including associated bills, title, issue date, and text versions.

Inputs: congress (required), report_type (required), report_number (required).

congress_committee_reportsA
Read-onlyIdempotent

List committee reports — formal reports accompanying legislation reported out of committee. Filter by congress, report type (hrpt/srpt/erpt), and conference report flag. Critical for understanding committee intent and legislative history.

Inputs: limit, congress, conference, toDateTime, +2 more.

congress_committee_reports_for_committeeA
Read-onlyIdempotent

Get reports published by a specific committee. Shows formal committee reports accompanying legislation — use congress_committees to find the committee system code.

Inputs: chamber (required), committee_code (required), limit, toDateTime, +1 more.

congress_committee_report_textA
Read-onlyIdempotent

Get text versions for a committee report. Returns formatted text and PDF URLs.

Inputs: congress (required), report_type (required), report_number (required).

congress_committeesA
Read-onlyIdempotent

List congressional committees. Filter by congress number and/or chamber (house, senate, joint). Returns committee name, system code, and chamber.

Inputs: limit, chamber, congress, toDateTime, +1 more.

congress_committee_senate_communicationsA
Read-onlyIdempotent

Get Senate communications referred to a specific Senate committee.

Inputs: committee_code (required), limit.

congress_congressional_recordB
Read-onlyIdempotent

Get Congressional Record issues — the official daily record of debate, speeches, and proceedings in Congress. Filter by year, month, and day.

Inputs: day, year, limit, month.

congress_crs_report_detailsA
Read-onlyIdempotent

Get detailed information about a specific CRS report by report number/ID. Returns full summary, authors, topics, related legislation, and format links (PDF, etc.).

Inputs: report_number (required).

congress_crs_reportsB
Read-onlyIdempotent

Get Congressional Research Service reports — authoritative, nonpartisan analysis on legislative topics. CRS reports are considered the gold standard for policy research.

Inputs: limit, toDateTime, fromDateTime.

congress_daily_congressional_recordA
Read-onlyIdempotent

Get daily Congressional Record issues with sections (Senate, House, Extensions of Remarks, Daily Digest). Filter by volume and issue number for specific issues, or list recent issues.

Inputs: limit, issue_number, volume_number.

congress_hearing_detailsB
Read-onlyIdempotent

Get detailed information about a specific hearing including title, date, committees, associated meeting, citation, and available text formats.

Inputs: chamber (required), congress (required), jacket_number (required).

congress_hearingsA
Read-onlyIdempotent

List congressional hearings. Filter by congress and chamber. Hearings are formal proceedings where committees gather testimony from witnesses.

Inputs: limit, chamber, congress.

congress_house_communication_detailsB
Read-onlyIdempotent

Get detailed information about a specific House communication including abstract, committees, submitting agency, and legal authority.

Inputs: congress (required), communication_type (required), communication_number (required).

congress_house_communicationsA
Read-onlyIdempotent

List House communications — executive communications, memorials, presidential messages, and petitions referred to House committees. Types: ec (Executive Communication), ml (Memorial), pm (Presidential Message), pt (Petition).

Inputs: limit, congress, communication_type.

congress_house_requirement_detailsB
Read-onlyIdempotent

Get detailed information about a specific House requirement including legal authority, frequency, nature, and matching communications count.

Inputs: requirement_number (required).

congress_house_requirement_matching_communicationsA
Read-onlyIdempotent

Get communications that match a specific House requirement. Shows agency submissions fulfilling a recurring reporting obligation.

Inputs: requirement_number (required), limit.

congress_house_requirementsB
Read-onlyIdempotent

List House requirements — recurring reporting obligations from executive agencies to Congress. Shows requirement number, frequency, and matching communications count.

Inputs: limit.

congress_house_votesA
Read-onlyIdempotent

Get House of Representatives roll call vote results with member-level party breakdown. Primary source: Congress.gov API (118th-119th Congress); falls back to clerk.house.gov XML for older congresses. Coverage: 1990 to present. Use year param for historical votes. Cross-reference with: congress_senate_votes (same bill's Senate vote), FEC (congress_member donors via fec_candidate_financials), lobbying_search (who lobbied on the bill), FRED (economic impact 1-3 years after passage). For Senate votes, use congress_senate_votes.

Inputs: year, limit, session, congress, +1 more.

congress_infoA
Read-onlyIdempotent

Get information about congresses and their sessions — start/end dates, session numbers, and chambers. Use to look up when a congress was in session, or get current congress details.

Inputs: limit, current, congress.

congress_law_detailsA
Read-onlyIdempotent

Get detailed information about a specific public or private law, including sponsors, CBO cost estimates, committee reports, and constitutional authority statement. Requires congress number, law type, and law number.

Inputs: congress (required), law_type (required), law_number (required).

congress_member_billsA
Read-onlyIdempotent

Get bills sponsored or cosponsored by a specific member of Congress. Requires the member's BioGuide ID (use congress_search_members to find it).

Inputs: bioguide_id (required), type, limit.

congress_member_detailsA
Read-onlyIdempotent

Get detailed information about a specific member of Congress by BioGuide ID. Returns full bio, party history, all terms served, committee assignments, photo URL, and official website.

Use congress_search_members first to find the BioGuide ID.

Inputs: bioguide_id (required).

congress_member_full_profileA
Read-onlyIdempotent

Get a COMPLETE member of Congress profile in ONE call — combines bio/details, recent sponsored legislation, and recent cosponsored legislation (3 endpoints in parallel). Returns party history, terms served, committee assignments, photo, website, plus legislative activity.

Use this instead of calling congress_member_details + congress_member_bills (sponsored) + congress_member_bills (cosponsored) individually.

Ideal for: Accountability research — cross-reference with FEC (fec_candidate_financials) for donors, lobbying_search for industry lobbying, and congress_house_votes / congress_senate_votes for voting record.

Inputs: bioguide_id (required), bill_limit.

congress_nomination_committeesA
Read-onlyIdempotent

Get committees associated with a nomination. Shows committee activities (referral, hearing, discharge).

Inputs: congress (required), nomination_number (required).

congress_nomination_detailsA
Read-onlyIdempotent

Get detailed information about a specific presidential nomination, including all actions (committee referral, hearing, vote, confirmation/rejection).

Inputs: congress (required), nomination_number (required).

congress_nomination_full_profileA
Read-onlyIdempotent

Get a COMPLETE presidential nomination profile in ONE call — combines nomination details, full action timeline, committee referrals/activity, and associated hearings (4 endpoints in parallel). Use this instead of calling congress_nomination_details + congress_nomination_committees + congress_nomination_hearings individually.

Ideal for: Tracking judicial and executive nominations from submission through confirmation/rejection. Cross-reference with lobbying_search for industry interest in the nominee.

Inputs: congress (required), nomination_number (required).

congress_nomination_hearingsA
Read-onlyIdempotent

Get printed hearings associated with a nomination. Shows hearing dates, citations, and chambers.

Inputs: congress (required), nomination_number (required).

congress_nomination_nomineesA
Read-onlyIdempotent

Get the list of nominees for a specific position within a nomination. Some nominations contain multiple positions (ordinals). Use congress_nomination_details first to see the ordinal numbers.

Inputs: ordinal (required), congress (required), nomination_number (required), limit.

congress_nominationsB
Read-onlyIdempotent

List presidential nominations to federal offices (judges, cabinet, ambassadors, agency heads). Shows nominee name, position, organization, and confirmation status.

Inputs: limit, congress, toDateTime, fromDateTime.

congress_recent_lawsA
Read-onlyIdempotent

Get recently enacted laws (bills signed by the President). Optionally filter by law type (public or private). Shows what legislation has become law.

Inputs: limit, congress, law_type.

congress_search_billsA
Read-onlyIdempotent

Search for bills in Congress by keyword, congress number, or bill type. Returns bill number, title, sponsor, latest action, and status.

Congress numbers: 118th (2023-2024), 119th (2025-2026), 117th (2021-2022). Bill types: hr (House), s (Senate), hjres, sjres, hconres, sconres, hres, sres

Inputs: sort, limit, query, offset, +4 more.

congress_search_membersA
Read-onlyIdempotent

Search for members of Congress by state, congress number, district, or get all current members. Supports: /member (all), /member/{stateCode} (by state), /member/{stateCode}/{district} (by district), /member/congress/{congress} (by congress), /member/congress/{congress}/{stateCode}/{district} (combined).

Inputs: limit, state, congress, district, +3 more.

congress_senate_communication_detailsB
Read-onlyIdempotent

Get detailed information about a specific Senate communication including abstract, committees, and congressional record date.

Inputs: congress (required), communication_type (required), communication_number (required).

congress_senate_communicationsA
Read-onlyIdempotent

List Senate communications — executive communications, presidential messages, and petitions/memorials referred to Senate committees. Types: ec (Executive Communication), pm (Presidential Message), pom (Petition or Memorial).

Inputs: limit, congress, communication_type.

congress_senate_votesA
Read-onlyIdempotent

Get Senate roll call vote results from senate.gov XML. Shows how senators voted by party on specific legislation, nominations, and procedural motions. Coverage: 101st Congress (1989) to present. Cross-reference with: congress_house_votes (same bill's House vote), FEC (senator donors via fec_candidate_financials), lobbying_search (who lobbied on the bill), congress_member_bills (senator's voting vs sponsoring patterns). For House votes, use congress_house_votes.

Inputs: limit, session, congress, vote_number.

congress_treatiesB
Read-onlyIdempotent

List treaties submitted to the Senate. Shows treaty topic, date transmitted, and ratification status.

Inputs: limit, congress, toDateTime, fromDateTime.

congress_treaty_committeesB
Read-onlyIdempotent

Get committees associated with a treaty. Typically the Senate Foreign Relations Committee.

Inputs: congress (required), treaty_number (required).

congress_treaty_detailsA
Read-onlyIdempotent

Get detailed information about a specific treaty, including all Senate actions (committee referral, hearings, ratification vote).

Inputs: congress (required), treaty_number (required).

congress_treaty_full_profileA
Read-onlyIdempotent

Get a COMPLETE treaty profile in ONE call — combines treaty details, full action timeline, and committee assignments (3 endpoints in parallel). Use this instead of calling congress_treaty_details + congress_treaty_committees individually.

Ideal for: International agreement research and Senate Foreign Relations Committee tracking.

Inputs: congress (required), treaty_number (required).

congress_treaty_partitioned_actionsA
Read-onlyIdempotent

Get actions on a partitioned treaty (one with a suffix letter). Shows committee referral, hearings, and ratification votes for a specific treaty partition.

Inputs: congress (required), treaty_number (required), treaty_suffix (required), limit.

congress_treaty_partitioned_detailsA
Read-onlyIdempotent

Get details about a partitioned treaty (one with a suffix letter like A, B, etc.). Some treaties are divided into parts, each identified by a suffix.

Inputs: congress (required), treaty_number (required), treaty_suffix (required).

doj_blog_detailA
Read-onlyIdempotent

Get the full text of a specific DOJ blog entry by UUID. Returns the complete body, component, topic, date, and URL.

Inputs: uuid (required).

doj_blog_entriesA
Read-onlyIdempotent

Search DOJ Office of Public Affairs blog entries (3,200+ records). Blog entries often provide more context and analysis than press releases. Covers policy discussions, division activities, and enforcement context.

Inputs: page, sort, pagesize, direction.

doj_press_release_detailA
Read-onlyIdempotent

Get the full text of a specific DOJ press release by UUID. Returns the complete body, component, topic, date, and URL.

Inputs: uuid (required).

doj_press_releasesA
Read-onlyIdempotent

Search DOJ press releases (262K+ records covering all DOJ divisions). Includes enforcement actions, indictments, settlements, and policy announcements. Filter by title keyword and sort by date. Components: FBI, DEA, ATF, Civil Rights Division, Antitrust, USAO, and more. Topics: Drug Trafficking, Cybercrime, National Security, Civil Rights, Financial Fraud, etc.

Inputs: page, sort, title, pagesize, +1 more.

dol_osha_accident_injuriesA
Read-onlyIdempotent

Get injury details from OSHA accident investigations. Returns demographics (age, sex), nature of injury, body part, source, degree of injury. Degree of injury: 1=Fatality, 2=Hospitalized, 3=Non-hospitalized. Link to accidents via summary_nr.

Inputs: limit, offset, summary_nr, degree_of_inj.

dol_osha_accidentsA
Read-onlyIdempotent

Search OSHA accident and fatality investigations. Returns event descriptions, dates, locations, and industry codes. Use dol_osha_accident_injuries to get injury details for a specific accident.

Inputs: limit, state, offset, sort_by, +3 more.

dol_osha_inspectionsA
Read-onlyIdempotent

Search OSHA workplace inspections. Find inspections by state, establishment name, industry (SIC/NAICS), or type. Inspection types: A=Accident, B=Complaint, C=Referral, H=Planned, L=Programmed high-hazard. Returns site details, inspection type/scope, open/close dates.

Inputs: limit, state, offset, sort_by, +5 more.

dol_osha_violationsA
Read-onlyIdempotent

Search OSHA violations found during workplace inspections. Violation types: S=Serious, W=Willful, R=Repeat, O=Other, U=Unclassified, F=Failure to abate. Returns standard cited, penalty amounts (initial and current), abatement status. Link to inspections via activity_nr.

Inputs: limit, offset, sort_by, standard, +3 more.

dol_ui_claims_nationalA
Read-onlyIdempotent

Get national weekly Unemployment Insurance (UI) initial and continued claims. Includes insured unemployment rate and covered employment. Key economic indicator — spikes indicate labor market stress.

Inputs: limit, offset, sort_by, sort_order.

dol_ui_claims_stateA
Read-onlyIdempotent

Get state-level weekly Unemployment Insurance (UI) claims. Compare initial claims, continued claims, and insured unemployment rate across states.

Inputs: limit, state, offset, sort_by, +1 more.

dol_whd_enforcementA
Read-onlyIdempotent

Search WHD (Wage and Hour Division) enforcement cases. Covers wage theft investigations: back wages owed, penalties assessed, violation counts. Laws enforced: FLSA (minimum wage/overtime), FMLA (family leave), Davis-Bacon (prevailing wage), SCA (service contracts). Data available since FY2005.

Inputs: limit, state, offset, sort_by, +3 more.

eia_electricityA
Read-onlyIdempotent

Get electricity retail prices, generation, or consumption by state and sector.

Sectors: residential (RES), commercial (COM), industrial (IND), transportation (TRA), all (ALL). Data types: 'price' (cents/kWh), 'revenue' (M$), 'sales' (MWh), 'customers'

Inputs: end, start, state, length, +4 more.

eia_natural_gasA
Read-onlyIdempotent

Get natural gas prices — Henry Hub spot price, citygate, residential, commercial, industrial, electric power.

Process codes: PRS (citygate), PRP (electric power), PRC (commercial), PRI (industrial), PRR (residential), PNG (Henry Hub spot)

Inputs: end, start, length, offset, +2 more.

eia_petroleumA
Read-onlyIdempotent

Get petroleum/oil prices — crude oil spot prices (WTI, Brent), retail gasoline prices, diesel, heating oil.

Product codes:

  • EPCBRENT: Brent crude oil spot price

  • EPCWTI: WTI crude oil spot price

  • EMM_EPMRU_PTE_NUS_DPG: US regular gasoline retail

  • EMM_EPMPU_PTE_NUS_DPG: US premium gasoline retail

  • EMD_EPD2D_PTE_NUS_DPG: US diesel retail

  • EER_EPJK_PF4_RGC_DPG: US jet fuel spot price

Inputs: end, start, length, offset, +2 more.

eia_state_energyA
Read-onlyIdempotent

Get state-level energy data from the State Energy Data System (SEDS). Covers production, consumption, expenditures, and prices by energy source for all 50 states.

MSN codes (energy data codes):

  • TETCB: Total energy consumption (trillion BTU)

  • TETCD: Total energy consumption per capita

  • TEPRB: Total energy production (trillion BTU)

  • ESTCB: Electricity total consumption

  • CLTCB: Coal consumption

  • NNTCB: Natural gas consumption

  • PATCB: Petroleum consumption

  • RETCB: Renewable energy consumption

  • NUETB: Nuclear energy consumption

Inputs: end, msn, start, state, +2 more.

eia_total_energyA
Read-onlyIdempotent

Get the monthly/annual U.S. energy overview — total production, consumption, imports, exports, and prices across all energy sources.

MSN codes:

  • ELETPUS: Electricity net generation

  • ELNIPUS: Electricity net imports

  • CLTCPUS: Coal consumption

  • NNTCPUS: Natural gas consumption

  • PATCPUS: All petroleum consumption

  • RETCPUS: Renewable energy consumption

  • NUETPUS: Nuclear electric power

Inputs: end, msn, start, length, +2 more.

epa_air_qualityA
Read-onlyIdempotent

Get air quality data from EPA's Air Quality System (AQS). Returns annual summary data by state (county-level monitor readings for criteria pollutants). Parameters: '14129' (Lead (Pb)), '42101' (CO (Carbon Monoxide)), '42401' (SO2 (Sulfur Dioxide)), '42602' (NO2 (Nitrogen Dioxide)), '44201' (Ozone), '81102' (PM10), '88101' (PM2.5 (FRM/FEM)), '88502' (PM2.5 (non-FRM, e.g. continuous)). Services: 'annualData' (Annual summaries (yearly statistics per monitor)), 'dailyData' (Daily summaries (daily mean, max, etc.)), 'quarterlyData' (Quarterly summaries (quarterly statistics)), 'sampleData' (Raw sample data (hourly or finer grain)). States use 2-digit FIPS codes: '01'=AL, '06'=CA, '37'=NC, '48'=TX. bdate/edate must be in same year (YYYYMMDD format). Requires AQS_API_KEY and AQS_EMAIL. Signup: https://aqs.epa.gov/data/api/signup

Inputs: bdate (required), edate (required), param (required), state (required), +2 more.

epa_aqs_dailyA
Read-onlyIdempotent

Get daily air quality summary data from EPA AQS. Returns daily mean, max, and observation count per monitor. Parameters: '14129' (Lead (Pb)), '42101' (CO (Carbon Monoxide)), '42401' (SO2 (Sulfur Dioxide)), '42602' (NO2 (Nitrogen Dioxide)), '44201' (Ozone), '81102' (PM10), '88101' (PM2.5 (FRM/FEM)), '88502' (PM2.5 (non-FRM, e.g. continuous)). Useful for tracking day-to-day pollution levels. Cross-reference with CDC health data. Requires AQS_API_KEY and AQS_EMAIL.

Inputs: bdate (required), edate (required), param (required), state (required), +1 more.

epa_aqs_monitorsA
Read-onlyIdempotent

Find air quality monitoring stations from EPA AQS. Returns monitor locations, operational dates, measurement types, and operating agencies. Parameters: '14129' (Lead (Pb)), '42101' (CO (Carbon Monoxide)), '42401' (SO2 (Sulfur Dioxide)), '42602' (NO2 (Nitrogen Dioxide)), '44201' (Ozone), '81102' (PM10), '88101' (PM2.5 (FRM/FEM)), '88502' (PM2.5 (non-FRM, e.g. continuous)). Useful for finding what is being measured and where. Requires AQS_API_KEY and AQS_EMAIL.

Inputs: bdate (required), edate (required), param (required), state (required), +1 more.

epa_drinking_waterA
Read-onlyIdempotent

Get Safe Drinking Water Information System (SDWIS) data by state. Returns public water systems with population served, source type, and system type. System types: 'CWS' (Community Water System (serves residents year-round)), 'NTNCWS' (Non-transient Non-community (serves 25+ of same people, e.g. schools)), 'TNCWS' (Transient Non-community (serves transient users, e.g. gas stations)). Cross-reference with CDC health data and Census population for per-capita analysis.

Inputs: state (required), rows.

epa_enforcementA
Read-onlyIdempotent

Search EPA enforcement cases -- civil and criminal actions with penalties, settlements, and outcomes. Case types: 'JDC' (Judicial (court) case), 'AFR' (Administrative formal (EPA order)). Returns case name, primary law violated, penalties, settlement dates, and outcomes. Cross-reference with DOJ press releases, SEC financials, lobbying data, and FEC contributions.

Inputs: state (required), law, limit.

epa_facilitiesB
Read-onlyIdempotent

Search EPA-regulated facilities for environmental compliance and violations via ECHO. Find facilities with air or water permit violations, inspections, and enforcement actions. Media types: 'air' (Clean Air Act (CAA) facilities via ICIS-Air), 'water' (Clean Water Act (CWA) facilities via ICIS-NPDES).

Inputs: state (required), limit, major_only, media_type, +1 more.

epa_facility_detailA
Read-onlyIdempotent

Get a detailed facility report from ECHO by registry ID. Returns permits, enforcement actions, compliance summaries, NAICS/SIC codes, and inspection history. Use epa_facilities first to find a RegistryID, then pass it here for the full report.

Inputs: registry_id (required).

epa_greenhouse_gasA
Read-onlyIdempotent

Get Greenhouse Gas (GHG) emissions data by state. Returns large emitters reporting under EPA's Greenhouse Gas Reporting Program (GHGRP). Includes CO2-equivalent emissions, facility name, sector, and location. Cross-reference with EIA energy data and BLS CPI energy component.

Inputs: state (required), rows.

epa_rcraA
Read-onlyIdempotent

Search RCRA hazardous waste facilities by state via ECHO. Returns generators, transporters, and treatment/storage/disposal (TSD) facilities regulated under RCRA Subtitle C. Cross-reference with epa_toxic_releases (TRI) and epa_greenhouse_gas for multi-program facility analysis.

Inputs: state (required), limit.

epa_superfundA
Read-onlyIdempotent

Get Superfund (CERCLA) contaminated sites by state. Returns site name, location, NPL status, and cleanup progress. NPL statuses: 'F' (Final NPL (active cleanup)), 'P' (Proposed NPL), 'D' (Deleted from NPL (cleanup completed)), 'N' (Not on NPL). Cross-reference with Census demographics, CDC health data, HUD housing values, and USAspending cleanup funding.

Inputs: state (required), rows.

epa_toxic_releasesA
Read-onlyIdempotent

Get Toxics Release Inventory (TRI) data by state. TRI tracks chemical releases from industrial facilities reported under EPCRA Section 313. Common sectors: 'Chemicals', 'Metal Mining', 'Electric Utilities', 'Petroleum', 'Food/Beverages/Tobacco', 'Paper', 'Primary Metals'. Cross-reference with epa_facilities for compliance status and epa_greenhouse_gas for emissions.

Inputs: state (required), rows, county.

epa_uv_indexA
Read-onlyIdempotent

Get UV index forecast for a U.S. location (ZIP code or city/state). UV Scale: 0-2 Low, 3-5 Moderate, 6-7 High, 8-10 Very High, 11+ Extreme. Useful for health recommendations -- high UV correlates with skin cancer risk.

Inputs: zip, city, state.

fbi_agenciesA
Read-onlyIdempotent

List law enforcement agencies in a U.S. state from the FBI CDE. Returns agencies grouped by county with ORI codes, coordinates, and NIBRS participation dates. Use ORI codes from this tool to query agency-level data in other FBI tools.

Inputs: state (required).

fbi_arrest_dataA
Read-onlyIdempotent

Get arrest statistics from the FBI at national, state, or agency level. Offense codes are numeric: 'all' (all offenses), '11' (murder), '20' (rape), '30' (robbery), '50' (aggravated assault), '150' (drug abuse), and 40+ more. Returns counts or totals broken down by year, age, sex, race, ethnicity.

Inputs: offense (required), ori, type, state, +2 more.

fbi_crime_summarizedA
Read-onlyIdempotent

Get summarized UCR crime data from the FBI at national, state, or agency level. Covers 10 offense categories: V (violent crime), P (property crime), HOM (homicide), RPE (rape), ROB (robbery), ASS (aggravated assault), BUR (burglary), LAR (larceny/theft), MVT (motor vehicle theft), ARS (arson). Returns year-by-year data with counts and rates.

Inputs: offense (required), ori, state, to_year, +1 more.

fbi_expanded_homicideA
Read-onlyIdempotent

Get expanded homicide (Supplementary Homicide Report) data from the FBI. Includes victim/offender demographics, weapons used, and circumstances. Available at national, state, or agency level.

Inputs: ori, type, state, to_year, +1 more.

fbi_expanded_propertyA
Read-onlyIdempotent

Get expanded property crime details from the FBI (Supplemental Return / Return A data). Provides additional breakdowns beyond summarized counts: value of stolen/recovered property, type of property, premises involved. Available for burglary (NB), larceny (NL), motor vehicle theft (NMVT), and robbery (NROB).

Inputs: offense (required), ori, type, state, +2 more.

fbi_hate_crimeA
Read-onlyIdempotent

Get hate crime data from the FBI at national, state, or agency level. Returns incidents broken down by bias category (race, religion, sexual orientation, etc.), offense type, victim type, offender demographics, and location type. Optionally filter by bias code (e.g., '12'=Anti-Black, '14'=Anti-Jewish, '22'=Anti-Islamic, '41'=Anti-Gay).

Inputs: ori, bias, type, state, +2 more.

fbi_law_enforcement_employeesA
Read-onlyIdempotent

Get law enforcement employee data (sworn officers, civilian employees) at national, state, or agency level. Shows staffing levels over time.

Inputs: ori, state, to_year, from_year.

fbi_lesdcC
Read-onlyIdempotent

Get Law Enforcement Suicide Data Collection (LESDC) statistics. Chart types: race, demographics, manner, location, employment, occupation, military, totals, duty, exp, experience, suffered, prior, investigation, wellness.

Inputs: year (required), chart_type (required).

fbi_nibrsA
Read-onlyIdempotent

Get NIBRS (National Incident-Based Reporting System) data from the FBI. More detailed than summarized UCR data — includes victim/offender demographics, relationships, weapons, location, and time of day for 71 offense types. Offense codes use NIBRS format: '13A' (aggravated assault), '09A' (murder), '23H' (all other larceny), '35A' (drug violations), '220' (burglary), etc.

Inputs: offense (required), ori, type, state, +2 more.

fbi_use_of_forceA
Read-onlyIdempotent

Get Use of Force data from the FBI. Covers incidents where law enforcement use of force resulted in death, serious injury, or firearm discharge. Available at federal (all federal agencies) or national (all participating agencies) level. Use scope='federal' for federal agencies, 'national' for all agencies participation data.

Inputs: year (required), scope (required), quarter.

fda_animal_eventsA
Read-onlyIdempotent

Search animal/veterinary adverse event reports (1.3M+ reports). Reports of drug side effects in animals — dogs, cats, horses, cattle, etc. Each report has: animal info (species, breed), drugs, reactions (VEDDRA terms), outcomes. Note: Some fields may contain 'MSK' (masked) values for privacy.

Example searches:

  • 'animal.species:"Dog"' — dog events

  • 'original_receive_date:[20200101+TO+20231231]' — events in date range

  • 'serious_ae:true' — serious adverse events only

Count fields: animal.species.exact, primary_reporter.exact, serious_ae

Inputs: limit, search.

fda_approved_drugsA
Read-onlyIdempotent

Search FDA-approved drugs (Drugs@FDA database). Find approved drugs by brand name, sponsor/manufacturer, or application number. Shows approval history, active ingredients, and marketing status.

Example searches:

  • 'openfda.brand_name:"Ozempic"' — find Ozempic

  • 'sponsor_name:"Pfizer"' — all Pfizer approvals

  • 'products.active_ingredients.name:"SEMAGLUTIDE"' — by ingredient

Inputs: limit, search.

fda_countA
Read-onlyIdempotent

Count/aggregate any OpenFDA endpoint by a specific field. Returns top terms with counts. Works on ALL FDA endpoints. IMPORTANT: Use '.exact' suffix for full phrase counts (e.g. 'brand_name.exact'). Without '.exact', multi-word values like 'Class III' are split into separate word counts.

Endpoints: drug/event, drug/label, drug/ndc, drug/enforcement, drug/drugsfda, drug/shortages, device/event, device/510k, device/classification, device/enforcement, device/recall, device/pma, device/udi, food/enforcement, food/event, animalandveterinary/event, tobacco/problem.

Example count_field values per endpoint:

  • drug/ndc → pharm_class.exact, dea_schedule, dosage_form.exact

  • drug/shortages → update_type, status.exact, therapeutic_category.exact

  • device/510k → country_code, advisory_committee, clearance_type.exact

  • tobacco/problem → tobacco_products.exact, reported_health_problems.exact

  • food/event → reactions.exact, outcomes.exact

  • animalandveterinary/event → animal.species.exact, primary_reporter.exact

Inputs: endpoint (required), count_field (required), limit, search.

fda_covid_serologyA
Read-onlyIdempotent

Search COVID-19 serology test evaluation results. FDA's evaluation of antibody test performance (sensitivity/specificity).

Example searches:

  • 'antibody_truth:"Positive"' — positive samples

  • 'manufacturer:"Abbott"' — tests by manufacturer

Count fields: type (sample material), manufacturer.exact

Inputs: limit, search.

fda_device_510kA
Read-onlyIdempotent

Search 510(k) premarket clearance decisions (174K+ since 1976). A 510(k) demonstrates a device is substantially equivalent to a legally marketed device.

Example searches:

  • 'advisory_committee:cv' — cardiovascular devices

  • 'openfda.regulation_number:868.5895' — by regulation number

  • 'device_name:"pacemaker"' — by device name

  • 'applicant:"Medtronic"' — by company

Count fields: country_code, advisory_committee, clearance_type.exact, decision_code

Inputs: limit, search.

fda_device_classificationA
Read-onlyIdempotent

Search medical device classification — ~1,700 generic device types. Returns device class (1=Class I, 2=Class II, 3=Class III), product codes, definitions.

Example searches:

  • 'regulation_number:872.6855' — by regulation number

  • 'product_code:NOB' — by product code

  • 'device_name:"pacemaker"' — by device name

  • 'device_class:3' — Class III (highest risk) devices

Count fields: device_class, medical_specialty.exact

Inputs: limit, search.

fda_device_enforcementA
Read-onlyIdempotent

Search FDA device recall enforcement reports. Same classification system as drug/food recalls: Class I (most dangerous) to Class III. Note: Records before June 2012 may lack some fields.

Example searches:

  • 'classification:"Class I"' — most dangerous recalls

  • 'report_date:[20200101+TO+20231231]' — recalls in date range

  • 'recalling_firm:"Medtronic"' — by company

Count fields: voluntary_mandated.exact, classification.exact, status.exact

Inputs: limit, search.

fda_device_eventsA
Read-onlyIdempotent

Search FDA medical device adverse event reports (MAUDE) — injuries, malfunctions, deaths.

Example searches:

  • 'device.generic_name:pacemaker' — pacemaker events

  • 'event_type:death' — events resulting in death

Inputs: limit, search.

fda_device_pmaA
Read-onlyIdempotent

Search Premarket Approval (PMA) decisions for Class III medical devices. PMA is required for high-risk devices — evaluates safety and effectiveness.

Example searches:

  • 'decision_code:APPR' — approved PMAs

  • 'product_code:LWP' — by product code

  • 'advisory_committee:CV' — cardiovascular devices

  • 'applicant:"Medtronic"' — by company

Count fields: advisory_committee, decision_code

Inputs: limit, search.

fda_device_recallsA
Read-onlyIdempotent

Search FDA medical device recall reports (RES system). Find recalled devices by name, manufacturer, or reason for recall.

Example searches:

  • 'openfda.device_name:"pacemaker"' — pacemaker recalls

  • 'reason_for_recall:"software"' — software-related recalls

Inputs: limit, search.

fda_device_registrationsA
Read-onlyIdempotent

Search medical device establishment registrations & listings (336K+ records). Where devices are manufactured and which devices are made at each establishment.

Example searches:

  • 'products.product_code:HQY' — establishments making product code HQY

  • 'products.openfda.regulation_number:886.5850' — by regulation number

Count fields: products.openfda.device_class

Inputs: limit, search.

fda_device_udiA
Read-onlyIdempotent

Search the Global Unique Device Identification Database (GUDID). Detailed device records: description, MRI safety, product codes, sterilization. Note: Booleans are stored as strings ('true'/'false').

Example searches:

  • 'brand_name:"CoRoent"' — by brand

  • 'is_rx:true' — prescription devices

  • 'mri_safety:"MR Unsafe"' — MRI unsafe devices

  • 'exists:public_device_record_key' — records with a public key

Count fields: product_codes.openfda.device_class, is_rx, mri_safety.exact

Inputs: limit, search.

fda_drug_countsA
Read-onlyIdempotent

Aggregate/count FDA drug adverse event data by any field. For counting other endpoints, use fda_count instead.

Common count fields:

  • 'patient.reaction.reactionmeddrapt.exact' — most common adverse reactions

  • 'patient.drug.openfda.brand_name.exact' — most reported drug brands

  • 'patient.drug.openfda.generic_name.exact' — most reported generic names

  • 'receivedate' — reports over time

  • 'primarysource.reportercountry.exact' — reports by country

Inputs: count_field (required), limit, search.

fda_drug_eventsA
Read-onlyIdempotent

Search FDA adverse drug event reports (FAERS) — side effects, hospitalizations, deaths. Over 20 million reports. Search by drug name, reaction, seriousness.

Example searches:

  • 'patient.drug.openfda.brand_name:aspirin' — events involving aspirin

  • 'patient.drug.openfda.generic_name:ibuprofen+AND+serious:1' — serious ibuprofen events

  • 'patient.reaction.reactionmeddrapt:nausea' — events where nausea was reported

Inputs: limit, search.

fda_drug_labelsA
Read-onlyIdempotent

Search FDA drug product labeling (package inserts / prescribing information — SPL). Contains indications, warnings, boxed warnings, adverse reactions, drug interactions, dosage.

Example searches:

  • 'openfda.brand_name:"Tylenol"' — labeling for Tylenol

  • 'exists:boxed_warning' — all labels with a Black Box Warning

  • 'effective_time:[20200101+TO+20231231]' — labels updated in date range

  • 'openfda.product_type:"HUMAN PRESCRIPTION DRUG"' — prescription drug labels only

Count fields: openfda.product_type.exact, openfda.brand_name.exact, openfda.route.exact

Inputs: limit, search.

fda_drug_ndcA
Read-onlyIdempotent

Search the NDC Directory — National Drug Code product listings (132K+ records). Find drugs by brand name, generic name, dosage form, DEA schedule, pharmacological class. Each entry has product data, active ingredients, packaging info, and openfda annotations.

Example searches:

  • 'brand_name:"Tylenol"' — Tylenol products

  • 'dea_schedule:"CII"' — Schedule II controlled substances

  • 'dosage_form:"LOTION"' — all lotions

  • 'active_ingredients.name:"OXYCODONE"' — products containing oxycodone

  • 'finished:true' — finished drug products only

Count fields: pharm_class.exact, dea_schedule, dosage_form.exact, route.exact

Inputs: limit, search.

fda_drug_recallsA
Read-onlyIdempotent

Search FDA drug recall enforcement reports. Find recalled drugs by classification (Class I=most serious), company, or reason.

Example searches:

  • 'classification:"Class I"' — most dangerous recalls

  • 'recalling_firm:"Pfizer"' — recalls by Pfizer

  • 'reason_for_recall:listeria' — recalls due to listeria

Inputs: limit, search.

fda_drug_shortagesA
Read-onlyIdempotent

Search FDA drug shortage listings — which drugs are in shortage and why. Tracks status, dosage form, therapeutic category, company, and shortage reason.

Example searches:

  • 'status:"Currently in Shortage"' — active shortages

  • 'dosage_form:"Capsule"' — capsule shortages

  • 'therapeutic_category:"Antiviral"' — antiviral shortages

  • 'generic_name:"Adderall"' — specific drug

Count fields: update_type, status.exact, therapeutic_category.exact

Inputs: limit, search.

fda_food_adverse_eventsA
Read-onlyIdempotent

Search FDA food adverse event reports (CAERS database). Reports of illnesses, allergic reactions, and injuries from foods and dietary supplements.

Example searches:

  • 'products.industry_name:"Dietary Supplements"' — supplement events

  • 'reactions:"hospitalization"' — events involving hospitalization

Count fields: reactions.exact, outcomes.exact, products.industry_name.exact

Inputs: limit, search.

fda_food_recallsA
Read-onlyIdempotent

Search FDA food recall enforcement reports. Class I (may cause death), Class II (temporary health problems), Class III (unlikely harm).

Example searches:

  • 'classification:"Class I"' — most serious recalls

  • 'recalling_firm:tyson' — recalls by a specific company

  • 'reason_for_recall:listeria' — recalls due to listeria

Inputs: limit, search.

fda_historical_docsA
Read-onlyIdempotent

Search historical FDA documents — press releases from 1913 to 2014 (OCR full-text search).

Example searches:

  • 'doc_type:pr+AND+text:"poison prevention packaging"' — press releases about poison prevention

  • 'year:1920+AND+text:Botulism' — 1920s botulism references

  • 'text:"thalidomide"' — mentions of thalidomide

Inputs: limit, search.

fda_nsdeA
Read-onlyIdempotent

Search NDC SPL Data Elements — comprehensive drug product data. Use 'missing:marketing_end_date' for products still on market. Use 'exists:marketing_end_date' for discontinued products.

Example searches:

  • 'package_ndc:"55700-019-60"' — by NDC

  • 'missing:"marketing_end_date"' — currently marketed products

Inputs: limit, search.

fda_substanceA
Read-onlyIdempotent

Search FDA substance data — molecular-level ingredient information. Search by name, CAS code, UNII, or molecular formula.

Example searches:

  • 'names.name:"PARACETAMOL"' — by substance name

  • 'codes.code:"220127-57-1"' — by CAS registry number

  • 'unii:"09211A0HHL"' — by UNII

  • 'structure.formula:"C6H12"' — by molecular formula

Inputs: limit, search.

fda_tobacco_problemsA
Read-onlyIdempotent

Search tobacco product problem reports (~1.3K reports). Reports about damaged, defective, or health-affecting tobacco products. E-cigarettes/vaping products dominate (~60% of reports).

Example searches:

  • 'date_submitted:[20180101+TO+20200723]' — reports in date range

  • 'nonuser_affected:"Yes"' — reports where non-users were affected

Count fields: tobacco_products.exact, reported_health_problems.exact

Inputs: limit, search.

fda_uniiA
Read-onlyIdempotent

Search UNII (Unique Ingredient Identifiers) — links ingredient names to unique chemical IDs.

Example searches:

  • 'unii:"L7V4I673D2"' — by UNII code

  • 'substance_name:"ASPIRIN"' — by substance name

Inputs: limit, search.

fdic_depositsA
Read-onlyIdempotent

Get Summary of Deposits — branch-level deposit data from annual survey (June 30). Shows deposit amounts at each bank branch. Filter by state or institution. Useful for market share analysis and banking access by geography.

Inputs: limit, offset, filters, sort_by, +1 more.

fdic_failuresB
Read-onlyIdempotent

Get FDIC-insured bank failures — all failures since 1934. Includes failure date, estimated cost to FDIC, resolution type, and acquiring institution. Filter by state: PSTALP:"GA", by year range, or combine filters.

Inputs: limit, offset, filters, sort_by, +1 more.

fdic_financialsA
Read-onlyIdempotent

Get quarterly Call Report financial data for FDIC-insured banks. Includes assets, deposits, net income, ROA, ROE, loan loss reserves. Filter by CERT number (specific bank) or STALP (state). Dollar values in thousands.

Inputs: limit, fields, offset, filters, +2 more.

fdic_historyA
Read-onlyIdempotent

Get institution event history — mergers, acquisitions, name changes, charter conversions. Filter by CERT number to trace a specific bank's history.

Inputs: limit, offset, filters, sort_by, +1 more.

fdic_search_institutionsA
Read-onlyIdempotent

Search FDIC-insured banks and savings institutions. Filter by state, name, charter type, asset size, active status. Filters: STALP:"CA", ACTIVE:1, ASSET:[1000000 TO *], INSTNAME:"Wells Fargo", CHARTER_CLASS:"N". Assets and deposits are in thousands of dollars.

Inputs: limit, fields, offset, search, +3 more.

fdic_summaryA
Read-onlyIdempotent

Get aggregate banking statistics — industry totals by state or charter type. Useful for overview metrics: total banks, deposits, assets by state/year.

Inputs: limit, fields, offset, filters, +2 more.

fec_candidate_financialsA
Read-onlyIdempotent

Get financial summary for a candidate — total raised, spent, cash on hand, debt. Requires a candidate_id (use fec_search_candidates to find one).

Inputs: candidate_id (required), cycle.

fec_committee_disbursementsA
Read-onlyIdempotent

Get itemized disbursements from a PAC or committee — shows exactly which candidates and committees received money, how much, and when. This is the KEY tool for conflict-of-interest investigations: trace direct money from named industry PACs to named politicians. Example: fec_committee_disbursements(committee_id='C00004275', cycle=2018, recipient_name='Crapo') shows ABA BankPAC donations to Sen. Crapo. WORKFLOW: (1) fec_search_committees(name='Company', committee_type='Q') to find PAC ID, (2) this tool with recipient_name filter. Try multiple cycles (election year ± 1 cycle) since PACs often give early. Common PAC IDs: ABA BankPAC=C00004275, Wells Fargo=C00034595, Citigroup=C00008474, Goldman Sachs=C00350744, Pfizer=C00016683, Merck=C00097485.

Inputs: committee_id (required), cycle, per_page, recipient_name.

fec_committee_financialsA
Read-onlyIdempotent

Get financial totals for a committee (PAC, campaign, party). Requires a committee_id (use fec_search_committees to find one).

Inputs: committee_id (required), cycle.

fec_independent_expendituresA
Read-onlyIdempotent

Get itemized independent expenditures (Schedule E) — outside spending by Super PACs and other groups FOR or AGAINST a candidate (ad buys, mailers, etc.). This is the KEY tool for tracking outside money: 'how much did Super PACs spend against Senator X?' Filter by candidate_id (most common), committee_id (the spender), and/or support_oppose ('S'=support, 'O'=oppose). WORKFLOW: (1) fec_search_candidates to find candidate_id, (2) this tool filtered by candidate_id. Use fec_outside_spending_by_candidate for totals instead of line items.

Inputs: cycle, per_page, candidate_id, committee_id, +1 more.

fec_individual_contributionsA
Read-onlyIdempotent

Get itemized individual contributions (Schedule A) — who donated to a committee, their employer and occupation, amount, and date. This is the KEY tool for donor research: 'who funds this candidate and where do they work?' The full dataset is ~123M records, so ALWAYS pass a filter — typically committee_id (the recipient committee) and/or contributor_name/employer. WORKFLOW: (1) fec_search_committees or fec_search_candidates to find the committee_id, (2) this tool filtered by committee_id, optionally narrowing by contributor_employer (e.g. 'Goldman Sachs') or contributor_state.

Inputs: cycle, per_page, max_amount, min_amount, +5 more.

fec_outside_spending_by_candidateA
Read-onlyIdempotent

Get TOTAL independent (outside) spending supporting vs. opposing a candidate (Schedule E totals). Use this for an exact summary — 'how much outside money supported vs. opposed this candidate?' — instead of paginating raw line items. For the itemized breakdown of who spent it, use fec_independent_expenditures.

Inputs: candidate_id (required), cycle.

fec_search_candidatesA
Read-onlyIdempotent

Search for federal election candidates by name, state, party, office, or election year. Data from the Federal Election Commission (FEC).

Inputs: name, page, party, state, +3 more.

fec_search_committeesA
Read-onlyIdempotent

Search for political committees (PACs, campaign committees, party committees) by name, state, or type. CRITICAL for investigations: Use committee_type='Q' (Qualified PAC) + name='Company Name' to find corporate PAC IDs. Example: name='Wells Fargo', committee_type='Q' returns C00034595 (Wells Fargo Employee PAC). Then use fec_committee_disbursements with the committee_id to trace money to specific politicians.

Inputs: name, page, cycle, state, +2 more.

fec_top_candidatesA
Read-onlyIdempotent

Get top candidates ranked by total money raised for a given office and election cycle.

Inputs: office (required), election_year (required), state, per_page.

fema_disaster_declarationsA
Read-onlyIdempotent

Search FEMA disaster declarations (since 1953). Filter by state, year, incident type, or declaration type. Returns disaster name, type, affected area, programs declared.

Inputs: top, skip, year, state, +2 more.

fema_housing_assistanceB
Read-onlyIdempotent

Get FEMA Individual Housing Program (IHP) assistance data for homeowners. Shows approved assistance amounts, inspections, and damage by county/zip for a disaster.

Inputs: top, skip, state, county, +1 more.

fema_public_assistanceA
Read-onlyIdempotent

Get FEMA Public Assistance (PA) grant awards. Shows project-level grants to state/local/tribal governments and nonprofits for debris removal, emergency work, and permanent repair.

Inputs: top, skip, state, disaster_number.

fema_queryA
Read-onlyIdempotent

General-purpose query against any OpenFEMA v2 dataset. Use this for NFIP flood insurance claims/policies, hazard mitigation grants, mission assignments, IHP registrations, etc. Supports OData $filter syntax.

Inputs: dataset (required), top, skip, filter, +2 more.

fema_regionsA
Read-onlyIdempotent

Get FEMA region boundaries and associated states. 10 FEMA regions cover all U.S. states and territories.

Inputs: no named parameters.

fooddata_detailA
Read-onlyIdempotent

Get complete nutritional details for a specific food by its FDC ID. Returns full nutrient breakdown: calories, protein, fat, carbs, vitamins, minerals, amino acids. Use fooddata_search first to find FDC IDs.

Inputs: fdcId (required).

fooddata_listA
Read-onlyIdempotent

Browse a paged list of foods from the USDA database. Useful for exploring available foods by data type without a specific search term.

Inputs: sortBy, dataType, pageSize, sortOrder, +1 more.

fr_agenciesA
Read-onlyIdempotent

List all federal agencies that publish in the Federal Register. Returns agency names, short names, slugs (for filtering), and URLs. 470+ agencies.

Inputs: no named parameters.

fr_document_detailA
Read-onlyIdempotent

Get full details for a specific Federal Register document by document number. Returns title, abstract, full text URL, agencies, CFR references, and more.

Inputs: document_number (required).

fred_release_dataA
Read-onlyIdempotent

Bulk fetch a FRED release. Common: 53 (GDP), 50 (Employment), 10 (CPI), 18 (Rates)

Inputs: release_id (required), limit.

fred_series_dataB
Read-onlyIdempotent

Get observations for a FRED series. Popular: GDP, UNRATE, CPIAUCSL, FEDFUNDS, DGS10, MORTGAGE30US

Inputs: series_id (required), limit, end_date, frequency, +2 more.

fred_series_infoA
Read-onlyIdempotent

Get metadata for a FRED series — title, units, frequency, range, notes.

Inputs: series_id (required).

fr_executive_ordersA
Read-onlyIdempotent

Search for presidential executive orders. Filter by president, year, or keyword. Covers all executive orders since 1994.

Inputs: page, year, keyword, per_page, +1 more.

fr_presidential_documentsA
Read-onlyIdempotent

Search all presidential documents: executive orders, memoranda, proclamations, and other presidential actions.

Inputs: keyword, doc_type, end_date, per_page, +2 more.

fr_public_inspectionA
Read-onlyIdempotent

List documents currently on public inspection — approved for publication but NOT yet officially published (appearing in the Federal Register tomorrow, or imminently for 'special' filings). This is the forward-looking view: 'what regulations are about to come out?' Special filings are expedited/emergency documents.

Inputs: type, special_only.

fr_search_rulesA
Read-onlyIdempotent

Search for proposed rules, final rules, and agency notices in the Federal Register. Use to track regulatory activity by agencies.

Inputs: agency, keyword, doc_type, end_date, +3 more.

fr_suggested_searchesA
Read-onlyIdempotent

List the Office of the Federal Register's curated topic bundles (e.g. 'Dodd-Frank', 'Endangered Species'). Each topic shows how many documents appeared in the last year and how many currently have OPEN public comment periods — useful for discovering active regulatory topics and where the public can still weigh in. Sections: money, environment, world, science-and-technology, business-and-industry, health-and-public-welfare.

Inputs: section, open_comments_only.

get_endpoint_fieldsA
Read-onlyIdempotent

Get field names, data types, and formats for a specific Treasury Fiscal Data API endpoint. This helps you discover what fields are available before querying data.

Inputs: endpoint (required).

govinfo_bill_textA
Read-onlyIdempotent

Get the FULL legislative text of a bill from GovInfo — the actual law language with section numbers, dollar amounts, legal citations, and provisions.

IMPORTANT: Try congress_bill_summaries first for a quick CRS summary (~500-2000 chars). Only use this tool when the user needs exact legislative language, specific provisions, or dollar amounts from the bill text.

Use preview_only=true first to check bill size before loading. Bills range from 5k chars (simple resolutions) to 500k+ (omnibus/appropriations). Default limit is 100k chars.

Version suffixes: enr (enrolled/signed), eh (engrossed House), es (engrossed Senate), ih (introduced House), is (introduced Senate)

Inputs: congress (required), bill_type (required), bill_number (required), version, +2 more.

govinfo_cbo_reportsB
Read-onlyIdempotent

Search for Congressional Budget Office reports published through GovInfo. CBO scores tax bills with distributional analysis showing impact by income group.

Inputs: query (required), page_size.

hud_fair_market_rentsA
Read-onlyIdempotent

Get HUD Fair Market Rents (FMR) for a county, metro area, or entire state. Shows monthly rent by bedroom count (efficiency through 4-bedroom). FMR determines Section 8 voucher amounts.

Inputs: year, state, entity_id.

hud_income_limitsA
Read-onlyIdempotent

Get HUD Income Limits for a county, metro area, or entire state. Shows Very Low, Extremely Low, and Low income thresholds by household size (1-8 persons). Used for affordable housing eligibility.

Inputs: year, state, entity_id.

hud_list_countiesA
Read-onlyIdempotent

List counties in a state with their FIPS codes. Use FIPS codes as entity_id in hud_fair_market_rents and hud_income_limits.

Inputs: state (required).

hud_list_metro_areasA
Read-onlyIdempotent

List metropolitan/CBSA areas. CBSA codes can be used as entity_id in HUD tools.

Inputs: no named parameters.

hud_list_statesA
Read-onlyIdempotent

List all U.S. states with their HUD state codes. Use these codes with other HUD tools.

Inputs: no named parameters.

list_datasetsA
Read-onlyIdempotent

List all 53 U.S. Treasury Fiscal Data API datasets and their 181 endpoints. Returns dataset name, data table name, API endpoint path, and description.

Inputs: no named parameters.

lobbying_contributionsA
Read-onlyIdempotent

Search campaign contributions made by lobbyists — shows which lobbyists donated to which politicians. Required under the LDA to disclose political contributions by registered lobbyists.

Inputs: page_size, filing_year, lobbyist_name, registrant_name.

lobbying_detailA
Read-onlyIdempotent

Get full detail on a specific lobbying filing — shows every issue lobbied, specific bills mentioned, and lobbyist names. Use the filing UUID from lobbying_search results.

Inputs: filing_uuid (required).

lobbying_lobbyistsB
Read-onlyIdempotent

Search individual lobbyists by name or firm. Find specific people who lobby Congress and which firms they work for.

Inputs: firm, name, page_size.

lobbying_registrantsB
Read-onlyIdempotent

Search lobbying firms and organizations registered to lobby Congress.

Inputs: name (required), page_size.

naep_achievement_levelsA
Read-onlyIdempotent

Get the percentage of students at each NAEP achievement level: Below Basic, Basic, Proficient, Advanced. THIS IS THE KEY LITERACY/NUMERACY METRIC — shows what % of students can read/do math at grade level. Example: '37% of 4th graders scored Below Basic in reading' comes from this data.

Inputs: grade (required), subject (required), year, variable, +1 more.

naep_available_variablesA
Read-onlyIdempotent

List available independent variables for a NAEP subject, cohort, and year. Use this to discover what demographic/survey variables are available before querying scores. Returns variable names (Varname), short labels, and long labels.

Inputs: years (required), cohort (required), subject (required).

naep_compare_groupsA
Read-onlyIdempotent

Compare NAEP scores across demographic groups (race, gender, poverty) with significance testing. Shows achievement gaps between groups (e.g., White vs Black, Male vs Female, eligible vs not eligible for free lunch).

Inputs: grade (required), subject (required), variable (required), year, +1 more.

naep_compare_statesA
Read-onlyIdempotent

Compare NAEP scores across states/jurisdictions with significance testing. Shows which states score significantly higher or lower than others. Example: Compare Massachusetts vs Mississippi reading scores.

Inputs: grade (required), subject (required), jurisdictions (required), year, +1 more.

naep_compare_yearsA
Read-onlyIdempotent

Compare NAEP scores across assessment years with significance testing. Shows whether score changes between years are statistically significant. Great for tracking the COVID learning loss and recovery.

Inputs: grade (required), years (required), subject (required), variable, +1 more.

naep_gap_variable_jurisdictionA
Read-onlyIdempotent

Compare how achievement gaps between demographic groups differ across states. Example: Is the poverty gap in math bigger in Mississippi than Massachusetts? Returns innerdiff1 (group gap for focal jurisdiction), innerdiff2 (group gap for target), and the gap between them.

Inputs: grade (required), subject (required), variable (required), jurisdictions (required), +1 more.

naep_gap_variable_yearsA
Read-onlyIdempotent

Compare how achievement gaps between demographic groups change over time. Example: Is the racial achievement gap in reading getting bigger or smaller since 2017? Returns innerdiff1 (group gap for focal year), innerdiff2 (group gap for target year), and the gap between them.

Inputs: grade (required), years (required), subject (required), variable (required), +1 more.

naep_gap_year_jurisdictionA
Read-onlyIdempotent

Compare how score changes between years differ across jurisdictions. Example: Did the COVID learning loss hit California harder than Massachusetts? Returns innerdiff1 (year gap for focal jurisdiction), innerdiff2 (year gap for target), and the gap between them.

Inputs: grade (required), years (required), subject (required), jurisdictions (required), +1 more.

naep_scoresA
Read-onlyIdempotent

Get NAEP test scores (Nation's Report Card) — the gold standard for measuring U.S. student achievement. Returns average scale scores by subject, grade, state, and demographic group.

Subjects: 'reading', 'math', 'science', 'writing', 'civics', 'history', 'geography', 'economics', 'tel', 'music' Grades: 4, 8, 12 (math: 4,8 only; economics/tel/music: 8 or 12 only) Variables: 'TOTAL' (all students), 'SDRACE' (race), 'GENDER', 'SLUNCH3' (school lunch/poverty), 'PARED' (parent education) Jurisdiction: 'NP' (national public), or state codes ('CA', 'TX', 'NY', 'MS')

Inputs: grade (required), subject (required), year, subscale, +4 more.

nhtsa_car_seat_stationsA
Read-onlyIdempotent

Find car seat inspection stations near a location. Search by ZIP code, state, or geographic coordinates. Car seat inspection stations help parents verify proper installation.

Example: state='CA', or zip='90210', or lat=30.18 + long=-96.39 + miles=50

Inputs: lat, zip, long, miles, +1 more.

nhtsa_complaint_detailA
Read-onlyIdempotent

Get a specific complaint by its ODI number. ODI numbers are in complaint search results (e.g. 11184030).

Inputs: odi_number (required).

nhtsa_complaintsA
Read-onlyIdempotent

Search NHTSA vehicle complaints by make, model, and model year. All three parameters are required by the NHTSA API. Use nhtsa_models to find valid models for a make.

Example: make='tesla', model='model 3', model_year=2023

Inputs: make (required), model (required), model_year (required).

nhtsa_decode_vinA
Read-onlyIdempotent

Decode a Vehicle Identification Number (VIN) to get specifications. Returns make, model, year, engine, body class, drive type, plant info. VINs are 17 characters.

Inputs: vin (required).

nhtsa_makesA
Read-onlyIdempotent

List vehicle makes for a model year that have recalls or complaints. Use issue_type='r' for recalls, 'c' for complaints.

Example: model_year=2024, issue_type='r'

Inputs: issue_type (required), model_year (required).

nhtsa_modelsA
Read-onlyIdempotent

List vehicle models for a make and year that have recalls or complaints. Or list all models for a make from the vPIC database (omit issue_type).

Example: make='tesla', model_year=2024, issue_type='r'

Inputs: make (required), issue_type, model_year.

nhtsa_model_yearsA
Read-onlyIdempotent

List model years that have recalls or complaints in the NHTSA database. Use issue_type='r' for recalls (1949–present), 'c' for complaints. Useful for discovering available data before querying.

Inputs: issue_type (required).

nhtsa_recall_detailA
Read-onlyIdempotent

Get recall details by NHTSA campaign number. Campaign numbers look like '23V838000' or '12V176000'. Returns full recall information including affected vehicles, summary, consequence, and remedy.

Inputs: campaign_number (required).

nhtsa_recallsA
Read-onlyIdempotent

Search NHTSA vehicle recalls by make, model, and model year. All three parameters are required by the NHTSA API. Use nhtsa_models to find valid models for a make, or nhtsa_recall_detail for a specific campaign.

Example: make='tesla', model='model 3', model_year=2024

Inputs: make (required), model (required), model_year (required).

nhtsa_safety_rating_detailA
Read-onlyIdempotent

Get detailed NHTSA 5-star safety ratings for a specific vehicle variant. Requires a VehicleId from nhtsa_safety_ratings search results. Returns crash test ratings, rollover risk, and safety technology assessments.

Inputs: vehicle_id (required).

nhtsa_safety_ratingsA
Read-onlyIdempotent

Search NHTSA 5-star safety ratings (NCAP) by make, model, and year. Returns vehicle variants with VehicleId. Use the VehicleId with nhtsa_safety_rating_detail.

Ratings: 5 stars = highest, 1 star = lowest. Data from 1990 to present.

Inputs: make (required), model (required), model_year (required).

nih_projects_by_agencyA
Read-onlyIdempotent

Get project counts by NIH institute/center for a fiscal year. Shows which institutes fund the most research: NCI (cancer), NIAID (infectious diseases), etc. Useful for understanding NIH budget allocation across disease areas.

Inputs: fiscal_year (required), agencies.

nih_search_projectsA
Read-onlyIdempotent

Search NIH-funded research projects by text, disease area, investigator, institution, state, agency, spending category, grant type, and funding amount. Returns project number, title, PI, organization, award amount, agency, activity code, and dates. Use to find research grants for any disease, track institutional funding, or identify PIs.

Inputs: text, limit, offset, pi_name, +13 more.

nih_search_publicationsA
Read-onlyIdempotent

Search for publications linked to NIH-funded projects. Search by PubMed IDs (PMIDs), application IDs, or core project numbers. Returns PMID and linked project number.

Inputs: limit, pmids, offset, appl_ids, +1 more.

nih_spending_by_categoryA
Read-onlyIdempotent

Get NIH project counts and estimated funding for a disease/research area across fiscal years. Uses RCDC spending categories with an agency-based fallback for more accurate counts. Common category IDs: 27=Cancer, 7=Alzheimer's, 41=Diabetes, 60=HIV/AIDS, 93=Opioids, 30=Cardiovascular, 85=Mental Health, 38=COVID-19, 118=Stroke, 92=Obesity. Note: For the most reliable counts by disease area, also try nih_projects_by_agency with the relevant institute.

Inputs: category_id (required), fiscal_years (required).

noaa_climate_dataA
Read-onlyIdempotent

Get climate observations (temperature, precipitation, snow, wind) from NOAA. Requires dataset ID + date range. Optionally filter by station or location.

Inputs: end_date (required), dataset_id (required), start_date (required), limit, +3 more.

noaa_datasetsA
Read-onlyIdempotent

List available NOAA climate datasets (GHCND daily, GSOM monthly, GSOY annual, normals, etc.)

Inputs: no named parameters.

noaa_locationsA
Read-onlyIdempotent

Search NOAA location IDs (states, cities, countries) for use with other NOAA tools.

Inputs: limit, category, dataset_id.

noaa_stationsB
Read-onlyIdempotent

Search for NOAA weather stations by location or dataset. Use location IDs like FIPS:36 (New York), FIPS:06 (California), CITY:US360019 (NYC).

Inputs: limit, dataset_id, location_id.

nrel_fuel_stationsA
Read-onlyIdempotent

Search for EV charging stations, hydrogen stations, biodiesel, CNG, and other alternative fuel stations. Covers all U.S. alt fuel infrastructure. Filter by state, zip, fuel type, radius.

Fuel types: 'ELEC' (EV), 'HY' (hydrogen), 'CNG' (natural gas), 'LPG' (propane), 'BD' (biodiesel), 'E85' (ethanol)

Inputs: zip, limit, state, radius, +2 more.

nrel_solarA
Read-onlyIdempotent

Get solar energy resource data for any U.S. location — monthly and annual solar irradiance. Shows potential for solar panels at a given location.

Inputs: lat (required), lon (required).

nrel_utility_ratesB
Read-onlyIdempotent

Get residential, commercial, and industrial electricity rates for any U.S. location. Provide latitude/longitude to get the local utility and their rates ($/kWh).

Inputs: lat (required), lon (required).

nws_alertA
Read-onlyIdempotent

Get a single NWS alert by its URN (e.g. 'urn:oid:2.49.0.1.840…'). Use the id from nws_alerts_active; full URLs are also accepted.

Inputs: id (required).

nws_alerts_activeA
Read-onlyIdempotent

Get currently-active NWS weather alerts (tornado warnings, flood watches, winter storm advisories, etc.) filtered by area (state), zone, or point. Pass at most one of area/zone/point. Severity and urgency filters are optional. Without a geographic filter this returns ALL active U.S. alerts (often hundreds) — capped to limit.

Inputs: area, zone, limit, point, +4 more.

nws_alert_typesA
Read-onlyIdempotent

List all valid NWS alert event types (e.g. 'Tornado Warning', 'Flood Watch'). Reference data — cached aggressively.

Inputs: no named parameters.

nws_forecastA
Read-onlyIdempotent

Get the 7-day NWS forecast for a lat/lon. Returns ~14 periods (Today / Tonight / Tomorrow / Tomorrow Night / …) with temperature, wind, precipitation probability, and a detailed text forecast. Forecasts use US units (°F, mph).

Inputs: lat (required), lon (required).

nws_forecast_hourlyA
Read-onlyIdempotent

Get the hourly forecast (next ~156 hours / ~6.5 days) for a lat/lon. Each period is one hour with temperature, wind, precip probability, and short forecast. Large response — consider nws_forecast for daily summaries.

Inputs: lat (required), lon (required).

nws_glossaryA
Read-onlyIdempotent

Get the full NWS weather glossary (term → definition). Useful for explaining technical terms in forecasts.

Inputs: no named parameters.

nws_observation_latestA
Read-onlyIdempotent

Get the latest observation from an NWS observation station (e.g. 'KDCA' for Reagan National Airport). Returns SI units: temperature/dewpoint in °C, wind speed in km/h, pressure in Pa, visibility in m.

Inputs: station_id (required).

nws_point_infoA
Read-onlyIdempotent

Resolve a lat/lon to its NWS forecast gridpoint, office, time zone, forecast zone, county zone, and nearest radar station. Useful for debugging or when you need the zone ID for nws_zone_forecast. Most callers can skip this and use nws_forecast directly.

Inputs: lat (required), lon (required).

nws_stations_nearA
Read-onlyIdempotent

List NWS observation stations near a lat/lon. Use the resulting stationIdentifier with nws_observation_latest.

Inputs: lat (required), lon (required), limit.

nws_zone_forecastA
Read-onlyIdempotent

Get the public text-based forecast for an NWS forecast zone (e.g. 'CAZ006'). Find the zone ID via nws_point_info.

Inputs: zone_id (required).

open_payments_by_companyA
Read-onlyIdempotent

Get payment summary data grouped by pharmaceutical/device company (all years combined). Shows total amounts and number of payments per company.

Inputs: limit.

open_payments_by_hospitalA
Read-onlyIdempotent

Get payments grouped by teaching hospital. Shows total pharma payments to teaching hospitals — useful for identifying institutional conflicts of interest.

Inputs: limit.

open_payments_by_physicianA
Read-onlyIdempotent

Get payments grouped by individual physician across all years. Pre-aggregated totals — shows how much each doctor received from pharma overall.

Inputs: limit.

open_payments_by_specialtyA
Read-onlyIdempotent

Get national payment totals and averages by medical specialty. Shows which specialties receive the most pharma money — cardiologists, orthopedic surgeons, psychiatrists, etc.

Inputs: limit.

open_payments_ownershipB
Read-onlyIdempotent

Search Open Payments OWNERSHIP data — doctors with ownership or investment stakes in pharma/device companies. The deepest form of conflict of interest. Shows which doctors have financial interests in the companies whose products they prescribe.

Inputs: year, limit, state, doctor, +1 more.

open_payments_researchA
Read-onlyIdempotent

Search Open Payments RESEARCH payment data — grants, clinical research funding from pharma to doctors. Separate from general payments. Shows research funding amounts, sponsors, and principal investigators.

Inputs: year, limit, state, doctor, +1 more.

open_payments_summaryA
Read-onlyIdempotent

Get national-level Open Payment totals and averages across all years. Shows how much money flows from pharma to doctors nationally.

Inputs: no named parameters.

open_payments_topA
Read-onlyIdempotent

Find the HIGHEST pharma payments to doctors — sorted by amount descending.\nUse this to find the biggest consulting fees, royalties, and speaking fees in a state or specialty.\nSupports sorting by payment amount — unlike the basic search which returns results in default order.

Inputs: year, limit, state, doctor, +2 more.

open_payments_top_doctorsA
Read-onlyIdempotent

Find the HIGHEST-PAID doctors by TOTAL payments received — aggregates all individual payments per doctor. Groups by doctor and sums all their payments, sorted by total descending. This is the key tool for finding doctors with the biggest pharma relationships.

Inputs: year, limit, state, company, +1 more.

query_fiscal_dataA
Read-onlyIdempotent

Query the U.S. Treasury Fiscal Data API. Supports field selection, filtering, sorting, and pagination.

Filter operators: eq (equal), gt, gte, lt, lte, in. Example filter: 'record_date:gte:2024-01-01' Example sort: '-record_date' (descending) Multiple filters: 'country_currency_desc:in:(Canada-Dollar,Mexico-Peso),record_date:gte:2024-01-01'

Inputs: endpoint (required), sort, fields, filter, +2 more.

regulations_comment_detailA
Read-onlyIdempotent

Get detailed information for a specific public comment by its comment ID.

Inputs: commentId (required).

regulations_docket_detailA
Read-onlyIdempotent

Get detailed information for a specific regulatory docket by its docket ID (e.g. 'EPA-HQ-OAR-2003-0129').

Inputs: docketId (required).

regulations_document_detailB
Read-onlyIdempotent

Get detailed information for a specific regulatory document by its document ID (e.g. 'FDA-2009-N-0501-0012').

Inputs: documentId (required).

regulations_search_commentsA
Read-onlyIdempotent

Search for public comments on federal regulations. Filter by keyword, agency, docket, or date. Shows what the public said about proposed rules.

Sort: 'postedDate' (asc) or '-postedDate' (desc, newest first).

Inputs: sort, agencyId, docketId, pageSize, +4 more.

regulations_search_docketsB
Read-onlyIdempotent

Search for regulatory dockets — organizational folders containing related rules, comments, and documents. Each docket represents a rulemaking or non-rulemaking action by a federal agency.

Sort: 'title', '-title'.

Inputs: sort, agencyId, pageSize, docketType, +2 more.

regulations_search_documentsA
Read-onlyIdempotent

Search for federal regulatory documents — proposed rules, final rules, and supporting materials. Filter by agency, docket, date, or keyword. Complements Federal Register data with rulemaking context.

Document types: 'Proposed Rule', 'Rule', 'Supporting & Related Material', 'Other'. Sort: 'postedDate' (asc) or '-postedDate' (desc, newest first).

Inputs: sort, agencyId, docketId, pageSize, +6 more.

scorecard_compareA
Read-onlyIdempotent

Compare specific colleges side-by-side on cost, graduation rate, earnings, and debt. Provide school names to search and compare.

Inputs: schools (required).

scorecard_queryA
Read-onlyIdempotent

Advanced College Scorecard query with custom field filters and ranges.

Filter examples:

  • 'latest.admissions.admission_rate.overall__range=0..0.10' (schools with <10% admission rate)

  • 'latest.cost.tuition.in_state__range=..5000' (tuition under $5K)

  • 'school.degrees_awarded.predominant=3' (bachelor's-granting)

  • 'latest.earnings.10_yrs_after_entry.median__range=80000..' (high-earning graduates)

Inputs: filters (required), sort, per_page.

scorecard_topA
Read-onlyIdempotent

Get top-ranked colleges by earnings, graduation rate, or lowest cost. Rankings: 'earnings' (highest median pay 10yr after entry), 'graduation' (highest completion rate), 'expensive' (highest tuition)

Inputs: ranking (required), state, per_page, ownership.

search_datasetsA
Read-onlyIdempotent

Search for Treasury Fiscal Data datasets and endpoints by keyword. Searches across all 53 datasets (181 endpoints) by name, table name, endpoint path, and description.

Inputs: query (required).

sec_company_conceptA
Read-onlyIdempotent

Get the full reported history of a single XBRL financial concept for one company. Faster and smaller than sec_company_financials when you only need one metric's time series (e.g. quarterly revenue for 10 years).

Common concepts: Revenues, NetIncomeLoss, Assets, Liabilities, StockholdersEquity, EarningsPerShareBasic, CashAndCashEquivalentsAtCarryingValue.

Inputs: cik (required), concept (required), taxonomy.

sec_company_financialsA
Read-onlyIdempotent

Get financial data (revenue, net income, assets, etc.) from SEC XBRL filings for a company. Returns standardized financial data extracted from 10-K and 10-Q filings.

Requires CIK number. Use sec_company_search to look up filings first.

Common XBRL concepts: Revenues, NetIncomeLoss, Assets, Liabilities, StockholdersEquity, EarningsPerShareBasic, CashAndCashEquivalentsAtCarryingValue

Inputs: cik (required), metric.

sec_concept_across_companiesA
Read-onlyIdempotent

Compare a single XBRL financial concept across ALL reporting companies for one period (SEC frames API). The most powerful cross-company tool: rank every filer by revenue, net income, assets, etc. in one call.

PERIOD FORMAT:

  • 'CY2023' — full calendar year (use for flow concepts: Revenues, NetIncomeLoss)

  • 'CY2023Q1' — single quarter (duration)

  • 'CY2023Q4I' — instantaneous / point-in-time (use for balance-sheet concepts: Assets, Liabilities, StockholdersEquity)

UNITS: 'USD' (default), 'shares', 'USD-per-shares' (for EarningsPerShareBasic).

Inputs: period (required), concept (required), unit, limit, +2 more.

usa_agency_overviewA
Read-onlyIdempotent

Get an overview of a federal agency's spending, including budgetary resources and obligations.

Common codes: '097' (DOD), '075' (HHS), '069' (Treasury), '089' (DOE), '012' (USDA), '015' (Justice), '036' (VA), '070' (DHS), '080' (NASA)

Inputs: agency_code (required), fiscal_year.

usa_spending_by_agencyB
Read-onlyIdempotent

Get total federal spending broken down by awarding agency. Shows which agencies are spending the most.

Inputs: limit, state, keyword, award_type, +1 more.

usa_spending_by_awardA
Read-onlyIdempotent

Search federal spending awards (contracts, grants, loans, direct payments). Filter by keyword, agency, recipient, date range, award type, and amount.

Award type groups: 'contracts', 'grants', 'loans', 'direct_payments'. Or use codes: 'A,B,C,D' (contracts), '02,03,04,05' (grants), '07,08' (loans), '06,10' (direct payments)

Inputs: page, limit, state, agency, +8 more.

usa_spending_by_recipientA
Read-onlyIdempotent

Get the top recipients (companies, organizations) of federal spending. Use state and agency filters to narrow results.

Inputs: limit, state, agency, award_type, +1 more.

usa_spending_by_stateA
Read-onlyIdempotent

Get federal spending by state or territory. Shows total awards and per-capita spending.

Inputs: state, fiscal_year.

usa_spending_over_timeA
Read-onlyIdempotent

Get federal spending aggregated by time period (monthly, quarterly, or fiscal year). Useful for identifying trends.

Inputs: group, state, agency, keyword, +3 more.

usda_ag_queryA
Read-onlyIdempotent

Custom query to USDA NASS QuickStats — any combination of filters. Max 50,000 records. Use usda_ag_count first for large queries.

Inputs: year, freq_desc, sector_desc, source_desc, +4 more.

usda_crop_dataA
Read-onlyIdempotent

Get crop production data — area planted, harvested, production, yield. Commodities: CORN, SOYBEANS, WHEAT, COTTON, RICE, SORGHUM

Inputs: commodity (required), year, state, category.

usda_livestockB
Read-onlyIdempotent

Get livestock data — inventory, slaughter, production. Commodities: CATTLE, HOGS, CHICKENS, MILK, EGGS

Inputs: commodity (required), year, state, category.

usda_pricesB
Read-onlyIdempotent

Get prices received by farmers for agricultural commodities. Works for any commodity: CORN, WHEAT, SOYBEANS, CATTLE, MILK, etc.

Inputs: commodity (required), year, state.

usgs_daily_water_dataA
Read-onlyIdempotent

Get USGS daily value water data (historical daily averages). Unlike real-time instantaneous values, these are aggregated daily means — better for trend analysis. Parameter codes: 00060=discharge (cfs), 00065=gage height (ft), 00010=water temp (°C).

Inputs: sites, end_dt, period, start_dt, +2 more.

usgs_earthquake_countA
Read-onlyIdempotent

Count earthquakes matching criteria without fetching full details. Useful for statistics: 'How many M5+ earthquakes occurred in 2024?'

Inputs: endtime, latitude, longitude, starttime, +3 more.

usgs_earthquakesA
Read-onlyIdempotent

Search for earthquakes by magnitude, location, date range, and more. Returns magnitude, location, depth, time, alert level, tsunami risk, and felt reports. Magnitude scale: 2.5+ felt by people, 4.0+ moderate, 5.0+ significant, 7.0+ major.

Inputs: limit, endtime, orderby, latitude, +6 more.

usgs_significantA
Read-onlyIdempotent

Get significant earthquakes from the past 30 days (typically M4.5+ or felt/damaging events). Quick way to see the latest notable seismic activity worldwide.

Inputs: no named parameters.

usgs_water_dataA
Read-onlyIdempotent

Get real-time water data (streamflow, gage height, temperature) from USGS monitoring sites. 13,000+ stations nationwide. Parameter codes: 00060=discharge (cfs), 00065=gage height (ft), 00010=water temp (°C). Query by site ID, state, county, or hydrologic unit code (HUC).

Inputs: sites, end_dt, period, start_dt, +2 more.

usgs_water_sitesC
Read-onlyIdempotent

Search for USGS water monitoring sites by state, county, or hydrologic unit. Site types: ST=stream, GW=groundwater, LK=lake, SP=spring.

Inputs: state_cd, county_cd, site_type.

usgs_water_statisticsA
Read-onlyIdempotent

Get period-of-record streamflow statistics for a USGS site — for each day of the year, the min/mean/max and p05–p95 percentiles across ALL years on record. Answers 'is the current flow historically high or low for this date?' — far more analytically useful than raw readings for drought/flood context. Parameter codes: 00060=discharge (cfs, default), 00065=gage height (ft). Optionally filter to a specific month/day.

Inputs: sites (required), day, month, parameter_cd, +1 more.

uspto_application_assignmentsA
Read-onlyIdempotent

Get assignment (ownership transfer) records for a patent application. Shows conveyance type, assignor, assignee, and dates.

Inputs: application_number (required).

uspto_application_continuityA
Read-onlyIdempotent

Get continuity (parent/child application chain) data for a patent application. Shows parent applications (continuations, divisionals, CIPs) and child applications.

Inputs: application_number (required).

uspto_application_detailsA
Read-onlyIdempotent

Get full patent application data by application number. Returns all metadata including filing date, grant date, status, inventors, applicant, patent number, type, and prosecution details.

Inputs: application_number (required).

uspto_application_documentsA
Read-onlyIdempotent

List documents filed in a patent application (office actions, amendments, drawings, etc.). Filter by document code or date range.

Inputs: application_number (required), date_to, date_from, document_codes.

uspto_application_transactionsA
Read-onlyIdempotent

Get transaction (prosecution history) events for a patent application. Shows office actions, responses, examiner actions, and status changes with dates.

Inputs: application_number (required).

uspto_petition_decisionsB
Read-onlyIdempotent

Search USPTO petition decisions - petitions for extension of time, revival, suspension, etc. Search by applicant name, decision type, technology center, date range.

Inputs: q, sort, limit, fields, +3 more.

uspto_ptab_decisionsA
Read-onlyIdempotent

Search PTAB trial decisions. Find institution decisions, final written decisions, and other PTAB rulings. Search by trial type, outcome, patent owner, grant date range.

Inputs: q, sort, limit, fields, +3 more.

uspto_ptab_proceeding_detailsA
Read-onlyIdempotent

Get details for a specific PTAB trial proceeding by trial number (e.g. 'IPR2025-01319').

Inputs: trial_number (required).

uspto_ptab_proceedingsA
Read-onlyIdempotent

Search PTAB (Patent Trial and Appeal Board) trial proceedings - IPR, PGR, CBM, and derivation proceedings. Search by trial number, patent owner, petitioner, technology center, status, or date range.

Inputs: q, sort, limit, fields, +3 more.

uspto_search_applicationsA
Read-onlyIdempotent

Search USPTO patent applications using ODP query syntax (POST). The q param supports opensearch DSL: boolean (AND/OR/NOT), wildcards (* ?), exact phrases (""), field:value, ranges ([from TO to]), comparisons (>=600). Filters narrow results by field value. Range filters narrow by date/number range. All params are optional -- an empty search returns recent applications.

Inputs: q, sort, limit, facets, +4 more.

wb_compareA
Read-onlyIdempotent

Compare a World Bank indicator across multiple countries. Great for 'How does US compare to...' questions.

Inputs: countries (required), indicator (required), date_range.

wb_countriesA
Read-onlyIdempotent

List World Bank countries with region, income level, and capital city.

Inputs: no named parameters.

wb_indicatorA
Read-onlyIdempotent

Get a World Bank indicator for a country. Popular: NY.GDP.MKTP.CD (GDP), SP.DYN.LE00.IN (life expectancy), SH.XPD.CHEX.PC.CD (health spend/capita), SL.UEM.TOTL.ZS (unemployment)

Inputs: indicator (required), country, date_range.

wb_referenceA
Read-onlyIdempotent

Get World Bank classification lookup tables: regions, income levels, or lending types. Use the resulting codes to filter wb_countries-style queries (e.g. income level 'LIC' = low income).

Inputs: type (required).

wb_sourcesA
Read-onlyIdempotent

Browse World Bank data source databases. With no source_id, lists all ~70 sources (World Development Indicators, Doing Business, International Debt Statistics, etc.). With a source_id, lists every indicator in that database.

Inputs: source_id.

wb_topicsA
Read-onlyIdempotent

Browse World Bank indicators by theme. With no topic_id, lists all 21 topics (Agriculture, Health, Climate Change, Education, etc.). With a topic_id, lists every indicator under that topic — the best way to discover indicators for a subject without keyword guessing.

Inputs: topic_id.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 345 tools

    Disambiguation2/5

    The tool set spans dozens of agencies and domains, and while many tools are domain-specific, there are numerous overlapping tools within domains (e.g., congress_bill_details vs congress_bill_full_profile, epa_air_quality vs epa_aqs_daily, fda_device_enforcement vs fda_device_recalls, nhtsa_recalls vs nhtsa_recall_detail, multiple 'search' vs 'query' tools). The sheer scale and redundant 'full profile' convenience tools create significant ambiguity about which tool to select.

    Naming Consistency3/5

    Most tools follow a consistent agency_prefix + noun + verb pattern (e.g., congress_search_bills, fda_drug_events, nws_forecast), but there are notable deviations: 'code_mode' and 'clear_cache' break the pattern, some tools use inconsistent verb placement (e.g., 'search_datasets' vs 'list_datasets' vs 'get_endpoint_fields'), and the 'full_profile' tools mix conventions. Overall readable but not uniform.

    Tool Count1/5

    345 tools is an extreme count for a single MCP server. Even though it aggregates many government data sources, the server would be far more usable split into per-agency servers. The count is far beyond what an agent can effectively navigate, and many tools are redundant convenience wrappers.

    Completeness3/5

    The server covers an impressively broad range of government data domains, and many domains have reasonable search/detail coverage. However, completeness is uneven: some domains have deep coverage (Congress, FDA, EPA) while others are thin (e.g., only a few CDC tools, no update/delete operations since this is read-only data). The 'query' tools partially fill gaps, but the overall surface is more broad than systematically complete.

    Maintenance

    ActivityMaintained
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      Provides access to 7 free government and open data APIs including NOAA weather, US Census demographics, NASA imagery, World Bank economics, Data.gov, and EU Open Data through 22 specialized tools, with most requiring no API keys.
      22
      3
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      The most comprehensive keyless federal-data MCP server. 36 tools for SAM.gov + USAspending + Federal Register + eCFR + Grants.gov. No API key, no registration, no signup. Works in Claude Desktop, Claude Code, Codex CLI, Cursor, Continue, Gemini CLI, and any MCP-aware host.
      153
      238 npm
      19
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      38 AI data tools for Claude and any MCP-compatible agent — crypto, DeFi, equities, commodities, energy, real estate, government intelligence, security audits, and more.
      45
      MIT