socrata-mcp-server
io.github.cyanheads/socrata-mcp-server
Serveur MCP OK 6 outils
Search and query government open-data portals (Socrata SODA API).
Fiche technique
- Auteur
- cyanheads (espace de noms du registre)
- Dépôt
- github.com/cyanheads/socrata-mcp-server
- Site
- —
- Version
- 0.7.0
- Transport
- Streamable HTTP stdio
- Authentification
- Aucune (constatée par notre test)
- Adresse du serveur
- https://socrata.caseyjhand.com/mcp Streamable HTTP
- Paquets
- @cyanheads/socrata-mcp-server 0.7.0 npm stdio
@cyanheads/socrata-mcp-server 0.7.0 npm Streamable HTTP - Outils
- 6
- Catégories
- —
- Dernière mise à jour
- 8 nov. 2026
- Publication
- 8 nov. 2026
Auteur vérifié et popularité
Fiche pas encore revendiquée. C’est votre projet ? Revendiquez-la
Pas « Populaire » pour l’instant Retiré tout seul dès que les critères ne sont plus remplis.
- Visiteurs distincts de la fiche sur 30 jours : 0 (il en faut 30) pas encore
- ou configurations d’installation copiées sur 30 jours : 0 (il en faut 5) pas encore
- et un test réussi de moins de 14 jours : testé le 28 nov. 2026 rempli
Badge à jour tout seul. Toujours « testé le … », jamais « certifié ». Comment ça marche
[](https://latlas.dev/mcp/io.github.cyanheads/socrata-mcp-server)<a href="https://latlas.dev/mcp/io.github.cyanheads/socrata-mcp-server"><img src="https://latlas.dev/badge/statut/mcp/io.github.cyanheads/socrata-mcp-server.svg" alt="Statut sur L’Atlas" height="20"></a>Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/io.github.cyanheads/socrata-mcp-server)<a href="https://latlas.dev/mcp/io.github.cyanheads/socrata-mcp-server"><img src="https://latlas.dev/badge/fiche/io.github.cyanheads/socrata-mcp-server.svg" alt="Référencé sur L’Atlas" height="20"></a>Nos tests
Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode
- Adresse
- https://socrata.caseyjhand.com/mcp
- Dernier résultat
- OK 28 nov. 2026, 11:39
- Temps de réponse
- 1 290 ms (initialize + tools/list)
- Version du protocole
- 2025-11-25
- Nom annoncé
- socrata-mcp-server 0.7.0
- Outils
- 6
Historique
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 28 nov. 2026, 11:39 | OK | 1 290 ms | 6 |
Outils exposés (6, réponse à 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| query | string | non | Full-text search across dataset names and descriptions. Omit to browse without filtering. |
| domain | string | non | 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> | non | 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> | non | 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" | non | 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" | non | Sort order. Defaults to relevance. Use updated_at to surface recently-refreshed datasets. |
| limit | integer | non | 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 | non | 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').
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| domain | string | non | 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 | oui | 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| domain | string | non | 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 | oui | 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 | non | Full-text search across all text columns ($q). For field-specific filtering, use where instead. |
| select | string | non | 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 | non | 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 | non | SoQL GROUP BY clause over API field names (field_name from socrata_get_dataset). Requires an aggregate function in select. |
| having | string | non | SoQL HAVING clause. Filters on aggregated results, e.g. count > 100. |
| order | string | non | SoQL ORDER BY clause over API field names or select aliases, e.g. "total_deaths DESC" or "date ASC". |
| limit | integer | non | 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 | non | Row offset for pagination. Default 0. |
| canvas_id | string | non | 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 | non | 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 | non | 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| query | string | non | Keyword to filter portal names or organization names (case-insensitive substring match). Omit to list all portals. |
| limit | integer | non | Max portals to return (1–200). Default 50. |
| offset | integer | non | 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| canvas_id | string | non | 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| canvas_id | string | oui | Canvas ID returned from socrata_query_dataset or socrata_dataframe_describe. |
| sql | string | oui | 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 | non | 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. |
Compatibilité clients
Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Adresse distante utilisée : https://socrata.caseyjhand.com/mcp. Formats repris de la documentation de chaque client.
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"Citer cette source
Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.
socrata-mcp-server · L’Atlas · Test du
[socrata-mcp-server — L’Atlas](https://latlas.dev/mcp/io.github.cyanheads/socrata-mcp-server)Source : Registre officiel MCP · relevé le 2 déc. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.