npm @terranode-co/mcp-serverstdioMITupdated 4mo ago
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.
What can you do with Terranode Geospatial API?
@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
Install
Add Terranode Geospatial API to your client. Pick the one you use.
claude mcp add mcp-server -- npx -y @terranode-co/mcp-servercodex mcp add mcp-server -- npx -y @terranode-co/mcp-serveramp mcp add mcp-server -- npx -y @terranode-co/mcp-server{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@terranode-co/mcp-server"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@terranode-co/mcp-server"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"mcp-server","command":"npx","args":["-y","@terranode-co/mcp-server"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@terranode-co/mcp-server"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@terranode-co/mcp-server"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@terranode-co/mcp-server"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"mcp-server": {
"type": "local",
"command": "npx",
"args": [
"-y",
"@terranode-co/mcp-server"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"mcp-server": {
"command": {
"path": "npx",
"args": [
"-y",
"@terranode-co/mcp-server"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y @terranode-co/mcp-serverRun `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
5 tools
Terranode Geospatial API exposes 5 tools to a connected agent.
- 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
Score
75 / 100
Good
- Documentation22/25
- Maintenance19/25
- Trust16/20
- Capability6/15
- Install experience12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 140 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 5 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
Version history
| Versions | Published |
|---|---|
| 0.1.10Latest | Apr 13, 2026 |
| 0.1.9 | Mar 27, 2026 |
| 0.1.8 | Mar 27, 2026 |