# GeoSpark

GeoSpark gives coding agents tools for geospatial calculations and data checks. Use it when a map-related answer needs computed results rather than a model’s guess.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 19
- Author: Maz2580
- License: Apache-2.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/Maz2580/geospark
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/mcp/geospark

## What it does

GeoSpark handles geodesic measurements, geometry predicates and coordinate-system transformations. It also offers geocoding, elevation lookup, routing and isochrones: areas reachable within a travel time. Responses include sources, units, caveats and a status such as `ok`, `partial` or `cannot_answer`.

The server can inspect geospatial data for mismatches between declared and actual coordinate systems, wrong zones, unit problems and height references. Geometry operations use Shapely and pyproj. Place lookup uses OpenStreetMap Nominatim, while elevation comes from Copernicus GLO-30 with Open Elevation as a fallback. Nominatim permits at most one request per second, so frequent lookups need to respect that limit.

Claude Code can connect over HTTP using the command below. For self-hosting, the project describes a single-server setup with Valhalla, an OpenStreetMap replica and official geodetic grids. That setup requires a server of your own; the command connects to the hosted endpoint.

## Requirements
- Remote server: `https://geospark.terrascout.app/mcp`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http geospark https://geospark.terrascout.app/mcp
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add geospark --url https://geospark.terrascout.app/mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "geospark": {
            "url": "https://geospark.terrascout.app/mcp"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "geospark": {
            "type": "http",
            "url": "https://geospark.terrascout.app/mcp"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http geospark https://geospark.terrascout.app/mcp
```

## When to use it
- calculate geodesic distance between coordinates
- check whether two geometries intersect
- map an area reachable within a travel time
- detect coordinate-system mismatches in geospatial data
- convert coordinates between reference systems

## Example prompts
- Calculate the geodesic distance between these coordinates.
- Check whether these polygons intersect and explain the result.
- Map the area reachable by car within the given travel time.

## Similar
- [World Monitor](https://affpapa.org/en/nevibecode/mcp/world-monitor.md) — MCP server · ★ 89408
- [Scrapling MCP Server](https://affpapa.org/en/nevibecode/mcp/scrapling-mcp-server.md) — MCP server · ★ 89433
- [MCP Toolbox for Databases](https://affpapa.org/en/nevibecode/mcp/googleapis-mcp-toolbox-for-databases.md) — MCP server · ★ 16717
- [PostHog MCP Server](https://affpapa.org/en/nevibecode/mcp/posthog-mcp-server.md) — MCP server · ★ 40409
- [dbx](https://affpapa.org/en/nevibecode/mcp/dbx.md) — MCP server · ★ 27669
- [Metabase](https://affpapa.org/en/nevibecode/mcp/metabase.md) — MCP server · ★ 49845

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
