# Arcgis Hub [Health: Active]

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

## Description
ArcGIS Hub — open government geospatial data (search + Feature Service query).

## Tools
Capabilities this server exposes over MCP:

- **search_datasets** — Search the ArcGIS Hub catalog of open government geospatial datasets by keyword. Optionally scope to one organization with org_id (an ArcGIS orgId). Returns each dataset's name, summary, record_count, owner/org, and its Feature Service `url` — pass that url to query_layer / layer_info.
- **query_layer** — Query an ArcGIS Feature Service / Map Service layer by its url (from search_datasets). SQL-like `where`, comma-separated `out_fields`, `order_by`, `limit`, `offset`. Returns attribute rows (and geometry). Use where="1=1" + out_fields="*" to sample.
- **layer_info** — Get an ArcGIS Feature/Map Service layer's schema by url: fields (name + type), geometry type, total record count, and capabilities.

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

```json
"mcpServers": {
  "arcgis-hub": {
    "command": "npx",
    "args": ["-y","@pipeworx/mcp-arcgis-hub"]
  }
}
```

## Documentation

## What Arcgis Hub does

Arcgis Hub gives MCP-compatible clients access to open government geospatial datasets published through ArcGIS Hub. The workflow starts with catalog discovery: `search_datasets` finds datasets by keyword and can narrow results to an ArcGIS organization using its `org_id`. Results include dataset names, summaries, record counts, ownership information, and a Feature Service URL.

That URL can then be passed to `layer_info` to inspect the layer before querying it. The schema response includes field names and types, geometry type, total records, and service capabilities. `query_layer` retrieves records from an ArcGIS Feature Service or Map Service layer, including attributes and geometry.

## How it works

The hosted connection is exposed at `https://gateway.pipeworx.io/arcgis-hub/mcp`. MCP clients can connect to that endpoint directly. The endpoint lists the ArcGIS Hub tools along with shared Pipeworx gateway tools such as `ask_pipeworx`, `discover_tools`, `search_within`, and memory-related tools. The exact tool scope is returned during MCP initialization.

A full Pipeworx gateway endpoint is also available at `https://gateway.pipeworx.io/mcp`. Both endpoints access the same gateway and data sources; the ArcGIS Hub endpoint lists this pack's tools directly while shared routing can reach other sources.

For clients without MCP support, the gateway exposes HTTP tool calls, including a POST endpoint for `arcgis_hub_search_datasets`. The npm package `@pipeworx/mcp-arcgis-hub` provides a local stdio bridge and forwards calls to the hosted ArcGIS Hub endpoint. It requires network access and has no offline mode.

## Setup and configuration

Add the hosted endpoint to an MCP client:

```json
{
  "mcpServers": {
    "arcgis-hub": {
      "url": "https://gateway.pipeworx.io/arcgis-hub/mcp"
    }
  }
}
```

For a local stdio connection, use `npx`:

```json
{
  "mcpServers": {
    "arcgis-hub": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-arcgis-hub"]
    }
  }
}
```

Anonymous calls are limited to 50 per day. Setting `PIPEWORX_API_KEY` with a key from Pipeworx raises the allowance to 200 calls per day. The key is sent as a Bearer token and calls are metered. Set `PIPEWORX_META_TOOLS=1` for the local bridge if the shared gateway tools should also be listed. When using an HTTPS proxy with Node, `NODE_USE_ENV_PROXY=1` may be needed for Node versions that support the setting.

## Tools and capabilities

- `search_datasets`: Find ArcGIS Hub datasets by keyword, optionally scoped to an organization.
- `query_layer`: Apply `where`, `out_fields`, `order_by`, `limit`, and `offset` to a Feature or Map Service layer.
- `layer_info`: Inspect fields, types, geometry, record totals, and service capabilities.

To sample a layer, query with `where="1=1"` and `out_fields="*"` after obtaining its URL from dataset search.

## Limitations and notes

The integration is an independent, unofficial connection rather than an ArcGIS-published integration. Dataset search returns service URLs intended for use with the query and schema tools. Hosted and npm-based usage both depend on network access. Pack endpoints include shared Pipeworx meta-tools in addition to the pack-specific tools, while the local npm bridge lists only the ArcGIS Hub tools unless configured otherwise.

_Full upstream README: https://allmcps.com/mcp/arcgis-hub/readme_

