# How to connect Socrata open-data portals to Cursor

> Connect Socrata open-data portals to Cursor with the Firecrawl MCP server. Use Socrata open-data portals as an MCP tool in Cursor via Firecrawl Alexandria.

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

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

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 Socrata open-data portals 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 Socrata open-data portals or Firecrawl Alexandria. The agent finds the Socrata open-data portals capability that fits and runs it. For example:

```text
Use Firecrawl to find Chicago building permits issued for 1576 N Milwaukee Ave.
```

## What can Cursor do with Socrata open-data portals?

Discover and query datasets on any public Socrata (Tyler Data & Insights) open-data portal: city, county and state portals such as data.cityofchicago.org, data.ny.gov, data.austintexas.gov, data.wa.gov and hundreds more. Search the cross-portal catalog (Socrata Discovery API), read a dataset's columns, row count, license and update details, and query rows with SoQL (select/where/order/group/full text). Portals are verified as Socrata domains before they are contacted. Keyless; no app token.

Cursor can run any of Socrata open-data portals's 3 capabilities through Alexandria. Each call is billed in Firecrawl credits on your Firecrawl team.

- **Describe dataset**: Describe one dataset on a Socrata portal: every column (field name used in SoQL, display name, Socrata type, description), exact row count (count(*)), category, tags, attribution, license, provenance, creation/publication/last-update timestamps and portal-defined metadata such as update frequency or owning department. The portal must be a Socrata domain (else invalid_input not_socrata_portal); an unknown or private dataset id is not_found. Costs 5 Firecrawl credits per call.
- **Query dataset**: Query rows of a dataset on any Socrata portal through its SODA 2.1 endpoint with SoQL: select (columns, aliases, aggregates), where (comparisons, like, between, in, date and spatial functions), order, group and full-text q, paged with limit (1-1000) and offset. Rows come back as published (numbers and dates as strings, geometry as GeoJSON) with the returned field names and types; pages are cut at about 1 MB of row data with next_offset to continue. The portal must be a Socrata domain (else invalid_input not_socrata_portal); an unknown dataset is not_found; SoQL the portal rejects (unknown column, syntax) is invalid_input at the offending field; an empty page is a successful result. Costs 5 Firecrawl credits per call.
- **Search datasets**: Search the Socrata catalog for datasets, across every public Socrata portal in a region or limited to one portal (`domain`), by free text, category and tags, paged with limit/offset (up to 100 per page). Each dataset has its 4x4 id, name, owning portal domain, plain-text description, category, tags, attribution, license, created/updated dates, the column field names and types, popularity, permalink and SODA API URL. A domain that no Socrata region serves fails with invalid_input not_socrata_portal; a search with no matches is a successful empty result. Costs 5 Firecrawl credits per call.

## What should I ask Cursor?

Name Socrata open-data portals or Firecrawl Alexandria in the prompt so Cursor reaches for it.

- [Use Firecrawl to find Chicago building permits issued for 1576 N Milwaukee Ave.](https://cursor.com/link/prompt?text=Use%20Firecrawl%20to%20find%20Chicago%20building%20permits%20issued%20for%201576%20N%20Milwaukee%20Ave.)
- [Use Firecrawl to answer this: Which open-data portals publish restaurant inspection results, and what columns do they have?](https://cursor.com/link/prompt?text=Use%20Firecrawl%20to%20answer%20this%3A%20Which%20open-data%20portals%20publish%20restaurant%20inspection%20results%2C%20and%20what%20columns%20do%20they%20have%3F)
- [Use Firecrawl to count Austin construction permits by permit type for 2025.](https://cursor.com/link/prompt?text=Use%20Firecrawl%20to%20count%20Austin%20construction%20permits%20by%20permit%20type%20for%202025.)
- [Use Firecrawl to run Socrata open-data portals' Describe dataset 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%20Socrata%20open-data%20portals'%20Describe%20dataset%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 `socrata-com` 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 Socrata open-data portals?

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 Socrata open-data portals in other AI apps

- [Socrata open-data portals in ChatGPT](https://alexandria.firecrawl.dev/providers/socrata-com/connect/chatgpt)
- [Socrata open-data portals in Claude](https://alexandria.firecrawl.dev/providers/socrata-com/connect/claude)
- [Socrata open-data portals in Grok Bot](https://alexandria.firecrawl.dev/providers/socrata-com/connect/grok-bot)
- [Socrata open-data portals in Muse](https://alexandria.firecrawl.dev/providers/socrata-com/connect/muse)

### Other data providers you can connect to 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)
- [How to connect CMS Medicare Drug Prices: Negotiated Prices and Part B ASP Payment Limits to Cursor](https://alexandria.firecrawl.dev/providers/cms-gov/connect/cursor)
- [How to connect CDC PLACES local health estimates (data.cdc.gov) to Cursor](https://alexandria.firecrawl.dev/providers/data-cdc-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, Socrata open-data portals 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 Socrata open-data portals MCP server for Cursor?

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

### What does connecting Socrata open-data portals to Cursor unlock?

Cursor can run Socrata open-data portals's Describe dataset, Query dataset and Search datasets, from any chat, with structured results it can sort, compare and summarize. For example, ask: "Use Firecrawl to find Chicago building permits issued for 1576 N Milwaukee Ave." In the same conversation, Cursor can combine Socrata open-data portals with Firecrawl's web search and scraping and the other providers in Firecrawl Alexandria.

### Do I need my own Socrata open-data portals account or API key to use it in Cursor?

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

### How much does it cost to use Socrata open-data portals in Cursor?

Each Socrata open-data portals 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 Socrata open-data portals?

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 Socrata open-data portals 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 Socrata open-data portals capabilities are available there. Keyless connections don't include Alexandria.
