mapular-geo-mcp

v0.3.0
mapular-geo-mcp Checked 5 hours ago Published 11 days ago

Geospatial analysis MCP server powered by DuckDB spatial + H3

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

query

Run DuckDB SQL with spatial + H3 extensions loaded. WHEN: Use this tool to analyze, filter, join, or aggregate geospatial data. WHAT: Executes SQL and writes results to a file. Returns file path + preview. NEXT: Use the output_path to reference results in subsequent queries or export. Users reference files directly in SQL via read_parquet(), read_csv_auto(), etc. DuckDB spatial functions (ST_Point, ST_Buffer, ST_DWithin, ...) and H3 functions (h3_latlng_to_cell, h3_cell_to_boundary, ...) are available. Args: sql: DuckDB SQL query. Reference files via read…

ParameterTypeDescription
sql *string
output_formatstring
preview_rowsinteger

export

Export DuckDB SQL results to Parquet, CSV, or GeoJSON. WHEN: Use this tool to write query results to a file for downstream consumption. WHAT: Executes SQL, writes output to the specified format, returns the file path. NEXT: Share the output path with the user or use it in subsequent tool calls. Users reference files directly in SQL via read_parquet(), read_csv_auto(), etc. DuckDB spatial functions (ST_Point, ST_Buffer, ST_DWithin, ...) and H3 functions (h3_latlng_to_cell, h3_cell_to_boundary, ...) are available. Args: sql: DuckDB SQL query. Reference file…

ParameterTypeDescription
format *string
sql *string
output_path

geocode

Convert a free-form address to lat/lon coordinates. WHEN: Use this tool to get coordinates for an address, city, or landmark. WHAT: Geocodes the address using Nominatim (default) or Mapbox and returns lat/lon with a confidence score. NEXT: Use the coordinates in spatial queries, ST_Point(), or map displays. Args: address: Free-form address string (e.g. "Brandenburg Gate, Berlin"). provider: Geocoding provider — "nominatim" (default, free) or "mapbox" (requires MAPBOX_ACCESS_TOKEN env var). Returns: {"lat": float, "lon…

ParameterTypeDescription
address *string
providerstring

transit_fetch

Fetch public transit stops, and the lines halting at each stop, within a radius. WHEN: Use this tool to find public transit infrastructure near a location. WHAT: Queries OpenStreetMap/Overpass for transit stops and routes within radius_m metres. Each stop carries its distance to the query point and the lines that halt there, so no stop-to-line matching is needed afterwards. By default only local public transport is returned (bus, tram, subway, light rail, regional/commuter rail) — long-distance trains, coaches (FlixBus etc.), tourist lines and…

ParameterTypeDescription
lat *number
lon *number
local_onlyboolean
radius_minteger