Terranode Geospatial API
Point-in-polygon, nearest feature, spatial join, and distance tools for US geospatial datasets
Installation
Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).
@terranode-co/mcp-serverclaude mcp add terranode-geospatial-api -e 'TERRANODE_API_KEY=<your terranode_api_key>' -e 'TERRANODE_API_URL=https://api.terranode.co' -- npx -y @terranode-co/mcp-server@0.1.10
{
"mcpServers": {
"terranode-geospatial-api": {
"command": "npx",
"args": [
"-y",
"@terranode-co/mcp-server@0.1.10"
],
"env": {
"TERRANODE_API_KEY": "<your terranode_api_key>",
"TERRANODE_API_URL": "https://api.terranode.co"
}
}
}
}
Variables d'environnement
TERRANODE_API_KEYobligatoire secret API key from app.terranode.coTERRANODE_API_URLAPI base URL (defaults to https://api.terranode.co)
Documentation
Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.
Sommaire
@terranode-co/mcp-server
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.
Prerequisites
- Node.js 18+
- A Terranode API key — sign up at app.terranode.co
Setup
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"terranode": {
"command": "npx",
"args": ["@terranode-co/mcp-server"],
"env": {
"TERRANODE_API_KEY": "your-api-key-here"
}
}
}
}
Cursor
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"
}
}
}
}
Claude Code
Add to your Claude Code MCP settings:
{
"mcpServers": {
"terranode": {
"command": "npx",
"args": ["@terranode-co/mcp-server"],
"env": {
"TERRANODE_API_KEY": "your-api-key-here"
}
}
}
}
Available tools
| 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 |
Example prompts
Try these in Claude Desktop or Cursor:
- "What county is latitude 40.71, longitude -74.00 in?"
- "What datasets are available?"
- "Find the 3 nearest counties to Central Park"
- "How close is my proposed site (40.7128, -74.006) to the nearest school (34.0522, -118.2437)?"
- "Which states do these 5 warehouse locations fall in?" (paste coordinates)
- "What ZIP code is 37.7749, -122.4194 in?"
API Reference
The full API spec is available at docs.terranode.co/openapi.yaml (OpenAPI 3.1).
Feedback
Report issues or feature requests: feedback@terranode.co
Questions fréquentes
Qu'est-ce que Terranode Geospatial API ?
Point-in-polygon, nearest feature, spatial join, and distance tools for US geospatial datasets
Comment installer Terranode Geospatial API ?
Il s'exécute sur votre machine. Dans Claude Code : claude mcp add terranode-geospatial-api -e 'TERRANODE_API_KEY=<your terranode_api_key>' -e 'TERRANODE_API_URL=https://api.terranode.co' -- npx -y @terranode-co/mcp-server@0.1.10. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.
Faut-il une clé API pour Terranode Geospatial API ?
Oui. Il attend TERRANODE_API_KEY, à renseigner dans sa configuration.
Terranode Geospatial API est-il open source ?
Oui. Son code est sur GitHub sous licence MIT.
Qui maintient Terranode Geospatial API ?
Il est publié par terranode-co. AI.tn le référence sans le maintenir ni le recommander.
Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.