tilequery

Pack: mapbox · Endpoint: https://gateway.pipeworx.io/mapbox/mcp

Query features inside a Mapbox vector tile around a coordinate — what POIs / roads / boundaries / buildings are within a radius of a point. Specialized GIS query against a specific tileset_id; most users want geocode_reverse or directions instead.

Parameters

NameTypeRequiredDescription
tileset_idstringyes
lonnumberyes
latnumberyes
radiusnumberno
limitnumberno
dedupebooleanno
geometrystringno
layersstringno

Example call

Arguments

{
  "tileset_id": "mapbox.mapbox-streets-v8",
  "lon": -122.4194,
  "lat": 37.7749
}

curl

curl -X POST https://gateway.pipeworx.io/mapbox/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"tilequery","arguments":{"tileset_id":"mapbox.mapbox-streets-v8","lon":-122.4194,"lat":37.7749}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('tilequery', {
  "tileset_id": "mapbox.mapbox-streets-v8",
  "lon": -122.4194,
  "lat": 37.7749
});

More examples

{
  "tileset_id": "mapbox.mapbox-streets-v8",
  "lon": -74.006,
  "lat": 40.7128,
  "radius": 25,
  "limit": 10,
  "layers": "poi_label"
}

Response shape

Full JSON Schema
{
  "type": "object",
  "description": "Mapbox Tilequery API response with tile features"
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "mapbox": {
      "url": "https://gateway.pipeworx.io/mapbox/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 6, 2026