io.github.civdotiq/civiq

civiq

U.S. civic data for AI agents: reps, votes, bills, finance, lobbying, cited gov sources. 47 tools.

1.0.0
Version
remote
Transport
46
Tools

Security review

Review passed

Reviewed Jan 1, 2000.

  • tools: 46 tools scanned
  • metadata: scanned

No findings.

Tools (46)

  • lookup_representatives

    Find everyone who represents a full street address: the two US Senators and House member (bioguideId, name, party, state, district, chamber) plus every state legislator for the address (name, party, district, chamber, phone, email). The Census Geocoder resolves the exact districts; a ZIP code alone is not accepted because ZIPs cross district lines.

  • list_state_delegation

    List all federal legislators for a state (both senators and all House representatives).

  • get_representative_profile

    Get detailed profile for a specific legislator including committees, social media, biography, and contact info.

  • compare_legislators

    Compare multiple legislators side-by-side. Returns profiles for each bioguideId.

  • search_legislation

    Search for bills in Congress. Provide `query` for full-text keyword/topic search (e.g. "broadband", "veterans healthcare") via GovInfo's full-text bill index; results include a congress-type-number id you can pass to get_bill_details. Without `query`, returns the most recently updated bills (optionally filtered by type).

  • get_bill_details

    Get detailed information about a specific bill including sponsor, cosponsors, committees, actions, and policy area.

  • get_voting_history

    Get a legislator's recent voting record. Returns vote ID, bill info, position, result, and date.

  • get_vote_record

    Get details about a specific House roll call vote including all member positions. Note: only House votes are available via this tool.

  • get_campaign_finance

    Get FEC campaign finance data for a legislator including total raised/spent, PAC contributions, and industry breakdown.

  • search_lobbying

    Search Senate LDA lobbying filings from the complete corpus — every quarterly report (LD-2) in the covered window, not a sample. Returns registrant, client, spending amount, issue codes and the committees each filing touches, plus exact totals. Filter by quarter, by organization, or both. Amounts are plausibility-gated (income <= $5M, expenses <= $50M per filing).

  • get_federal_spending

    Get federal contracts and grants for a congressional district from USASpending.gov.

  • get_influence_chain

    Trace lobbying money through contributions, committee assignments, and votes for a legislator. Shows the path from lobbying org to legislative outcome.

  • analyze_district_comprehensive

    District representative info combined with STATE-level context across domains: environment (EPA), safety (FEMA, CFPB), health (CMS), economy (EIA, education, research, banking). Domain counts are statewide aggregates — these sources do not publish district-level rollups.

  • analyze_industry_regulatory_landscape

    For a given industry sector: all regulatory actions (EPA, FDA, NHTSA), lobbying filings, campaign contributions, and committee jurisdiction. Maps sector to agencies and oversight committees.

  • analyze_policy_area_ecosystem

    For a Congress.gov policy area: related agencies, industry sectors, lobbying activity, committee oversight, and Federal Register keywords. Uses policy-area-map as the cross-domain join hub.

  • get_committee_info

    Get detailed information about a congressional committee including members, jurisdiction, and subcommittees.

  • get_federal_register

    Search Federal Register for rules, proposed rules, notices, and executive orders.

  • get_district_info

    Get comprehensive information about a congressional district including demographics, economics, and representative.

  • search_epa_facilities

    Search EPA-regulated facilities by state, ZIP, or SIC code. Returns facility name, address, compliance status, violations, and penalties.

  • get_district_environmental_profile

    Environmental profile for a congressional district: regulated facilities, active violations and toxic releases, all scoped to the district by county FIPS. Superfund sites are returned STATEWIDE, not per district, because the EPA layer serving them carries no county FIPS. Includes serving representative.

  • analyze_environmental_influence

    Cross-reference EPA violations in a district with lobbying and campaign finance. Maps facility SIC codes to sectors, finds lobbying in those sectors by the district rep, checks EPA-oversight committee membership overlap, and identifies environmental legislation votes.

  • get_climate_data

    NOAA climate normals for a state: average temperature, min/max temperatures, precipitation, and snowfall from 30-year normal period. Requires NOAA_TOKEN.

  • get_state_climate_profile

    Climate profile for a state: NOAA climate normals, severe weather event history, and the state delegation's Environment committee membership for climate policy context.

  • search_fema_disasters

    Search FEMA disaster declarations by state, year, or type (DR=Major Disaster, EM=Emergency, FM=Fire Management). Returns declaration number, dates, programs, and designated areas.

  • get_district_disaster_history

    Disaster history for a congressional district: FEMA declarations, recurring hazard types, total assistance amounts. Cross-references with USASpending disaster relief in the district.

  • search_crime_statistics

    FBI UCR crime statistics by state and offense type. Returns actual counts, rates per 100,000, clearances, and national comparison. Offense types: violent-crime, property-crime, HOM, RPE, ROB, ASS, BUR, LAR, MVT, ARS.

  • get_state_public_safety_profile

    State crime trends with national comparison, Judiciary committee memberships from the state's congressional delegation, and relevant policy area context for criminal justice legislation.

  • search_consumer_complaints

    Search CFPB consumer complaints by company, product, state, or date range. Returns complaint details including issue, response, and timeliness.

  • get_district_consumer_complaints

    Consumer complaints aggregated by congressional district using ZIP-district mapping. Shows top complained-about companies, products, and issues for a district.

  • analyze_consumer_protection_influence

    Cross-reference top complained-about companies in a state with lobbying registrants (entity resolution fuzzy match) and campaign contributions to the district representative. Checks rep votes on Finance-related legislation. Shows correlations only — not causation.

  • get_housing_affordability

    HUD Fair Market Rents and income limits by county FIPS code. Returns rental rates by bedroom count and income thresholds (very low, extremely low, low) by household size.

  • get_district_housing_profile

    Housing affordability profile for a congressional district: HUD Fair Market Rents and income limits for district counties, representative's Housing committee membership, and relevant housing policy context.

  • search_vehicle_recalls

    Search NHTSA vehicle recalls by make, model, and/or year. Returns campaign number, affected component, safety summary, consequence, remedy, and whether to park the vehicle immediately.

  • search_vehicle_complaints

    Search NHTSA consumer complaints about vehicles by make, model, and/or component. Returns incident details including injuries, deaths, crashes, fires, and complaint summary.

  • search_healthcare_providers

    Search CMS hospitals and nursing homes by state with quality ratings. Returns overall star ratings, safety/mortality comparisons for hospitals, and inspection/staffing ratings for nursing homes.

  • get_district_healthcare_profile

    Healthcare infrastructure for a congressional district: CMS hospitals and nursing homes with quality ratings, representative's Health committee membership, and pending health legislation context.

  • get_state_energy_profile

    State energy profile from EIA: total consumption, production, electricity generation, renewable percentage, and top energy sources. Returns production mix and trends.

  • analyze_energy_policy_influence

    Cross-reference state energy profile with energy sector lobbying registrants (entity resolution fuzzy match), Energy/Commerce committee membership, campaign contributions, and energy legislation votes. Shows correlations only — not causation.

  • search_colleges

    Search College Scorecard for higher education institutions by state and/or name. Returns admission rate, graduation rate, average net price, median earnings, median debt, and size.

  • get_district_education_profile

    Higher education landscape for a congressional district: colleges/universities by state with outcomes data, representative's Education committee membership, and relevant education policy context.

  • search_nih_grants

    Search NIH-funded research grants by state, institution, or topic. Returns project title, principal investigator, award amount, NIH institute, and organization.

  • get_district_research_profile

    NIH-funded research in a congressional district: grants by state, top institutions, top-funded topics, total award amounts, and representative's Science/Health committee membership.

  • search_fdic_institutions

    Search FDIC-insured banks and financial institutions by state, name, or city. Returns total assets, deposits, number of offices, charter class, and regulator.

  • get_district_banking_profile

    Banking landscape for a congressional district: FDIC-insured institutions, total deposits/assets, recent bank failures, and representative's Banking/Financial Services committee membership.

  • get_federal_fiscal_data

    Federal fiscal overview from Treasury: national debt, monthly revenue by category, and spending by category. Returns current figures and fiscal year totals.

  • get_federal_debt_context

    Current federal debt with context: total public debt outstanding, debt held by public vs intragovernmental holdings, and record date. Useful for fiscal policy discussions.