Skip to main content
Glama
@pipeworx/mcp-nasa-gibs

@pipeworx/mcp-nasa-gibs

by pipeworx-io

@pipeworx/nasa-gibs

NASA GIBS — the ~1,300-layer global satellite imagery catalogue behind NASA Worldview, with daily true-colour mosaics, thermal anomalies, sea-surface temperature, aerosols, snow and ice cover and night lights, most of them with a multi-decade daily time series.

Part of Pipeworx — an MCP gateway connecting AI agents to 1856+ live data sources. This is an independent, unofficial integration — not affiliated with, endorsed by, or published by the upstream provider.

Tools

  • gibs_list_layers(query?, projection?, limit?) — search the catalogue by subject or identifier; returns each layer's id, title, grid and available date range.

  • gibs_layer_info(layer, projection?) — one layer's full time coverage, native resolution, format, extent, colour map and legend URLs, and tile template.

  • gibs_tile_url(layer, date?, latitude?, longitude?, zoom?, tile_row?, tile_col?, projection?) — a ready-to-fetch image tile URL, with the tile's own geographic bounds.

Related MCP server: MCP4RS Open Earth Explorer

Auth

Keyless. No registration, no rate-limit headers.

Data sources

Things the next person would otherwise rediscover

  • There is no JSON layer index. The WMTS capabilities XML is the only machine-readable catalogue and it is ~5 MB per projection. It is parsed once per isolate and the (much smaller) result cached in module scope for 6 hours; a per-call re-parse would spend seconds of CPU on a document that changes about once a day. The cache is populated only inside a request — never at module load, where the Workers runtime reports Date.now() as 1970 and every entry would read as infinitely stale.

  • Each layer has several <ResourceURL resourceType="tile"> templates. Only one carries {Time}; that is the one worth handing a caller. The others drop the date silently and serve whatever GIBS considers current.

  • MatrixWidth is not a power of two (levels go 2, 3, 5, …), so tile row/column cannot be derived from the zoom level alone. They are computed from ScaleDenominator the way WMTS specifies: tileSpan = ScaleDenominator × 0.00028 m × TileWidth ÷ metresPerUnit, with metresPerUnit = 111319.49 for epsg4326 (degrees) and 1 for the metre-based projections.

  • TopLeftCorner is written x-then-y (-180 90), not the lat-then-lon axis order EPSG:4326 formally prescribes.

  • Lat/lon → tile conversion is offered for epsg4326 and epsg3857 only. The two polar stereographic grids need tile_row/tile_col directly, and the tool says so rather than returning a wrong tile.

Quick Start

Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):

{
  "mcpServers": {
    "nasa-gibs": {
      "url": "https://gateway.pipeworx.io/nasa-gibs/mcp"
    }
  }
}

What this endpoint actually serves

tools/list at https://gateway.pipeworx.io/nasa-gibs/mcp returns the tools in the table above plus the shared Pipeworx meta-tools — ask_pipeworx, discover_tools, search_within, remember/recall and the rest of the gateway-wide set. So the tool count you see is larger than this table: a single-pack endpoint currently lists roughly 30 shared tools alongside the pack's own. The connection's initialize response states its exact scope, and is the authoritative answer for a given day.

This is deliberate, not multiplexing by accident. The meta-tools are what let a scoped connection answer a question this pack does not cover — via ask_pipeworx, which routes across the whole catalog — without you adding a second MCP server. There is currently no way to mount a pack endpoint without them; if the extra schemas cost you more context than the routing is worth, connect to the full gateway once rather than to several pack endpoints.

Or connect to the full Pipeworx gateway to get every pack's tools listed directly, instead of just this one's:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://gateway.pipeworx.io/mcp"
    }
  }
}

Both URLs reach the same gateway and the same 1856+ data sources. The only difference is which pack's tools are listed directly; ask_pipeworx reaches all of them from either one.

No MCP client? Call it over HTTP

curl -X POST https://gateway.pipeworx.io/v1/tools/gibs_list_layers \
  -H 'Content-Type: application/json' \
  -d '{"query":"fires","limit":5}'

No account needed for the first calls. Inspect any tool: GET https://gateway.pipeworx.io/v1/tools/gibs_list_layers. Find one: POST https://gateway.pipeworx.io/v1/tools/search_packs with {"query":"..."}.

Run it from npm

@pipeworx/mcp-nasa-gibs is a local stdio bridge to the Pipeworx gateway: your MCP client starts it with npx, and it forwards every call to the same https://gateway.pipeworx.io/nasa-gibs/mcp endpoint shown above. It needs network access; there is no offline mode.

{
  "mcpServers": {
    "nasa-gibs": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-nasa-gibs"]
    }
  }
}

Without a key it calls anonymously, capped at 50 calls a day. A free account raises that to 200 a day: get a key at https://pipeworx.io/signup and add "env": { "PIPEWORX_API_KEY": "<your key>" } to the server entry. The key is sent as a Bearer token, the same way a hosted connection sends it, so calls are metered and billed exactly as they are there.

It lists only this pack's tools by default. Set PIPEWORX_META_TOOLS=1 to also list ask_pipeworx and the other gateway-wide tools.

Behind an HTTPS proxy: Node's built-in fetch does not read HTTPS_PROXY by default. Newer Node releases honour it when NODE_USE_ENV_PROXY=1 is set; check your Node version's documentation.

Using with ask_pipeworx

Instead of calling tools directly, you can ask questions in plain English — this works on the pack endpoint above as well as on the full gateway:

ask_pipeworx({ question: "your question about Nasa Gibs data" })

The gateway picks the right tool and fills the arguments automatically.

More

License

MIT

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    A
    maintenance
    Enables AI agents to autonomously discover, stream, and compute satellite analytics from free government Earth-observation catalogs such as Sentinel-2, Landsat, and Copernicus DEM, with zero API keys or configuration. It supports place-name geocoding, STAC scene search, cloud-native COG streaming for spectral indices, elevation profiles, SAR flood detection, and sandboxed custom geospatial scripts.
    29
    15
    Apache 2.0
  • A
    license
    A
    quality
    B
    maintenance
    Enables AI agents to autonomously discover, stream, and compute satellite analytics from free government Earth observation archives. Provides tools for STAC search, spectral indices, elevation profiles, SAR water detection, and sandboxed geospatial scripting.
    29
    Apache 2.0