L'Atlas / MCP servers / socrata-mcp-server
MCP server

socrata-mcp-server

io.github.cyanheads/socrata-mcp-server

MCP server OK 6 tools

Get a review See pricing

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

MarkdownREADME.md
[![Status on L’Atlas](https://latlas.dev/badge/statut/mcp/io.github.cyanheads/socrata-mcp-server.svg?lang=en)](https://latlas.dev/en/mcp/io.github.cyanheads/socrata-mcp-server)
HTML
<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

Listed on L’Atlas

Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.

MarkdownREADME.md
[![Listed on L’Atlas](https://latlas.dev/badge/fiche/io.github.cyanheads/socrata-mcp-server.svg?lang=en)](https://latlas.dev/en/mcp/io.github.cyanheads/socrata-mcp-server)
HTML
<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

DateResultResponseTools
28 Nov 2026, 11:39OK1,290 ms6

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.

ParameterTypeRequiredDescription
querystringnoFull-text search across dataset names and descriptions. Omit to browse without filtering.
domainstringnoScope 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.
categoriesarray<string>noFilter 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.
tagsarray<string>noFilter 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.
onlyenum: "datasets" | "maps" | "files" | "calendars" | "stories"noFilter by asset type. Omit to include all types. Usually "datasets" is what you want.
orderenum: "relevance" | "page_views_total" | "created_at" | "updated_at"noSort order. Defaults to relevance. Use updated_at to surface recently-refreshed datasets.
limitintegernoNumber 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.
offsetintegernoPagination 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').

ParameterTypeRequiredDescription
domainstringnoPortal 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_idstringyesFour-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.

ParameterTypeRequiredDescription
domainstringnoPortal 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_idstringyesFour-by-four dataset ID (e.g. kzjm-xkqj). IDs are portal-scoped: take it from socrata_find_datasets together with that result’s domain.
searchstringnoFull-text search across all text columns ($q). For field-specific filtering, use where instead.
selectstringnoSoQL 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.
wherestringnoSoQL 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(…
groupstringnoSoQL GROUP BY clause over API field names (field_name from socrata_get_dataset). Requires an aggregate function in select.
havingstringnoSoQL HAVING clause. Filters on aggregated results, e.g. count > 100.
orderstringnoSoQL ORDER BY clause over API field names or select aliases, e.g. "total_deaths DESC" or "date ASC".
limitintegernoMax 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…
offsetintegernoRow offset for pagination. Default 0.
canvas_idstringnoOptional 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_namestringnoName 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…
stagebooleannoStage 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.

ParameterTypeRequiredDescription
querystringnoKeyword to filter portal names or organization names (case-insensitive substring match). Omit to list all portals.
limitintegernoMax portals to return (1–200). Default 50.
offsetintegernoPagination 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.

ParameterTypeRequiredDescription
canvas_idstringnoCanvas 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.

ParameterTypeRequiredDescription
canvas_idstringyesCanvas ID returned from socrata_query_dataset or socrata_dataframe_describe.
sqlstringyesSELECT-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.
limitintegernoMax 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.

ClientDocumented transportsThis serverSource
Claude Codestdio Streamable HTTP SSEtransport accepteddoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport accepteddoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport accepteddoc
Cursorstdio Streamable HTTP SSEtransport accepteddoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport accepteddoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport accepteddoc
Gemini CLIstdio Streamable HTTP SSEtransport accepteddoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport accepteddoc

Ready-to-copy configs

Remote address used: https://socrata.caseyjhand.com/mcp. Formats taken from each client’s documentation.

Claude Code
claude mcp add --transport http socrata-mcp-server https://socrata.caseyjhand.com/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : socrata-mcp-server ; URL : https://socrata.caseyjhand.com/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : socrata-mcp-server ; Server URL : https://socrata.caseyjhand.com/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "socrata-mcp-server": {
      "url": "https://socrata.caseyjhand.com/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "socrata-mcp-server": {
      "type": "http",
      "url": "https://socrata.caseyjhand.com/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "socrata-mcp-server": {
      "url": "https://socrata.caseyjhand.com/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "socrata-mcp-server": {
      "httpUrl": "https://socrata.caseyjhand.com/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[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

Markdown
[socrata-mcp-server — L’Atlas](https://latlas.dev/en/mcp/io.github.cyanheads/socrata-mcp-server)
Test methodology and limitations

Source : Registre officiel MCP · retrieved 2 Dec 2026. L’Atlas adds no data beyond this source and its own tests.