socrata-mcp-server
io.github.cyanheads/socrata-mcp-server
MCP server OK 6 tools
Search and query government open-data portals (Socrata SODA API).
Technical sheet
- Author
- cyanheads (registry namespace)
- Repository
- github.com/cyanheads/socrata-mcp-server
- Site
- —
- Version
- 0.7.0
- Transport
- Streamable HTTP stdio
- Authentication
- None (observed by our test)
- Server address
- https://socrata.caseyjhand.com/mcp Streamable HTTP
- Packages
- @cyanheads/socrata-mcp-server 0.7.0 npm stdio
@cyanheads/socrata-mcp-server 0.7.0 npm Streamable HTTP - Tools
- 6
- Categories
- —
- Last updated
- 8 Nov 2026
- Published
- 8 Nov 2026
Verified author and popularity
Entry not claimed yet. Is it your project? Claim it
Not “Popular” for now Removed automatically as soon as the criteria are no longer met.
- Distinct visitors of this entry over 30 days: 0 (30 needed) not yet
- or install configs copied over 30 days: 0 (5 needed) not yet
- and a successful test less than 14 days old: tested 28 Nov 2026 met
Badge updates by itself. Always “tested on …”, never “certified”. How it works
[](https://latlas.dev/en/mcp/io.github.cyanheads/socrata-mcp-server)<a href="https://latlas.dev/en/mcp/io.github.cyanheads/socrata-mcp-server"><img src="https://latlas.dev/badge/statut/mcp/io.github.cyanheads/socrata-mcp-server.svg?lang=en" alt="Status on L’Atlas" height="20"></a>Badge for your README
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.
[](https://latlas.dev/en/mcp/io.github.cyanheads/socrata-mcp-server)<a href="https://latlas.dev/en/mcp/io.github.cyanheads/socrata-mcp-server"><img src="https://latlas.dev/badge/fiche/io.github.cyanheads/socrata-mcp-server.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>Our tests
Every week: initialize then tools/list, without credentials, never calling a tool. Method
- Address
- https://socrata.caseyjhand.com/mcp
- Last result
- OK 28 Nov 2026, 11:39
- Response time
- 1,290 ms (initialize + tools/list)
- Protocol version
- 2025-11-25
- Announced name
- socrata-mcp-server 0.7.0
- Tools
- 6
History
| Date | Result | Response | Tools |
|---|---|---|---|
| 28 Nov 2026, 11:39 | OK | 1,290 ms | 6 |
Exposed tools (6, from tools/list, 28 Nov 2026)
socrata_find_datasets
Find Socrata Datasets
Search for datasets across all Socrata-powered government open-data portals, or scope to one portal with the domain parameter. Returns dataset IDs, names, domains, update timestamps, and column_names — the API field names SoQL takes, not display labels. Use socrata_get_dataset to fetch the typed column schema before writing queries — column_names carry no type information.
| Parameter | Type | Required | Description |
|---|---|---|---|
| query | string | no | Full-text search across dataset names and descriptions. Omit to browse without filtering. |
| domain | string | no | Scope search to a single portal by bare hostname (e.g. data.seattle.gov, data.cityofnewyork.us); URL forms like https://data.seattle.gov/ are accepted and reduced to the host. Omit to search all portals. Required with categories or tags. |
| categories | array<string> | no | Filter by the portal's own categories (e.g. ["Public Safety", "Transportation"]). Requires domain: each portal assigns its own categories. Multiple values are ORed: a dataset in any listed category matches. Across portals, search with query instead. |
| tags | array<string> | no | Filter by the portal's own tags (e.g. ["covid19", "permits"]). Requires domain: each portal assigns its own tags. Multiple values are ORed: a dataset carrying any listed tag matches. Across portals, search with query instead. |
| only | enum: "datasets" | "maps" | "files" | "calendars" | "stories" | no | Filter by asset type. Omit to include all types. Usually "datasets" is what you want. |
| order | enum: "relevance" | "page_views_total" | "created_at" | "updated_at" | no | Sort order. Defaults to relevance. Use updated_at to surface recently-refreshed datasets. |
| limit | integer | no | Number of results to return (1–10,000). One call returns at most 100 results: a larger limit is served as 100, with a notice naming the offset that continues. Default 10. |
| offset | integer | no | Pagination offset. Default 0. Must be below 10,000: the Discovery catalog serves only the first 10,000 matches of a search. |
socrata_get_dataset
Get Dataset Schema
Fetch full metadata and column schema for a Socrata dataset by ID. Returns field names, data types, descriptions, row count, and licensing. Always call this before writing a socrata_query_dataset — the column types determine correct WHERE clause syntax: Number columns accept bare literals (year=2023) while Text columns require single-quoted strings (year='2023').
| Parameter | Type | Required | Description |
|---|---|---|---|
| domain | string | no | Portal the dataset lives on, as a bare hostname (e.g. data.cityofnewyork.us); URL forms like https://data.cityofnewyork.us/ are accepted and reduced to the host. Pass the domain from the same socrata_find_datasets result as dataset_id. Defaults to SOCRATA_DEFAULT_DOMAIN or data.seattle.gov, which i… |
| dataset_id | string | yes | Four-by-four dataset ID matching pattern like kzjm-xkqj. IDs are portal-scoped: take it from socrata_find_datasets together with that result’s domain. |
socrata_query_dataset
Query Dataset
Execute a SoQL query against any dataset on any Socrata portal. Use the search parameter for quick full-text lookup, or combine select/where/group/having/order for full analytical control. Returns rows plus the assembled SoQL string so you can learn the pattern. Columns are referenced by API field name (field_name from socrata_get_dataset, e.g. cuisine_description), never the display label. All SODA 2.1 row values are strings even for numeric columns — check data_type from socrata_get_dataset to determine correct WHERE quoting: Number columns use bare literals (year=2023), Text columns use single-quoted strings (year='2023'). To enumerate distinct values, use select="col, count(*) as n" with group="col" and order="n DESC". When the server has a canvas and more rows match past a full page, up to 50,000 matching rows spill to a DataCanvas table whatever the limit: list its columns with socrata_dataframe_describe, then run SQL with socrata_dataframe_query. Pass stage false to return the page alone, without staging.
| Parameter | Type | Required | Description |
|---|---|---|---|
| domain | string | no | Portal the dataset lives on, as a bare hostname (e.g. data.cityofnewyork.us); URL forms like https://data.cityofnewyork.us/ are accepted and reduced to the host. Pass the domain from the same socrata_find_datasets result as dataset_id. Defaults to SOCRATA_DEFAULT_DOMAIN or data.seattle.gov, which i… |
| dataset_id | string | yes | Four-by-four dataset ID (e.g. kzjm-xkqj). IDs are portal-scoped: take it from socrata_find_datasets together with that result’s domain. |
| search | string | no | Full-text search across all text columns ($q). For field-specific filtering, use where instead. |
| select | string | no | SoQL SELECT clause — API field names (field_name from socrata_get_dataset, not display labels), aliases, aggregates: "state, sum(deaths) as total_deaths". Omit for all columns. |
| where | string | no | SoQL WHERE clause over API field names (field_name from socrata_get_dataset). Check column data_type there first — Number columns: year=2023, Text columns: year='2023'; an unquoted text value is read as a column name. Operators: =, !=, >, <, LIKE, IN(...), BETWEEN, IS NULL, starts_with(), contains(… |
| group | string | no | SoQL GROUP BY clause over API field names (field_name from socrata_get_dataset). Requires an aggregate function in select. |
| having | string | no | SoQL HAVING clause. Filters on aggregated results, e.g. count > 100. |
| order | string | no | SoQL ORDER BY clause over API field names or select aliases, e.g. "total_deaths DESC" or "date ASC". |
| limit | integer | no | Max rows to return (1–50,000). One call returns at most 5,000 rows: a larger limit is served as 5,000, with a notice naming the offset that continues when more rows match. Default 100. Use with offset for pagination. When the server has a canvas and more rows match past a full page, up to 50,000 ma… |
| offset | integer | no | Row offset for pagination. Default 0. |
| canvas_id | string | no | Optional 10-char DataCanvas token from a prior socrata_query_dataset or socrata_dataframe_describe call. Omit on first call to mint a fresh canvas. Large result sets spill here automatically unless stage is false. |
| table_name | string | no | Name for the canvas table a spill stages: letters, digits, and underscores, starting with a letter or underscore, 63 characters at most; lowercased, and not a SQL keyword such as select or order. Defaults to a name derived from dataset_id (ijzp_q8t2_rows). A spill under a name the canvas already ho… |
| stage | boolean | no | Stage the matching rows on a canvas when more rows match past this page and the server has a canvas. Default true. Pass false to return the page alone, skipping the staging request; canvas_id and table_name then go unused. |
socrata_list_portals
List Socrata Portals
List known Socrata-powered government open-data portals with their domain, organization name, and approximate dataset count. The catalog is a curated list of 39 well-known portals; dataset counts are fetched from the Discovery API and cached for ~24 hours. Filtering is client-side substring match on the query parameter. Use this first when you do not know which portal to target, then pass the domain to socrata_find_datasets.
| Parameter | Type | Required | Description |
|---|---|---|---|
| query | string | no | Keyword to filter portal names or organization names (case-insensitive substring match). Omit to list all portals. |
| limit | integer | no | Max portals to return (1–200). Default 50. |
| offset | integer | no | Pagination offset. Default 0. |
socrata_dataframe_describe
Describe DataCanvas Tables
List registered tables in a DataCanvas session — schema, row count, and column names. Shows what datasets are available for SQL queries via socrata_dataframe_query. Meaningful when the server has a DataCanvas. Use after socrata_query_dataset spills a large result set to canvas.
| Parameter | Type | Required | Description |
|---|---|---|---|
| canvas_id | string | no | Canvas ID returned by socrata_query_dataset when a large result spills to canvas. Required in practice when canvas is enabled — canvases cannot be enumerated, so omitting it fails with canvas_id_required instead of listing tables. |
socrata_dataframe_query
Query DataCanvas Table
Run SELECT-only SQL against a DataCanvas table populated by socrata_query_dataset. Columns SODA types as number (including aggregate aliases like count(*) as n) are staged as DOUBLE, so numeric comparisons work without a cast (year > 2020, amount < 500). Text and timestamp columns stay VARCHAR — compare times with CAST(date AS TIMESTAMP). Works when the server has a DataCanvas. Use socrata_dataframe_describe to see registered tables and their schemas.
| Parameter | Type | Required | Description |
|---|---|---|---|
| canvas_id | string | yes | Canvas ID returned from socrata_query_dataset or socrata_dataframe_describe. |
| sql | string | yes | SELECT-only SQL to run against registered canvas tables. DDL, DML, file paths, file-reading functions, and any name spelled like a DuckDB metadata view (pg_type, duckdb_tables, sqlite_master), even as a column alias or CTE name, are rejected. Use table names from socrata_dataframe_describe. |
| limit | integer | no | Max rows to return (1–50,000). One call returns at most 10,000 rows: a larger limit is served as 10,000, with a notice naming how to page through the rest when more rows match. Default 1000. |
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepted | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Remote address used: https://socrata.caseyjhand.com/mcp. Formats taken from each client’s documentation.
claude mcp add --transport http socrata-mcp-server https://socrata.caseyjhand.com/mcpCustomize > Connectors > + Add > Add custom connector ; Name : socrata-mcp-server ; URL : https://socrata.caseyjhand.com/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : socrata-mcp-server ; Server URL : https://socrata.caseyjhand.com/mcp ; Create as a plugin{
"mcpServers": {
"socrata-mcp-server": {
"url": "https://socrata.caseyjhand.com/mcp"
}
}
}{
"mcpServers": {
"socrata-mcp-server": {
"type": "http",
"url": "https://socrata.caseyjhand.com/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"socrata-mcp-server": {
"url": "https://socrata.caseyjhand.com/mcp"
}
}
}{
"mcpServers": {
"socrata-mcp-server": {
"httpUrl": "https://socrata.caseyjhand.com/mcp"
}
}
}[mcp_servers.socrata-mcp-server]
url = "https://socrata.caseyjhand.com/mcp"Cite this source
Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.
socrata-mcp-server · L’Atlas · Tested on
[socrata-mcp-server — L’Atlas](https://latlas.dev/en/mcp/io.github.cyanheads/socrata-mcp-server)Source : Registre officiel MCP · retrieved 2 Dec 2026. L’Atlas adds no data beyond this source and its own tests.