# How to connect ClinVar to Cursor

> Connect ClinVar to Cursor with the Firecrawl MCP server. Use ClinVar as an MCP tool in Cursor via Firecrawl Alexandria, with setup steps and example prompts.

To connect ClinVar to Cursor, add the Firecrawl MCP server to Cursor, sign in on a Firecrawl team with Alexandria enabled, and ask for ClinVar data in plain language. The connection works in Cursor's agent and chat, and you set it up once.

Cursor uses ClinVar as an MCP tool through Firecrawl's hosted MCP server, so you don't install or host a separate MCP server for ClinVar.

Cursor is an AI code editor. Its agent uses MCP servers for outside tools, and the Firecrawl MCP server adds web search, scraping and every data provider in Firecrawl Alexandria.

## How do I connect ClinVar to Cursor?

### 1. Install the Firecrawl MCP server

Open the [install dialog in Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=firecrawl&config=eyJ1cmwiOiJodHRwczovL21jcC5maXJlY3Jhd2wuZGV2L3YyL21jcC1vYXV0aCJ9), check that the URL is Firecrawl's hosted server, then select Install.

[Add to Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=firecrawl&config=eyJ1cmwiOiJodHRwczovL21jcC5maXJlY3Jhd2wuZGV2L3YyL21jcC1vYXV0aCJ9)

![Cursor's Install MCP server dialog with the Firecrawl hosted server URL](https://www.firecrawl.dev/images/blog/using-firecrawl-mcp-in-cursor/cursor-install-firecrawl-mcp-server.webp)

### 2. Connect your Firecrawl account

Use the server's sign-in option in Cursor's MCP settings. Firecrawl opens in your browser: sign in, choose a team with Alexandria enabled, and approve access. A green dot next to Firecrawl means it's connected.

![Cursor's MCP list showing Firecrawl connected with its tools enabled](https://www.firecrawl.dev/images/blog/using-firecrawl-mcp-in-cursor/cursor-firecrawl-mcp-connected.webp)

### 3. Ask Cursor's agent for the data

In the agent chat, ask in plain language and mention ClinVar or Firecrawl Alexandria. The agent finds the ClinVar capability that fits and runs it. For example:

```text
Use Firecrawl to answer this: Which BRCA1 variants has a ClinVar expert panel classified as pathogenic?
```

## What can Cursor do with ClinVar?

ClinVar, NCBI's public archive of human genetic variants and their clinical classifications (4.7 million records), through NCBI E-utilities. Search variants by gene, HGVS name, rsID, canonical SPDI, condition or free text, filtered by germline classification, review status or star rating, variant type and molecular consequence; read one variant by VCV accession, variation ID, ClinVar URL, rsID or HGVS with its aggregate germline classification, somatic clinical impact and oncogenicity, review status and stars, conditions with MedGen, OMIM, MONDO, Orphanet and HPO IDs, per-condition RCV aggregates, and each submitter's classification with criteria, allele origin, method and cited PMIDs. Every output carries ClinVar's citation and its clinical-use disclaimer.

Cursor can run any of ClinVar's 2 capabilities through Alexandria. Each call is billed in Firecrawl credits on your Firecrawl team.

- **Get**: One ClinVar variant by VCV accession (`VCV000017661`, with or without `.version`), variation ID (`17661`), ClinVar variation URL, rsID, HGVS name (`NM_007294.4:c.181T>G`, `BRCA1 c.181T>G`), canonical SPDI, RCV accession or ClinGen allele ID. Returns the variant as in `search` with HGNC IDs added; the record's version, dates, submission and submitter counts, how the germline aggregate was reached, and the records it replaced or was merged into; the per-condition RCV aggregates (up to 50, with `rcv_total`); and submissions (SCVs), highest review status and newest evaluation first, up to `submissions_limit`, each with submitter, classification type (germline, somatic clinical impact with its type and significance, or oncogenicity), review status, stars, evaluation and submission dates, conditions with MedGen mapping, allele origins, collection methods, assertion criteria, whether it counts toward the aggregate, and up to 20 cited PMIDs. `resolution` says how the input matched. An rsID or HGVS name that matches several variations (different alleles or transcripts) is `invalid_input` listing the candidates; an unknown, deleted or merged ID is `not_found`. Costs 5 Firecrawl credits per call.
- **Search**: Search ClinVar variants. `query` takes a gene-and-change (`BRCA1 c.181T>G`), an HGVS name (`NM_007294.4(BRCA1):c.181T>G`, `NC_000017.11:g.43106487A>C`), an rsID, a canonical SPDI, a VCV or RCV accession, a ClinGen allele ID or free text in Entrez syntax with ClinVar fields (`[gene]`, `[dis]`, `[vrnm]`); filters narrow by gene symbol, condition (name or MedGen, OMIM, MONDO, Orphanet or HPO ID), germline classification, review status or minimum stars, variant type and molecular consequence, and can be used without `query`. Each result is one variation (VCV) with name, type, coding and protein changes, genes, the aggregate germline classification with review status, stars, last evaluation and conditions, somatic clinical impact and oncogenicity, consequences, GRCh38 and GRCh37 location, rsIDs, canonical SPDI and cross-references. ClinVar orders results newest record first (it has no relevance sort); `total` counts every match and `next_offset` pages. A gene, condition or HGVS name ClinVar does not know gives an empty page with a message, never a broader search. Costs 5 Firecrawl credits per call.

## What should I ask Cursor?

Name ClinVar or Firecrawl Alexandria in the prompt so Cursor reaches for it.

- [Use Firecrawl to answer this: Which BRCA1 variants has a ClinVar expert panel classified as pathogenic?](https://cursor.com/link/prompt?text=Use%20Firecrawl%20to%20answer%20this%3A%20Which%20BRCA1%20variants%20has%20a%20ClinVar%20expert%20panel%20classified%20as%20pathogenic%3F)
- [Use Firecrawl to answer this: What is ClinVar's classification of NM_007294.4(BRCA1):c.181T>G, and which laboratories submitted it?](https://cursor.com/link/prompt?text=Use%20Firecrawl%20to%20answer%20this%3A%20What%20is%20ClinVar's%20classification%20of%20NM_007294.4(BRCA1)%3Ac.181T%3EG%2C%20and%20which%20laboratories%20submitted%20it%3F)
- [Use Firecrawl to answer this: What oncogenicity has ClinVar recorded for BRAF V600E (variation 13961)?](https://cursor.com/link/prompt?text=Use%20Firecrawl%20to%20answer%20this%3A%20What%20oncogenicity%20has%20ClinVar%20recorded%20for%20BRAF%20V600E%20(variation%2013961)%3F)
- [Use Firecrawl to run ClinVar's Get capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.](https://cursor.com/link/prompt?text=Use%20Firecrawl%20to%20run%20ClinVar's%20Get%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 `clinvar-ncbi-nlm-nih-gov` 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 can't Cursor find ClinVar?

If Firecrawl's tools in Cursor stop at search, scrape and parse, the connection is keyless and doesn't include Alexandria. Finish the sign-in from Cursor's MCP settings, or add an API key from a team with Alexandria enabled.

### Firecrawl shows a red dot in Cursor. What should I do?

Open Cursor's MCP settings, sign in to Firecrawl again, and restart the agent chat so it loads the tools.

## Use ClinVar in other AI apps

- [ClinVar in ChatGPT](https://alexandria.firecrawl.dev/providers/clinvar-ncbi-nlm-nih-gov/connect/chatgpt)
- [ClinVar in Claude](https://alexandria.firecrawl.dev/providers/clinvar-ncbi-nlm-nih-gov/connect/claude)
- [ClinVar in Grok Bot](https://alexandria.firecrawl.dev/providers/clinvar-ncbi-nlm-nih-gov/connect/grok-bot)
- [ClinVar in Muse](https://alexandria.firecrawl.dev/providers/clinvar-ncbi-nlm-nih-gov/connect/muse)

### Other data providers you can connect to Cursor

- [How to connect Research Index to Cursor](https://alexandria.firecrawl.dev/providers/firecrawl-research-index/connect/cursor)
- [How to connect AlphaFold Protein Structure Database to Cursor](https://alexandria.firecrawl.dev/providers/alphafold-ebi-ac-uk/connect/cursor)
- [How to connect France public medicines database (BDPM) to Cursor](https://alexandria.firecrawl.dev/providers/base-donnees-publique-medicaments-gouv-fr/connect/cursor)
- [How to connect ClinicalTrials.gov to Cursor](https://alexandria.firecrawl.dev/providers/clinicaltrials-gov/connect/cursor)

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

## 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 Cursor, 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, ClinVar among them. Each provider returns structured data through documented capabilities. Cursor 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 ClinVar MCP server for Cursor?

Cursor reaches ClinVar through Firecrawl's hosted MCP server, which serves ClinVar 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 ClinVar.

### What does connecting ClinVar to Cursor unlock?

Cursor can run ClinVar's Get and Search, from any chat, with structured results it can sort, compare and summarize. For example, ask: "Use Firecrawl to answer this: Which BRCA1 variants has a ClinVar expert panel classified as pathogenic?" In the same conversation, Cursor can combine ClinVar with Firecrawl's web search and scraping and the other providers in Firecrawl Alexandria.

### Do I need my own ClinVar account or API key to use it in Cursor?

No. Cursor calls ClinVar through Firecrawl Alexandria and each call is billed in Firecrawl credits, so you don't need a separate ClinVar account or API key.

### How much does it cost to use ClinVar in Cursor?

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

### Can Cursor use other providers besides ClinVar?

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 ClinVar in other AI apps?

Yes. Connect Firecrawl to ChatGPT, Claude, 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 ClinVar capabilities are available there. Keyless connections don't include Alexandria.
