# How to connect Ballotpedia to ChatGPT

> Connect Ballotpedia to ChatGPT with the Firecrawl plugin. Use Ballotpedia as an MCP tool in ChatGPT via Firecrawl Alexandria.

To connect Ballotpedia to ChatGPT, add the Firecrawl plugin to ChatGPT, sign in on a Firecrawl team with Alexandria enabled, and ask for Ballotpedia data in plain language. The connection works in ChatGPT and Codex, and you set it up once.

ChatGPT 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.

ChatGPT is OpenAI's AI assistant. Plugins add tools from other services, and the Firecrawl plugin adds web search, scraping and every data provider in Firecrawl Alexandria.

## How do I connect Ballotpedia to ChatGPT?

### 1. Install the Firecrawl plugin

Open the [Firecrawl listing in ChatGPT's plugin directory](https://chatgpt.com/plugins/plugin_asdk_app_6a314a73f8ac819195b0d55e36b9c609?q=firecrawl) and select Install plugin. You can also open Plugins in ChatGPT or Codex and search for Firecrawl.

[Add to ChatGPT](https://chatgpt.com/plugins/plugin_asdk_app_6a314a73f8ac819195b0d55e36b9c609?q=firecrawl)

![The Firecrawl plugin page in ChatGPT with the Install plugin button](https://www.firecrawl.dev/images/alexandria/connect/chatgpt/install.webp)

### 2. Connect your Firecrawl account

ChatGPT 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.

![Firecrawl's consent screen asking to connect chatgpt.com to Firecrawl](https://www.firecrawl.dev/images/alexandria/connect/chatgpt/authorize.webp)

### 3. Attach Firecrawl to a chat

Start a new chat so it loads the plugin, open the + menu and choose Firecrawl. You can also ask ChatGPT to use Firecrawl by name.

![ChatGPT's + menu with the Firecrawl plugin listed](https://www.firecrawl.dev/images/alexandria/connect/chatgpt/attach.webp)

### 4. Ask ChatGPT for the data

Ask in plain language and mention Ballotpedia or Firecrawl Alexandria. ChatGPT finds the Ballotpedia capability that fits and runs it. For example:

```text
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 ChatGPT 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.

ChatGPT 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 ChatGPT?

Name Ballotpedia or Firecrawl Alexandria in the prompt so ChatGPT reaches for it.

- [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.](https://chatgpt.com/?q=Use%20Firecrawl%20to%20run%20Ballotpedia's%20Ballot%20for%20date%20capability.%20Inspect%20the%20Alexandria%20inputs%2C%20ask%20for%20any%20missing%20required%20details%2C%20and%20return%20a%20small%20sample%20with%20sources.)
- [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.](https://chatgpt.com/?q=Use%20Firecrawl%20to%20run%20Ballotpedia's%20Ballot%20measure%20details%20capability.%20Inspect%20the%20Alexandria%20inputs%2C%20ask%20for%20any%20missing%20required%20details%2C%20and%20return%20a%20small%20sample%20with%20sources.)
- [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.](https://chatgpt.com/?q=Use%20Firecrawl%20to%20run%20Ballotpedia's%20Candidate%20details%20capability.%20Inspect%20the%20Alexandria%20inputs%2C%20ask%20for%20any%20missing%20required%20details%2C%20and%20return%20a%20small%20sample%20with%20sources.)
- [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.](https://chatgpt.com/?q=Use%20Firecrawl%20to%20run%20Ballotpedia's%20Districts%20for%20coordinate%20capability.%20Inspect%20the%20Alexandria%20inputs%2C%20ask%20for%20any%20missing%20required%20details%2C%20and%20return%20a%20small%20sample%20with%20sources.)

### For agents

Start with the `ballotpedia-org` provider. Use Firecrawl Alexandria first. With MCP, use firecrawl_search with sources: ["alexandria"] to discover relevant tools, firecrawl_find_tools to inspect the selected capability contracts, then firecrawl_scrape in alexandria mode to retrieve records. With the CLI, use firecrawl search alexandria, firecrawl list, then firecrawl scrape for the selected provider/capability. Follow the live tool schema and returned contract; never invent provider IDs or inputs. Ask for missing required details before execution, respect access and pricing, and inspect each result for errors. Cite retrieved records, distinguish missing data from failures, and explain gaps. If no suitable Alexandria capability exists, say so before using web sources. Do not treat a tool listing as retrieved data.

## Troubleshooting

### Why doesn't ChatGPT use Ballotpedia?

Start a new chat after installing so ChatGPT loads the plugin, then attach Firecrawl from the + menu and name Ballotpedia or Firecrawl Alexandria in the prompt.

### How do I switch the Firecrawl team ChatGPT uses?

Open the Firecrawl plugin page in ChatGPT, uninstall it from the menu next to Settings, then install it again and choose the other team on Firecrawl's consent screen.

### Why does ChatGPT say Ballotpedia isn't available?

Alexandria needs a Firecrawl team with Alexandria enabled. Reinstall the plugin and pick that team when you approve access.

## Use Ballotpedia in other AI apps

- [Ballotpedia in Claude](https://alexandria.firecrawl.dev/providers/ballotpedia-org/connect/claude)
- [Ballotpedia in Cursor](https://alexandria.firecrawl.dev/providers/ballotpedia-org/connect/cursor)
- [Ballotpedia in Grok Bot](https://alexandria.firecrawl.dev/providers/ballotpedia-org/connect/grok-bot)
- [Ballotpedia in Muse](https://alexandria.firecrawl.dev/providers/ballotpedia-org/connect/muse)

### Other data providers you can connect to ChatGPT

- [How to connect City of Seattle Open Data: permits and land use decisions to ChatGPT](https://alexandria.firecrawl.dev/providers/data-seattle-gov/connect/chatgpt)
- [How to connect USFS Wildfire Risk to Communities to ChatGPT](https://alexandria.firecrawl.dev/providers/wildfirerisk-org/connect/chatgpt)
- [How to connect Campspot to ChatGPT](https://alexandria.firecrawl.dev/providers/campspot-com/connect/chatgpt)
- [How to connect Hipcamp to ChatGPT](https://alexandria.firecrawl.dev/providers/hipcamp-com/connect/chatgpt)

Full setup guide: [Firecrawl in ChatGPT](https://www.firecrawl.dev/integrations/chatgpt)

## 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 plugin brings those tools into ChatGPT, 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. ChatGPT finds the capability that fits your question and calls it through the Firecrawl plugin, 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 ChatGPT?

ChatGPT reaches Ballotpedia through Firecrawl's hosted MCP server, which serves Ballotpedia and every other Alexandria provider as tools. Add the Firecrawl plugin once and you don't install or host a separate MCP server for Ballotpedia.

### What does connecting Ballotpedia to ChatGPT unlock?

ChatGPT 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, ChatGPT 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 ChatGPT?

No. ChatGPT 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 ChatGPT?

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 ChatGPT, and finding the right capability is free.

### Can ChatGPT use other providers besides Ballotpedia?

Yes. The same Firecrawl plugin 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 Claude, Cursor, Grok Bot, Muse 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.
