Geoportal Kanton Solothurn (geo.so.ch) API and MCP server for AI agents
Let Claude, ChatGPT or your own agent read Geoportal Kanton Solothurn (geo.so.ch). No Geoportal Kanton Solothurn (geo.so.ch) 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/geo_so_ch.md and add Bowmark's Geoportal Kanton Solothurn (geo.so.ch) 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-geo-so-ch https://api.bowmark.ai/mcp/site/geo_so_chPress the button, or add this to ~/.cursor/mcp.json.
{
"mcpServers": {
"bowmark-geo-so-ch": {
"url": "https://api.bowmark.ai/mcp/site/geo_so_ch"
}
}
}Press the button, or run this in a terminal.
code --add-mcp '{"name":"bowmark-geo-so-ch","type":"http","url":"https://api.bowmark.ai/mcp/site/geo_so_ch"}'Run this in a terminal.
codex mcp add bowmark-geo-so-ch --url https://api.bowmark.ai/mcp/site/geo_so_chIn Claude, open Plugins → Add → Add custom connector, paste this URL, and pick Sign in now.
https://api.bowmark.ai/mcp/site/geo_so_chIn ChatGPT, open Plugins, press +, choose Add custom MCP server and paste this URL.
https://api.bowmark.ai/mcp/site/geo_so_chAny MCP client that takes a remote (streamable HTTP) server: give it this URL.
https://api.bowmark.ai/mcp/site/geo_so_chFunctions
Open a function to see its parameters and run it with your own API key.
getFeatureRead one geo.so.ch feature by the dataproductId and featureId a search() place returned: all its attributes (e.g. street, house number, postcode…POST /v1/sites/geo_so_ch/getFeature
Parameters
curl -X POST https://api.bowmark.ai/v1/sites/geo_so_ch/getFeature \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"dataproductId":"ch.so.agi.av.gebaeudeadressen.gebaeudeeingaenge","featureId":"442326690"}}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.geo_so_ch.getFeature({ dataproductId: "ch.so.agi.av.gebaeudeadressen.gebaeudeeingaenge", featureId: "442326690" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.geo_so_ch.getFeature({ "dataproductId": "ch.so.agi.av.gebaeudeadressen.gebaeudeeingaenge", "featureId": "442326690" }))Responsereturns geo_so_chFeatureinterface geo_so_chFeature { dataproductId: string; featureId: string; properties: Record<string, unknown>; // the layer's attributes geometry: { type: string; coordinates: unknown } | null; // GeoJSON geometry in srid bbox: number[] | null; srid: string | null; }searchStart here: search("Baselstrasse 20 Feldbrunnen") searches geo.so.ch, the geoportal of the Swiss canton of Solothurn (SO!MAP), in one box: addresses…POST /v1/sites/geo_so_ch/search
Parameters
curl -X POST https://api.bowmark.ai/v1/sites/geo_so_ch/search \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"query":"Baselstrasse 20","limit":5}}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.geo_so_ch.search({ query: "Baselstrasse 20", limit: 5 });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.geo_so_ch.search({"query": "Baselstrasse 20", "limit": 5}))Responsereturns geo_so_chSearchResultinterface geo_so_chPlace { label: string; // e.g. "Baselstrasse 20, 4532 Feldbrunnen (Adresse)" kind: string | null; // the portal's own type word, e.g. "Adresse" dataproductId: string; // pass with featureId to getFeature featureId: string; bbox: number[] | null; // [minE, minN, maxE, maxN] in srid srid: string | null; // e.g. "EPSG:2056" (Swiss LV95) } interface geo_so_chLayer { dataproductId: string; title: string; type: string | null; // "layergroup" or "singleactor" sublayers: { dataproductId: string; title: string }[]; } interface geo_so_chSearchResult { query: string; places: geo_so_chPlace[]; // addresses, parcels, municipalities, names layers: geo_so_chLayer[]; // map layers (dataproducts) matching the query counts: { dataproductId: string; kind: string | null; count: number }[]; }