Medicaid open data: SDUD and NADAC API

How to connect Medicaid open data: SDUD and NADAC to Cursor

Add the Firecrawl MCP server to Cursor once and it can call the Medicaid open data: SDUD and NADAC API and every other provider in Firecrawl Alexandria, with no Medicaid open data: SDUD and NADAC integration code.

Open Markdown

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

Cursor uses Medicaid open data: SDUD and NADAC as an MCP tool through Firecrawl's hosted MCP server, so you don't install or host a separate MCP server for Medicaid open data: SDUD and NADAC.

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 Medicaid open data: SDUD and NADAC to Cursor?

  1. Install the Firecrawl MCP server

    Open the install dialog in Cursor, check that the URL is Firecrawl's hosted server, then select Install.

    Cursor's Install MCP server dialog with the Firecrawl hosted server URL
  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
  3. Ask Cursor's agent for the data

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

    Use Firecrawl to answer this: What do U.S. pharmacies pay per tablet for Eliquis 5 mg right now?

What can Cursor do with Medicaid open data: SDUD and NADAC?

CMS Medicaid open data (data.medicaid.gov, DKAN): State Drug Utilization Data (Medicaid units, prescriptions and dollars reimbursed by state, NDC and quarter) and NADAC (weekly National Average Drug Acquisition Cost per unit by NDC), collected per dataset-year through the public datastore API under the shared collector contract (source status, pinned paginated listing, single-record lookup). Two agent-facing NADAC functions answer price questions directly: `prices/search` reads the newest weekly file by drug name or NDC (or the rates that took effect in a date range) and `prices/history` returns every rate one NDC has had since 2013, each with CMS attribution.

Cursor can run any of Medicaid open data: SDUD and NADAC's 5 capabilities through Alexandria. Each call is billed in Firecrawl credits on your Firecrawl team.

  • Records get: One SDUD or NADAC row by its natural key: SDUD `utilization_type|state|ndc|year|quarter` (e.g. FFSU|AK|00002143380|2025|4), NADAC `ndc|effective_date|as_of_date` (e.g. 00002143380|2026-09-23|2026-10-14). Exactly one datastore row must match; none is not_found. Costs 5 Firecrawl credits per call.
  • Records list: One page of SDUD or NADAC rows for a dataset-year, read from the datastore as sorted 8000-row CSV pages. Without a segment filter the listing walks every segment of the year (SDUD: state x quarter in state order; NADAC: weekly as_of_date ascending); a page never spans two segments. The cursor pins the dataset id, distribution id and DKAN import version: every page re-reads the metastore item and fails with invalid_input at /continuation (issue code publication_changed) when the version moved. Costs 5 Firecrawl credits per call.
  • Source status: Cheap version check of one dataset-year: metastore `modified`, distribution id, DKAN import version (publication id), bulk CSV URL with its size (1-byte Range), ETag and Last-Modified from download.medicaid.gov, the datastore row count and, when a segment is given, that segment's row count. Costs 5 Firecrawl credits per call.
  • History: Every NADAC rate one NDC has had since NADAC began in November 2013, newest first: each rate's effective date, price and the first and last weekly file that listed it, plus the change from the oldest to the newest rate. `from` and `to` keep only the rates in force at some point in that range. An NDC that no weekly file lists, or with no rate in the range, is `not_found`. Costs 5 Firecrawl credits per call.
  • Search: Find NADAC per-unit drug acquisition costs by drug name or NDC. Without dates it reads the newest weekly file: each matching NDC's current rate, by description and NDC, with `total_count`. With `effective_from` or `effective_to` it lists the rates that took effect in that range across all years, newest first, which shows price changes. No match is an empty result. Costs 5 Firecrawl credits per call.

What should I ask Cursor?

Name Medicaid open data: SDUD and NADAC or Firecrawl Alexandria in the prompt so Cursor reaches for it. Each example opens in Cursor with the prompt filled in.

Troubleshooting

Why can't Cursor find Medicaid open data: SDUD and NADAC?

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 Medicaid open data: SDUD and NADAC in other AI apps

The same Firecrawl account reaches Medicaid open data: SDUD and NADAC from other AI apps. Pick one for its setup steps:

Other data providers you can connect to 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, Medicaid open data: SDUD and NADAC 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 Medicaid open data: SDUD and NADAC MCP server for Cursor?

Cursor reaches Medicaid open data: SDUD and NADAC through Firecrawl's hosted MCP server, which serves Medicaid open data: SDUD and NADAC 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 Medicaid open data: SDUD and NADAC.

What does connecting Medicaid open data: SDUD and NADAC to Cursor unlock?

Cursor can run all 5 of Medicaid open data: SDUD and NADAC's capabilities, including Records get, Records list and Source status, from any chat, with structured results it can sort, compare and summarize. For example, ask: "Use Firecrawl to answer this: What do U.S. pharmacies pay per tablet for Eliquis 5 mg right now?" In the same conversation, Cursor can combine Medicaid open data: SDUD and NADAC with Firecrawl's web search and scraping and the other providers in Firecrawl Alexandria.

Do I need my own Medicaid open data: SDUD and NADAC account or API key to use it in Cursor?

No. Cursor calls Medicaid open data: SDUD and NADAC through Firecrawl Alexandria and each call is billed in Firecrawl credits, so you don't need a separate Medicaid open data: SDUD and NADAC account or API key.

How much does it cost to use Medicaid open data: SDUD and NADAC in Cursor?

Each Medicaid open data: SDUD and NADAC 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 Medicaid open data: SDUD and NADAC?

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 Medicaid open data: SDUD and NADAC 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 Medicaid open data: SDUD and NADAC capabilities are available there. Keyless connections don't include Alexandria.

//
Get started
//
Ready to build?
Start getting web context for free and scale seamlessly as your project expands. No credit card needed.
Are you an AI agent? See setup options