# Arcgis Flagstaff [Health: Active]

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

## Description
City of Flagstaff GIS — Flagstaff, Arizona open geospatial data (ArcGIS).

## Tools
Capabilities this server exposes over MCP:

- **search_datasets** — Search City of Flagstaff 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-flagstaff": {
    "command": "npx",
    "args": ["-y","@pipeworx/mcp-arcgis-flagstaff"],
    "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 Flagstaff does

Arcgis Flagstaff exposes City of Flagstaff GIS open-data services through the Model Context Protocol. It is intended for agent workflows that need to locate and inspect municipal geospatial datasets, then retrieve records from the ArcGIS services behind those datasets.

The available data areas include parcels, zoning, public works, and city services. Dataset search results identify the dataset, provide a summary and record count, show the owning organization, and include the Feature Service URL needed by the layer tools. Query results can include both attribute values and geometry.

This is an independent integration from Pipeworx and is not affiliated with, endorsed by, or published by the City of Flagstaff or another upstream provider.

## How it works

A typical workflow starts with `search_datasets`, using a keyword such as `parcels` to find matching Flagstaff GIS datasets. Pass a returned service URL to `layer_info` to inspect the layer schema, geometry type, record count, and capabilities before writing a query. Use `query_layer` to retrieve matching rows from the selected Feature Service or Map Service layer.

`query_layer` accepts SQL-like `where` conditions, a comma-separated `out_fields` list, `order_by`, and `limit` and `offset` values. To sample a layer, use `where` set to `1=1` and request all fields with `out_fields` set to `*`.

The hosted MCP endpoint is `https://gateway.pipeworx.io/arcgis-flagstaff/mcp`. The full Pipeworx gateway is also available at `https://gateway.pipeworx.io/mcp`; both connect to the same gateway and data sources, while the scoped endpoint lists this pack's tools directly. Pack endpoints also expose shared Pipeworx meta-tools, including `ask_pipeworx`, `discover_tools`, `search_within`, and memory-related tools. `ask_pipeworx` can route a plain-language request to an appropriate tool.

## Setup and configuration

An MCP client can connect directly with this configuration:

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

For a local stdio connection, run the npm bridge with `npx`:

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

The npm bridge forwards requests to the hosted gateway and requires network access. Anonymous use is available with a daily limit of 50 calls. A free Pipeworx account and `PIPEWORX_API_KEY` increase the limit to 200 calls per day; authenticated calls use a Bearer token and are metered and billed in the same way as hosted connections.

Set `PIPEWORX_META_TOOLS=1` in the npm server environment when the shared gateway tools should also be listed. If the client runs behind an HTTPS proxy, newer Node.js versions can use the proxy environment settings when `NODE_USE_ENV_PROXY=1` is enabled.

Without an MCP client, tools can be called through the HTTP API. For example, dataset search uses `POST https://gateway.pipeworx.io/v1/tools/arcgis_flagstaff_search_datasets` with a JSON body such as `{"query":"parcels"}`.

## Tools and capabilities

- `search_datasets`: Finds City of Flagstaff GIS datasets by keyword and returns names, summaries, record counts, owners or organizations, and service URLs.
- `query_layer`: Reads records from an ArcGIS Feature Service or Map Service layer with filtering, field selection, ordering, limits, and offsets.
- `layer_info`: Reports a layer's fields and types, geometry type, total record count, and capabilities.
- Geometry is returned alongside attribute rows when querying layers.
- `ask_pipeworx` can route plain-language questions across the broader Pipeworx catalog when shared meta-tools are enabled or when using the full gateway.

## Limitations and notes

The integration depends on network access to the Pipeworx gateway and the underlying ArcGIS services; the npm bridge has no offline mode. Anonymous requests are limited to 50 calls per day, while a free account raises that allowance to 200 calls per day. The pack endpoint includes shared Pipeworx meta-tools in addition to its Arcgis Flagstaff tools, so its complete tool list is larger than the three domain-specific tools above. The exact connection scope is reported by the MCP `initialize` response.

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

