Skip to main content

MCP server for political finance data: campaign contributions, lobbying, voting records via FEC and OpenSecrets APIs

Project description

political-finance-mcp-server

MCP server giving AI agents access to US political finance data: campaign contributions, PAC spending, lobbying records, and voting behavior.

Data Sources

  • FEC API (Federal Election Commission) — free, no registration required
  • ProPublica Congress API — free with registration

Tools

Tool Description
get_candidate_fundraising Campaign contributions and spending by candidate
get_top_donors_by_industry Top donors by industry sector
get_pac_spending PAC (Political Action Committee) spending data
get_campaign_finance_summary Overview of an election cycle's financing
search_individual_donations Search donations by individual donor name
get_congress_member_votes Voting records for Congress members

Installation

pip install political-finance-mcp-server

Usage with Claude Desktop

{
  "mcpServers": {
    "political-finance": {
      "command": "political-finance-mcp-server"
    }
  }
}

Example Queries

  • "How much did the tech industry donate to presidential candidates in 2024?"
  • "Show me the top 10 PACs by spending in the 2024 election cycle"
  • "Who donated more than $5000 with the last name Musk?"
  • "What was Biden's total fundraising vs Trump in 2024?"

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

political_finance_mcp_server-0.1.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

political_finance_mcp_server-0.1.0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file political_finance_mcp_server-0.1.0.tar.gz.

File metadata

File hashes

Hashes for political_finance_mcp_server-0.1.0.tar.gz
Algorithm Hash digest
SHA256 766275527b593438ed552ddcce00a80e18501dec63ea383e1d2915604a3845e7
MD5 c04366f52d0102ca038e656e5149e21b
BLAKE2b-256 0ef9c85279778c5d0c1d46f1f552c2f024ca5de617c80891ecd74816a670d1a3

See more details on using hashes here.

File details

Details for the file political_finance_mcp_server-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for political_finance_mcp_server-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 146cd5bba367c27b6be9e1a1fd91b77259ea6b791d6089bea53cc8d010a199e0
MD5 a8f2dd8c5a7f07b1dc36495ad441ccca
BLAKE2b-256 260e1bfe07339664a9aa3cffc9a175f9f2b246f633803b2af2fa1f4fcdeca740

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page