# Arcgis Peterborough [Health: Active]

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

## Description
City of Peterborough GIS — Peterborough, Ontario (Canada) open geospatial data (ArcGIS).

## Tools
Capabilities this server exposes over MCP:

- **search_datasets** — Search City of Peterborough GIS open geospatial datasets (parcels, zoning, public works & city services) by keyword. 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-peterborough": {
    "command": "npx",
    "args": ["-y","@pipeworx/mcp-arcgis-peterborough"],
    "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 Arcgis Peterborough does

Arcgis Peterborough exposes City of Peterborough GIS data through MCP. It focuses on open geospatial datasets covering areas such as parcels, zoning, public works, and city services. Dataset search returns identifying and operational details, including a name, summary, record count, owning organization, and the ArcGIS Feature Service URL needed for follow-up requests.

The integration is an independent, unofficial connection to the upstream municipal GIS provider. It is delivered through the Pipeworx gateway, which also operates a broader catalog of live data sources.

## How it works

A typical workflow starts with `search_datasets`, using a keyword to locate a relevant municipal dataset. The returned service URL becomes the input for `layer_info` or `query_layer`.

`layer_info` helps determine how a layer is structured before querying it. It reports field names and types, geometry type, total records, and supported capabilities. `query_layer` then accepts ArcGIS-style query controls, including a SQL-like `where` expression, selected fields, sort order, result limits, and offsets. Results contain attribute rows and geometry. A broad sample can be requested with `where` set to `1=1` and `out_fields` set to `*`.

The hosted MCP endpoint and the local npm bridge both forward requests to the Pipeworx gateway. The local bridge requires network access and has no offline mode.

## Setup and configuration

An MCP client can connect directly to the hosted endpoint:

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

The package `@pipeworx/mcp-arcgis-peterborough` provides a local stdio option. Configure the client to launch it with `npx`:

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

Anonymous use is available with a limit of 50 calls per day. Setting `PIPEWORX_API_KEY` supplies a bearer token from a Pipeworx account and raises the daily allowance to 200 calls. Set `PIPEWORX_META_TOOLS=1` if the local bridge should also list shared Pipeworx tools such as `ask_pipeworx`; otherwise, it lists the Arcgis Peterborough tools.

## Tools and capabilities

- `search_datasets`: Find Peterborough GIS datasets by keyword and return service URLs plus dataset metadata.
- `query_layer`: Retrieve records from an ArcGIS Feature Service or Map Service layer using filters, field selection, ordering, limits, and offsets.
- `layer_info`: Inspect layer fields, data types, geometry, record count, and capabilities.
- HTTP tool calls: Invoke tools without an MCP client through the Pipeworx HTTP API.
- Gateway routing: Use `ask_pipeworx` for natural-language requests when shared meta-tools are enabled or when connecting through the gateway.

## Limitations and notes

Pack-specific hosted connections also expose shared Pipeworx meta-tools, so their tool list is larger than the three Arcgis Peterborough tools. The full Pipeworx gateway can be used instead when direct access to all catalog packs is preferred.

The local bridge depends on network access. Requests are sent through the Pipeworx gateway, and API-key calls are metered according to the gateway account. When operating behind an HTTPS proxy, Node's built-in `fetch` requires proxy support to be enabled with `NODE_USE_ENV_PROXY=1` on Node versions that support that setting.

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

