Dati Lombardia (dati.lombardia.it) API and MCP server for AI agents
Let Claude, ChatGPT or your own agent read Dati Lombardia (dati.lombardia.it). No Dati Lombardia (dati.lombardia.it) API key needed.
Add to your agent
Paste this into Claude Code, Cursor, Codex or any agent. It adds the server itself.
Read https://bowmark.ai/sites/dati_lombardia.md and add Bowmark's Dati Lombardia (dati.lombardia.it) MCP server to my agent.Run this in a terminal, then sign in when the browser opens. Claude Code keeps its own sign-in (a claude.ai sign-in does not carry over), so add only this one server. Adding the Bowmark plugin as well lists every tool twice.
claude mcp add --transport http bowmark-dati-lombardia https://api.bowmark.ai/mcp/site/dati_lombardiaPress the button, or add this to ~/.cursor/mcp.json.
{
"mcpServers": {
"bowmark-dati-lombardia": {
"url": "https://api.bowmark.ai/mcp/site/dati_lombardia"
}
}
}Press the button, or run this in a terminal.
code --add-mcp '{"name":"bowmark-dati-lombardia","type":"http","url":"https://api.bowmark.ai/mcp/site/dati_lombardia"}'Run this in a terminal.
codex mcp add bowmark-dati-lombardia --url https://api.bowmark.ai/mcp/site/dati_lombardiaIn Claude, open Plugins → Add → Add custom connector, paste this URL, and pick Sign in now.
https://api.bowmark.ai/mcp/site/dati_lombardiaIn ChatGPT, open Plugins, press +, choose Add custom MCP server and paste this URL.
https://api.bowmark.ai/mcp/site/dati_lombardiaAny MCP client that takes a remote (streamable HTTP) server: give it this URL.
https://api.bowmark.ai/mcp/site/dati_lombardiaFunctions
Open a function to see its parameters and run it with your own API key.
getDatasetRead one dati.lombardia.it dataset's own metadata by id (or its dataset URL): name, description, category, license, tags, update dates, and every…POST /v1/sites/dati_lombardia/getDataset
Parameters
curl -X POST https://api.bowmark.ai/v1/sites/dati_lombardia/getDataset \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":"9t59-agc4"}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.dati_lombardia.getDataset("9t59-agc4");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.dati_lombardia.getDataset("9t59-agc4"))Responsereturns dati_lombardiaDatasetDetailinterface dati_lombardiaColumn { fieldName: string; // the name SoQL $select/$where/$order take label: string | null; type: string | null; description: string | null; } interface dati_lombardiaDatasetDetail { id: string; name: string; description: string | null; category: string | null; license: string | null; attribution: string | null; tags: string[]; createdAt: string | null; dataUpdatedAt: string | null; columns: dati_lombardiaColumn[]; url: string; }queryDatasetRead rows from one dati.lombardia.it dataset by id with SoQL: $select, $where, $group, $order, limit/offset, or simple exact-match filters; the same…POST /v1/sites/dati_lombardia/queryDataset
Parameters
Four-by-four id like "9t59-agc4", or a dataset URL.
SoQL $order, e.g. "periodo DESC".
Default 25, max 5000.
curl -X POST https://api.bowmark.ai/v1/sites/dati_lombardia/queryDataset \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"datasetId":"9t59-agc4","order":"periodo DESC","limit":1}}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.dati_lombardia.queryDataset({ datasetId: "9t59-agc4", order: "periodo DESC", limit: 1 });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.dati_lombardia.queryDataset({ "datasetId": "9t59-agc4", "order": "periodo DESC", "limit": 1 }))Responsereturns dati_lombardiaQueryResultinterface dati_lombardiaQueryResult { datasetId: string; rows: Record<string, unknown>[]; // keys are column fieldNames (or $select aliases); every value is a string soql: Record<string, string>; // the SoQL clauses that ran }searchDatasetsSearch dati.lombardia.it's dataset catalog by keyword; returns each dataset's id, name, description, category, column names and last-update dates…POST /v1/sites/dati_lombardia/searchDatasets
Parameters
curl -X POST https://api.bowmark.ai/v1/sites/dati_lombardia/searchDatasets \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"query":"raccolta differenziata","limit":3}}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.dati_lombardia.searchDatasets({ query: "raccolta differenziata", limit: 3 });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.dati_lombardia.searchDatasets({"query": "raccolta differenziata", "limit": 3}))Responsereturns dati_lombardiaSearchResultinterface dati_lombardiaDataset { id: string; // the id getDataset and queryDataset take name: string; description: string | null; category: string | null; attribution: string | null; updatedAt: string | null; dataUpdatedAt: string | null; columnNames: string[]; // SoQL field names of the table's columns url: string; } interface dati_lombardiaSearchResult { total: number | null; datasets: dati_lombardiaDataset[]; }