query_layer

Pack: arcgis-marioncountyor · Endpoint: https://gateway.pipeworx.io/arcgis-marioncountyor/mcp

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.

Parameters

NameTypeRequiredDescription
urlstringyesFeature/Map Service layer url ending in /FeatureServer/ or /MapServer/.
wherestringnoSQL where clause, e.g. “STATE = ‘CA’ AND YEAR >= 2020”. Default “1=1”.
out_fieldsstringnoComma-separated field names, or ”*” for all (default).
order_bystringnoe.g. “POP DESC”.
limitnumbernoMax features (1-2000, default 50).
offsetnumbernoPagination offset.

Example call

curl -X POST https://gateway.pipeworx.io/arcgis-marioncountyor/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"query_layer","arguments":{}}}'

Connect

Add this to your MCP client config, or use one-click install buttons:

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

See Getting Started for client-specific install steps.

Regenerated from source · build June 26, 2026