terranode-co avatar

Terranode Geospatial API

terranode-co/mcp-server-terranode

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.

tools
5
auth
Secret needed
transport
STDIO
env vars
2
last updated
Apr 13, 2026

Tools

5 tools

Public tool metadata for what this MCP can expose to an agent.

list_datasetsList all available geospatial datasets (system + custom).

List all available geospatial datasets (system + custom).

No parameter schema in public metadata yet.

check_locationPoint-in-polygon: which feature contains a coordinate?

Point-in-polygon: which feature contains a coordinate?

No parameter schema in public metadata yet.

find_nearestFind the N nearest features to a coordinate, with distances.

Find the N nearest features to a coordinate, with distances.

No parameter schema in public metadata yet.

calculate_distanceGeodesic distance between two points (meters + miles).

Geodesic distance between two points (meters + miles).

No parameter schema in public metadata yet.

spatial_joinEnrich multiple coordinates with polygon attributes at once.

Enrich multiple coordinates with polygon attributes at once.

No parameter schema in public metadata yet.

Sponsors

Configuration

TERRANODE_API_KEY*secret

API key from app.terranode.co

TERRANODE_API_URLdefault: https://api.terranode.co

API base URL (defaults to https://api.terranode.co)

Readme

@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

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:


View the full README on GitHub

Details

Repository
github.com/terranode-co/mcp-server-terranode
Website
docs.terranode.co/integrations/mcp
Package
@terranode-co/mcp-server
Transport
STDIO
Auth
Required
Registry
MCP registry, active