Tilequery tool #9
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR adds support for the Mapbox Tilequery API as a new tool in the MCP devkit server. The tool allows users to query vector and raster data from Mapbox tilesets at specific geographic coordinates.
What's Added
tilequery_tool- Query vector and raster data from Mapbox tilesets at geographic coordinatesmapbox.mapbox-streets-v8as the default tileset when none is specifiedFeatures
Required Parameters
longitude(-180 to 180)latitude(-90 to 90)Optional Parameters with Defaults
tilesetId(default:mapbox.mapbox-streets-v8)radius(default: 0 meters)limit(default: 5, range: 1-50)dedupe(default: true)Optional Filters
geometry- Filter by geometry type (polygon, linestring, point)layers- Specific layer names to querybands- Specific band names for rasterarray tilesetsUsage Examples
Basic query (uses defaults)
{ "longitude": -122.4194, "latitude": 37.7749 }Advanced query with custom parameters
Implementation Details
Testing
Checklist
Additional Notes