Connects Claude to the Terranode Geospatial API for spatial queries against US datasets. You get five tools: point-in-polygon lookups to find which feature contains a coordinate, nearest feature search with distances, geodesic distance calculations between two points, spatial joins to enrich multiple coordinates at once, and dataset listing. Requires a Terranode API key from app.terranode.co. Works through stdio transport via npx. Useful when you need to resolve coordinates to administrative boundaries like counties or ZIP codes, find proximity to features, or batch-process location data without writing geospatial query code yourself.
MCP server for spatial queries via the Terranode Geospatial API. Gives AI agents (Claude Desktop, Cursor, etc.) tools to query geospatial datasets — point-in-polygon lookups, nearest feature search, distance calculations, and spatial joins.
Add to your claude_desktop_config.json:
{
"mcpServers": {
"terranode": {
"command": "npx",
"args": ["@terranode-co/mcp-server"],
"env": {
"TERRANODE_API_KEY": "your-api-key-here"
}
}
}
}
Add to your Cursor MCP settings (.cursor/mcp.json):
{
"mcpServers": {
"terranode": {
"command": "npx",
"args": ["@terranode-co/mcp-server"],
"env": {
"TERRANODE_API_KEY": "your-api-key-here"
}
}
}
}
Add to your Claude Code MCP settings:
{
"mcpServers": {
"terranode": {
"command": "npx",
"args": ["@terranode-co/mcp-server"],
"env": {
"TERRANODE_API_KEY": "your-api-key-here"
}
}
}
}
| Tool | Description |
|---|---|
list_datasets | List all available geospatial datasets (system + custom) |
check_location | Point-in-polygon: which feature contains a coordinate? |
find_nearest | Find the N nearest features to a coordinate, with distances |
calculate_distance | Geodesic distance between two points (meters + miles) |
spatial_join | Enrich multiple coordinates with polygon attributes at once |
Try these in Claude Desktop or Cursor:
The full API spec is available at docs.terranode.co/openapi.yaml (OpenAPI 3.1).
Report issues or feature requests: feedback@terranode.co
TERRANODE_API_KEY*secretAPI key from app.terranode.co
TERRANODE_API_URLdefault: https://api.terranode.coAPI base URL (defaults to https://api.terranode.co)