How to connect Ballotpedia to Muse
Add the Firecrawl MCP server to Muse once and it can call the Ballotpedia API and every other provider in Firecrawl Alexandria, with no Ballotpedia integration code.
To connect Ballotpedia to Muse, add the Firecrawl MCP server to Muse, sign in on a Firecrawl team with Alexandria enabled, and ask for Ballotpedia data in plain language. The connection works in your Muse chats, and you set it up once.
Muse uses Ballotpedia as an MCP tool through Firecrawl's hosted MCP server, so you don't install or host a separate MCP server for Ballotpedia.
Muse is Meta's personal AI agent. It can set up MCP servers for itself, and the Firecrawl MCP server adds web search, scraping and every data provider in Firecrawl Alexandria.
How do I connect Ballotpedia to Muse?
Ask Muse to install Firecrawl
Open a Muse chat that asks it to install the Firecrawl MCP server by following Firecrawl's agent setup guide, then send the message.
Connect your Firecrawl account
Muse opens Firecrawl in your browser. Sign in, choose a team with Alexandria enabled, and approve access. No account yet? You can create one for free in the same flow.
Ask Muse for the data
Once Muse confirms Firecrawl is set up, ask in plain language and mention Ballotpedia or Firecrawl Alexandria. For example:
Use Firecrawl to run Ballotpedia's Ballot for date capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.
What can Muse do with Ballotpedia?
Ballotpedia, the encyclopedia of American politics and elections: candidates, races and ballot measures for US federal, state and local elections (2022 onward, including the 2026 midterms), e.g. who is running for governor of New Hampshire with party and incumbency. Statewide races by state code, sample ballots and political districts for any address or coordinate, current officeholders, candidate profiles (prior offices, profession, endorsements, campaign websites) and ballot measure details with arguments and donors, from the api4 backend behind Ballotpedia's Sample Ballot Lookup and Who Represents Me tools. Also the newest Ballotpedia News posts (news.ballotpedia.org) as a latest election news feed.
Muse can run any of Ballotpedia's 8 capabilities through Alexandria. Each call is billed in Firecrawl credits on your Firecrawl team.
- Ballot for date: The ballot at a coordinate for one election date: every district with its races (office, stage, seats, candidates with party, incumbency and status) and ballot measures, with the district boundaries as drawn for that date. Works for past elections (since 2022) and upcoming ones. Returns not_found when Ballotpedia has no election on that date at the coordinate. Costs 5 Firecrawl credits per call.
- Ballot measure details: One ballot measure by Ballotpedia id: title, article URL, ballot question, yes/no vote summaries, arguments for and against with authors and sources, and the committee, donor and social-link sections as returned. Costs 5 Firecrawl credits per call.
- Candidate details: Ballotpedia candidate profile and background data (election candidates for governor, Congress, state legislature and local office) for one or more candidate ids from a race: current offices, campaign contact channels, endorsements and the presence of a Candidate Connection survey. Unknown ids are reported in missing_ids; when none of the ids is known the call fails with not_found. Costs 5 Firecrawl credits per call.
- Districts for coordinate: Every political district Ballotpedia places a coordinate in, per election date: federal, state, congressional, state legislative, county, county subdivision, city/town, city council ward, school district, judicial district and their subdivisions. Districts are listed per election (boundaries as they applied on that date) and as a deduplicated set with the election dates each district appears on. Upcoming elections only by default; include_historical adds every election since 2022. Costs 5 Firecrawl credits per call.
- Geocode address: Resolve a US street address to the latitude/longitude Ballotpedia's lookup tools use. Runs Ballotpedia's address autocomplete (Esri via Amazon Location, US only) and geocodes the best suggestion. Returns not_found when the address produces no suggestion. Costs 5 Firecrawl credits per call.
- Latest: The newest Ballotpedia News posts (news.ballotpedia.org: election coverage, 2026 election analysis, ballot measures, federal, state and local politics, the Daily Brew newsletter) in the shared latest-feed shape: canonical url, publishedAt (RFC 3339 UTC, from the post's WordPress date_gmt publish instant, to the second), title and source "ballotpedia", plus category, the post's Ballotpedia News section. Newest first and de-duplicated by url. Reads the 100 newest posts of the site or of one section, so at most 100 items come back. Without a filter no section contributes more than a third of limit (at least 5), so the daily newsletter cannot crowd out election coverage. since (or its alias publishedSince) keeps only items published at or after that instant; nothing new since then is an empty list, not an error. The ballotpedia.org wiki itself (results pages such as Election_results,_2026) sits behind an AWS WAF JavaScript challenge and is not read. Costs 1 Firecrawl credit per call.
- Officeholders for coordinate: Current officeholders for a coordinate from Ballotpedia's Who Represents Me: districts (congressional, state legislative, state, and local where Ballotpedia covers it) with their offices and the people currently holding them, with party, Ballotpedia article URL and photo. Returns not_found for a coordinate outside Ballotpedia's US coverage. Costs 5 Firecrawl credits per call.
- Statewide races: Statewide races and candidates for a US state by two-letter code, no address needed: governor, U.S. Senate, lieutenant governor, attorney general, secretary of state and other statewide offices, plus statewide ballot measures, for one election date (default: the next upcoming election). Each race lists its candidates with party, incumbency and ballot status and links to Ballotpedia's election article, e.g. the 2026 New Hampshire gubernatorial election (Democratic nominee, Republican incumbent, Libertarian). Elections since 2022 work. Returns not_found when Ballotpedia lists no statewide race or measure in the state on that date. Costs 5 Firecrawl credits per call.
What should I ask Muse?
Name Ballotpedia or Firecrawl Alexandria in the prompt so Muse reaches for it. Each example opens in Muse with the prompt filled in.
- Use Firecrawl to run Ballotpedia's Ballot for date capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.
- Use Firecrawl to run Ballotpedia's Ballot measure details capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.
- Use Firecrawl to run Ballotpedia's Candidate details capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.
- Use Firecrawl to run Ballotpedia's Districts for coordinate capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.
Troubleshooting
Why can't Muse find Ballotpedia?
A keyless Firecrawl connection doesn't include Alexandria. Ask Muse to finish the Firecrawl sign-in, and choose a team with Alexandria enabled.
Use Ballotpedia in other AI apps
The same Firecrawl account reaches Ballotpedia from other AI apps. Pick one for its setup steps:
Other data providers you can connect to Muse
Frequently Asked Questions
What is Firecrawl?
Firecrawl is the web data API to search, scrape and interact with the web at scale. It turns websites into clean, LLM-ready data for AI agents and apps. The Firecrawl MCP server brings those tools into Muse, along with every data provider in Firecrawl Alexandria.
What is Firecrawl Alexandria?
Firecrawl Alexandria is Firecrawl's library of 550+ data providers for AI agents, Ballotpedia among them. Each provider returns structured data through documented capabilities. Muse finds the capability that fits your question and calls it through the Firecrawl MCP server, so you don't write any integration code. Alexandria needs a Firecrawl account signed in on a team with Alexandria enabled, or an API key from such a team; keyless connections don't include it.
Is there a Ballotpedia MCP server for Muse?
Muse reaches Ballotpedia through Firecrawl's hosted MCP server, which serves Ballotpedia and every other Alexandria provider as tools. Add the Firecrawl MCP server once and you don't install or host a separate MCP server for Ballotpedia.
What does connecting Ballotpedia to Muse unlock?
Muse can run all 8 of Ballotpedia's capabilities, including Ballot for date, Ballot measure details and Candidate details, from any chat, with structured results it can sort, compare and summarize. In the same conversation, Muse can combine Ballotpedia with Firecrawl's web search and scraping and the other providers in Firecrawl Alexandria.
Do I need my own Ballotpedia account or API key to use it in Muse?
No. Muse calls Ballotpedia through Firecrawl Alexandria and each call is billed in Firecrawl credits, so you don't need a separate Ballotpedia account or API key.
How much does it cost to use Ballotpedia in Muse?
Ballotpedia calls cost from 1 to 5 Firecrawl credits, depending on the capability. The capability list on this page shows each price and its unit. The credits come from the Firecrawl team you connect to Muse, and finding the right capability is free.
Can Muse use other providers besides Ballotpedia?
Yes. The same Firecrawl MCP server reaches every provider in Firecrawl Alexandria, along with Firecrawl's web search and scraping, so you connect once.
Can I use Ballotpedia in other AI apps?
Yes. Connect Firecrawl to ChatGPT, Claude, Cursor, Grok Bot signed in on a Firecrawl team with Alexandria enabled, or use the Firecrawl MCP server, CLI or API with an API key from that team, and the same Ballotpedia capabilities are available there. Keyless connections don't include Alexandria.