# How to connect Harvard Dataverse: MIT Election Data and Science Lab returns to Claude

> Connect Harvard Dataverse: MIT Election Data and Science Lab returns to Claude with the Firecrawl connector.

To connect Harvard Dataverse: MIT Election Data and Science Lab returns to Claude, add the Firecrawl connector to Claude, sign in on a Firecrawl team with Alexandria enabled, and ask for Harvard Dataverse: MIT Election Data and Science Lab returns data in plain language. The connection works in Claude on the web, Claude Desktop and Cowork, and you set it up once.

Claude uses Harvard Dataverse: MIT Election Data and Science Lab returns as an MCP tool through Firecrawl's hosted MCP server, so you don't install or host a separate MCP server for Harvard Dataverse: MIT Election Data and Science Lab returns.

Claude is Anthropic's AI assistant. Connectors give it tools from other services, and the Firecrawl connector adds web search, scraping and every data provider in Firecrawl Alexandria.

## How do I connect Harvard Dataverse: MIT Election Data and Science Lab returns to Claude?

### 1. Add the Firecrawl connector

Open the [Firecrawl connector in Claude's connector directory](https://claude.ai/directory/connectors/firecrawl) and select Connect to Claude. In Claude Desktop you can also go to Customize, then Connectors, and search for Firecrawl.

[Add to Claude](https://claude.ai/directory/connectors/firecrawl)

![The Firecrawl connector in Claude's directory with the Connect to Claude button](https://www.firecrawl.dev/images/alexandria/connect/claude/add-connector.webp)

### 2. Connect your Firecrawl account

Claude 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 listing what claude.ai can do, including running Alexandria data providers](https://www.firecrawl.dev/images/alexandria/connect/claude/authorize.webp)

### 3. Turn on Firecrawl in a chat

In a new conversation, open the + menu, go to Connectors and switch on Firecrawl.

![Claude's + menu open on Connectors with the Firecrawl switch turned on](https://www.firecrawl.dev/images/alexandria/connect/claude/turn-on.webp)

### 4. Ask Claude for the data

Ask in plain language and mention Harvard Dataverse: MIT Election Data and Science Lab returns or Firecrawl Alexandria. Claude finds the Harvard Dataverse: MIT Election Data and Science Lab returns capability that fits, checks its inputs and runs it. For example:

```text
Use Firecrawl to run Harvard Dataverse: MIT Election Data and Science Lab returns' Get dataset capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.
```

## What can Claude do with Harvard Dataverse: MIT Election Data and Science Lab returns?

Harvard Dataverse (dataverse.harvard.edu), where the MIT Election Data and Science Lab (MEDSL) publishes its cleaned US election returns: search datasets in the MEDSL dataverse (or any Harvard dataverse alias), read a dataset's metadata, licence, citation and file list from the native API, and filter one race's rows (year, state, office, district, county, candidate, party, stage, mode) out of a CSV/TSV return file with HTTP range reads. Every record carries the dataset DOI and citation. All 55 MEDSL datasets are CC0 1.0. Datasets behind a Dataverse guestbook (U.S. House 1976-2024, County Presidential 2000-2024, the 2018 and 2020 precinct releases and others) are metadata-only: the program never submits a guestbook response.

Claude can run any of Harvard Dataverse: MIT Election Data and Science Lab returns's 3 capabilities through Alexandria. Each call is billed in Firecrawl credits on your Firecrawl team.

- **Get dataset**: One published dataset from the Harvard Dataverse native API by DOI or dataset page URL: title, description, authors, keywords, topics, related datasets, version and release time, licence (name, URI, SPDX id), terms, whether a guestbook gates downloads, a citation with DOI and version, and every file with id, size, content type, tabular/original format, MD5, whether `query_returns` can read it and its bytes. Unknown DOIs are `not_found`. Costs 5 Firecrawl credits per call.
- **Query returns**: Rows of one CSV/TSV file of a dataset that match the filters: year, state (name or postal code), office (substring, e.g. SENATE), district (numeric match, `001` = `1`), county (name or FIPS), candidate (substring), party (substring of party_detailed/simplified), stage (gen/pri) and mode. Each row has MEDSL's common columns normalized (candidate, party, votes, total votes, writein, special, mode, county, precinct) plus every column as published, and the dataset DOI and citation. The file is read with HTTP range requests from Dataverse's signed storage URL, at most 24 MiB per call: statewide files (Senate 1976-2024 ~0.5 MB, President 1976-2024 ~0.5 MB) finish in one call; precinct files (2-420 MB) continue with `next_offset`, so prefer the per-state files of the `Precinct-Level Returns <year> by Individual State` datasets. Guestbook-gated, restricted and non-delimited files are `invalid_input`; an unknown file is `not_found`. Costs 5 Firecrawl credits per call.
- **Search datasets**: Search published datasets in a Harvard Dataverse collection and its sub-dataverses through the public search API. Defaults to the MEDSL dataverse (`medsl`: U.S. House, Senate and President returns, county presidential returns, precinct-level returns 2016-2024 by office and by state, election night returns, Elections Performance Index). Returns DOI, title, description, dataverse, citation, authors, keywords, file count and version, 1-100 per page. An unknown dataverse alias is `not_found`. Costs 5 Firecrawl credits per call.

## What should I ask Claude?

Name Harvard Dataverse: MIT Election Data and Science Lab returns or Firecrawl Alexandria in the prompt so Claude reaches for it.

- [Use Firecrawl to run Harvard Dataverse: MIT Election Data and Science Lab returns' Get dataset capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.](https://claude.ai/new?q=Use%20Firecrawl%20to%20run%20Harvard%20Dataverse%3A%20MIT%20Election%20Data%20and%20Science%20Lab%20returns'%20Get%20dataset%20capability.%20Inspect%20the%20Alexandria%20inputs%2C%20ask%20for%20any%20missing%20required%20details%2C%20and%20return%20a%20small%20sample%20with%20sources.)
- [Use Firecrawl to run Harvard Dataverse: MIT Election Data and Science Lab returns' Query returns capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.](https://claude.ai/new?q=Use%20Firecrawl%20to%20run%20Harvard%20Dataverse%3A%20MIT%20Election%20Data%20and%20Science%20Lab%20returns'%20Query%20returns%20capability.%20Inspect%20the%20Alexandria%20inputs%2C%20ask%20for%20any%20missing%20required%20details%2C%20and%20return%20a%20small%20sample%20with%20sources.)
- [Use Firecrawl to run Harvard Dataverse: MIT Election Data and Science Lab returns' Search datasets capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.](https://claude.ai/new?q=Use%20Firecrawl%20to%20run%20Harvard%20Dataverse%3A%20MIT%20Election%20Data%20and%20Science%20Lab%20returns'%20Search%20datasets%20capability.%20Inspect%20the%20Alexandria%20inputs%2C%20ask%20for%20any%20missing%20required%20details%2C%20and%20return%20a%20small%20sample%20with%20sources.)
- [Use Firecrawl to find the right Harvard Dataverse: MIT Election Data and Science Lab returns capabilities for my research question](https://claude.ai/new?q=Use%20Firecrawl%20to%20find%20the%20right%20Harvard%20Dataverse%3A%20MIT%20Election%20Data%20and%20Science%20Lab%20returns%20capabilities%20for%20my%20research%20question)

### For agents

Start with the `dataverse-harvard-edu` 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 Claude use Harvard Dataverse: MIT Election Data and Science Lab returns?

The connector has to be on in each conversation. Open the + menu, go to Connectors and check that Firecrawl is switched on, then ask again and name Harvard Dataverse: MIT Election Data and Science Lab returns or Firecrawl Alexandria in the prompt.

### Claude says it can't reach the Firecrawl server. What should I do?

Open Customize, then Connectors, disconnect Firecrawl and connect it again. On a Team or Enterprise plan, an owner has to allow the connector before members can add it.

### Why does Claude say Harvard Dataverse: MIT Election Data and Science Lab returns isn't available?

Alexandria needs a Firecrawl team with Alexandria enabled. Reconnect Firecrawl and pick that team on the consent screen.

## Use Harvard Dataverse: MIT Election Data and Science Lab returns in other AI apps

- [Harvard Dataverse: MIT Election Data and Science Lab returns in ChatGPT](https://alexandria.firecrawl.dev/providers/dataverse-harvard-edu/connect/chatgpt)
- [Harvard Dataverse: MIT Election Data and Science Lab returns in Cursor](https://alexandria.firecrawl.dev/providers/dataverse-harvard-edu/connect/cursor)
- [Harvard Dataverse: MIT Election Data and Science Lab returns in Grok Bot](https://alexandria.firecrawl.dev/providers/dataverse-harvard-edu/connect/grok-bot)
- [Harvard Dataverse: MIT Election Data and Science Lab returns in Muse](https://alexandria.firecrawl.dev/providers/dataverse-harvard-edu/connect/muse)

### Other data providers you can connect to Claude

- [How to connect Research Index to Claude](https://alexandria.firecrawl.dev/providers/firecrawl-research-index/connect/claude)
- [How to connect NIH Guide for Grants and Contracts to Claude](https://alexandria.firecrawl.dev/providers/grants-nih-gov/connect/claude)
- [How to connect Australian Food Composition Database (AFCD, FSANZ) to Claude](https://alexandria.firecrawl.dev/providers/afcd-foodstandards-gov-au/connect/claude)
- [How to connect Environment and Climate Change Canada weather and climate (api.weather.gc.ca) to Claude](https://alexandria.firecrawl.dev/providers/api-weather-gc-ca/connect/claude)

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

## 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 connector brings those tools into Claude, 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, Harvard Dataverse: MIT Election Data and Science Lab returns among them. Each provider returns structured data through documented capabilities. Claude finds the capability that fits your question and calls it through the Firecrawl connector, 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 Harvard Dataverse: MIT Election Data and Science Lab returns MCP server for Claude?

Claude reaches Harvard Dataverse: MIT Election Data and Science Lab returns through Firecrawl's hosted MCP server, which serves Harvard Dataverse: MIT Election Data and Science Lab returns and every other Alexandria provider as tools. Add the Firecrawl connector once and you don't install or host a separate MCP server for Harvard Dataverse: MIT Election Data and Science Lab returns.

### What does connecting Harvard Dataverse: MIT Election Data and Science Lab returns to Claude unlock?

Claude can run Harvard Dataverse: MIT Election Data and Science Lab returns's Get dataset, Query returns and Search datasets, from any chat, with structured results it can sort, compare and summarize. In the same conversation, Claude can combine Harvard Dataverse: MIT Election Data and Science Lab returns with Firecrawl's web search and scraping and the other providers in Firecrawl Alexandria.

### Do I need my own Harvard Dataverse: MIT Election Data and Science Lab returns account or API key to use it in Claude?

No. Claude calls Harvard Dataverse: MIT Election Data and Science Lab returns through Firecrawl Alexandria and each call is billed in Firecrawl credits, so you don't need a separate Harvard Dataverse: MIT Election Data and Science Lab returns account or API key.

### How much does it cost to use Harvard Dataverse: MIT Election Data and Science Lab returns in Claude?

Each Harvard Dataverse: MIT Election Data and Science Lab returns call costs 5 Firecrawl credits. The capability list on this page shows each price and its unit. The credits come from the Firecrawl team you connect to Claude, and finding the right capability is free.

### Can Claude use other providers besides Harvard Dataverse: MIT Election Data and Science Lab returns?

Yes. The same Firecrawl connector reaches every provider in Firecrawl Alexandria, along with Firecrawl's web search and scraping, so you connect once.

### Can I use Harvard Dataverse: MIT Election Data and Science Lab returns in other AI apps?

Yes. Connect Firecrawl to ChatGPT, 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 Harvard Dataverse: MIT Election Data and Science Lab returns capabilities are available there. Keyless connections don't include Alexandria.
