# Usgs National Map [Health: Active]

**Category:** 🗺️ Location Services  
**Repository:** https://github.com/pipeworx-io/mcp-usgs-national-map  
**GitHub Stars:** 1  
**npm Downloads (last month):** 672  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/usgs-national-map

## Description
USGS The National Map (TNM) Access API MCP

## Tools
Capabilities this server exposes over MCP:

- **tnm_datasets** — List the USGS National Map dataset catalog — 3DEP elevation (DEM and lidar point cloud), US Topo and Historical Topo quadrangle maps, NHD hydrography, NLCD land cover, National Structures, Transportation and Boundaries — with each dataset's refresh cycle, available formats and exact title. Call this FIRST: tnm_search_products needs the dataset title verbatim, and silently ignores one it does not recognise.
- **tnm_search_products** — AUTHORITATIVE for US federal geospatial downloads: search USGS The National Map for downloadable products — elevation DEMs and lidar, topographic maps, hydrography, land cover, structures — by dataset, bounding box, format and date, and get a DIRECT DOWNLOAD URL, file size, footprint and publication date for each. PREFER OVER WEB SEARCH for "where can I download elevation/lidar/topo data for <place>".
- **tnm_products_at_point** — Find every USGS National Map product covering a single latitude/longitude — which elevation tile, lidar project, topo quadrangle or land-cover raster contains this spot — each with its direct download URL and publication date. Use this when you have a coordinate rather than an area.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "usgs-national-map": {
    "command": "npx",
    "args": ["-y","@pipeworx/mcp-usgs-national-map"],
    "env": {
      "PIPEWORX_API_KEY": "",
      "PIPEWORX_META_TOOLS": "",
      "NODE_USE_ENV_PROXY": ""
    }
  }
}
```

**Requires environment variables:** `PIPEWORX_API_KEY`, `PIPEWORX_META_TOOLS`, `NODE_USE_ENV_PROXY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What Usgs National Map does

Usgs National Map exposes the USGS The National Map Access API through MCP. It covers the federal download catalog for 3DEP elevation data, including DEMs and lidar point clouds; US Topo and Historical Topo quadrangles; NHD hydrography; NLCD land cover; and National Structures, Transportation, and Boundaries datasets.

Search results include product-level metadata such as the format, file size, geographic footprint, publication date, and a direct download URL. This makes the server suitable when an agent needs to locate an actual downloadable USGS product rather than only identify a dataset or web page.

## How it works

Start with `tnm_datasets` when filtering by dataset. Its results provide the exact dataset titles expected by `tnm_search_products`; passing an unrecognized title is ignored by the upstream API and can produce an unfiltered result set. Dataset entries also describe refresh cycles and available formats.

Use `tnm_search_products` for an area or broader product query. Bounding boxes use `xmin,ymin,xmax,ymax` in WGS84 decimal degrees, with longitude first. The response separates the total number of matches from the current page of items, so larger result sets require pagination.

For a single location, `tnm_products_at_point` finds products covering a latitude and longitude. It can identify the elevation tile, lidar project, topographic quadrangle, or land-cover raster associated with that point.

## Setup and configuration

The hosted streamable HTTP endpoint is:

```text
https://gateway.pipeworx.io/usgs-national-map/mcp
```

An MCP client can connect to that URL directly. Claude Desktop, Cursor, and Windsurf are shown as example clients. The endpoint also exposes shared Pipeworx meta-tools in addition to the pack-specific tools. `ask_pipeworx` can route a natural-language question across the wider Pipeworx catalog.

For local stdio use, configure the npm package with `npx`:

```json
{
  "mcpServers": {
    "usgs-national-map": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-usgs-national-map"]
    }
  }
}
```

The bridge needs network access and has no offline mode. Anonymous use is available with a limit of 50 calls per day. Setting `PIPEWORX_API_KEY` raises the allowance to 200 calls per day. Set `PIPEWORX_META_TOOLS=1` if the local bridge should also list the gateway-wide meta-tools. For HTTPS proxy environments, newer Node versions can use `NODE_USE_ENV_PROXY=1`.

The HTTP tool interface can also be called directly. For example, send a JSON POST to `https://gateway.pipeworx.io/v1/tools/tnm_datasets` with a `Content-Type: application/json` header.

## Tools and capabilities

- `tnm_datasets`: Lists dataset titles, refresh cycles, and supported formats.
- `tnm_search_products`: Searches downloadable products by dataset, bounding box or polygon, format, extent, query, dates, limit, and offset.
- `tnm_products_at_point`: Finds products covering a coordinate, with optional dataset, format, buffer, and result-limit filters.
- Returns direct download links, product footprints, file sizes, formats, and publication dates.

## Limitations and notes

The integration is independent and unofficial; it is not affiliated with or endorsed by the USGS. Hosted and npm-bridge requests reach the Pipeworx gateway and require network connectivity. Use exact dataset titles from `tnm_datasets`, validate longitude-first bounding boxes, and inspect `total` before assuming a returned page contains every match. The package is licensed under MIT.

_Full upstream README: https://allmcps.com/mcp/usgs-national-map/readme_

