mcp-server-usace-iwr
mcp-server-usace-iwr
An MCP (Model Context Protocol) server that wraps the U.S. Army Corps of Engineers (USACE) Institute for Water Resources (IWR) River Mile Marker ArcGIS Feature Service, letting an LLM locate river mile markers on navigable U.S. rivers and answer "what river mile am I at?" style questions.
Dataset: USACE River Mile Markers
Service:
https://services7.arcgis.com/n1YM8pTrFmm7L4hs/arcgis/rest/services/usace_river_mile_markers/FeatureServer/0Auth: none (public service)
CRS: WGS84 (EPSG:4326) decimal degrees
Tools
Tool | Purpose |
| Return the single closest marker to a lat/lon (with distance + bearing). |
| Find markers near a point (radius) or within a GeoJSON geometry/bbox. |
| Filter markers by river name and/or mile-value range, with pagination. |
All tools are read-only and return provenance (source agency, dataset, service URL, layer, CRS, retrieval time).
Layer fields
name, LONGITUDE1, LATITUDE1, MILE, RIVER_CODE, RIVER_NAME,
RIVER_NUMB, SOURCE.
Running locally (stdio)
uv sync
uv run python -m usace_iwr_server.appThe server uses stdio transport by default. If a PORT (or
DATABRICKS_APP_PORT) environment variable is set, it serves streamable HTTP at
/mcp instead, with a /health readiness endpoint.
Container / deployment
bash scripts/build-and-push.sh # builds linux/amd64 and pushes to GHCRDevelopment
uv run python -m py_compile src/usace_iwr_server/*.py src/usace_iwr_server/tools/*.py
npx @modelcontextprotocol/inspector uv run python -m usace_iwr_server.appLatest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/GSA-TTS/mcp-server-usace-iwr'
If you have feedback or need assistance with the MCP directory API, please join our Discord server