NM OSE New Mexico Water logo

NM OSE New Mexico Water

Live

New Mexico Office of the State Engineer water rights — ~277K Points of Diversion (oil-production water, irrigation, domestic), declared groundwater basins (point-in-polygon), and irrigation districts.

What is NM OSE New Mexico Water?

New Mexico Office of the State Engineer (NM OSE) AGOL Feature Services covering NM water rights and groundwater administration. ~277,608 Points of Diversion (POD) — water-rights records keyed by basin code (RG=Rio Grande, RA=Roswell Artesian, L=Lea County, ...), county code (LE=Lea, ED=Eddy, SJ=San Juan), beneficial-use code (OIL/OFM/SRO/MIN/INJ for O&G; DOM/DOL/IRR/MUN for general; 59 codes total), water-right status (PMT=Permit, LIC=License, ACT/EXP/CAN/...; 20 codes), and POD physical status (ACT/INC/PEN/PLG; 7 codes). 39-poly canonical Declared Groundwater Basins layer + opt-in 161-poly with-extensions layer including sub-basins, declared dates, and well-spacing flags. 74 irrigation districts. Owners returned as last+first; handler accepts county input as either 2-letter code (LE) or full name (Lea / Doña Ana / Dona Ana). POD geometry stored upstream as UTM Zone 13N (NAD83) — outSR=4326 forces WGS84 for lat/lon output.

Available Tools

  • searchWaterRights
    NM Points of Diversion (~277K). Filter county/owner/use/status/basin/podStatus.
  • getDeclaredGroundwaterBasin
    Point-in-polygon: which declared groundwater basin covers this lat/lon?
  • searchPointsOfDiversion
    Alias to searchWaterRights — POD is the canonical source.
  • searchIrrigationDistricts
    NM irrigation districts (74 polys). Filter by name substring or bbox.
  • getServiceInfo
    Schema + record counts for any of the 4 NM OSE layers.

Requirements

  • ENABLE_ENVIRONMENTAL_APIS
    Set ENABLE_ENVIRONMENTAL_APIS=true to allow connector toggles.

Quick Setup Guide

Follow these steps to connect your AI agents to this connector

Set ENABLE_ENVIRONMENTAL_APIS=true for your deployment.

Open /mcp and turn on NM OSE with the environmental switch.

Call the nm-ose MCP tool — start with method=searchWaterRights or method=getDeclaredGroundwaterBasin.

Connect to Your AI Assistant

Choose your AI assistant below for specific setup instructions

Follow these steps to connect NM OSE New Mexico Water to Claude:

Step 1: Open Claude Settings

Launch Claude → Click the profile button (bottom left) → Navigate to Settings

Step 2: Access Connectors

Scroll down to the Connectors tab → Navigate to the bottom → Click “Add Custom Connector”

Step 3: Name Your Connector

Enter any name you'd like for this connector

Step 4: Get the Connector URL

Log in to PatchOps → Navigate to the /mcp page → Copy the connector URL you want to use

Step 5: Add the Connector

Paste the URL in the “Remote MCP Server URL” text box → Click Add

Step 6: Start Using

Your connector is now ready to use in Claude

Follow these steps to connect NM OSE New Mexico Water to ChatGPT:

Step 1: Enable Developer Mode

Go to Settings → Connectors → Advanced → Enable Developer mode

Step 2: Create New Connector

Go back to Connectors page → Click “Create” (top right)

Step 3: Name Your Connector

Enter any name you'd like for this connector (descriptions are optional)

Step 4: Get the Connector URL

Log in to PatchOps → Navigate to the /mcp page → Copy the connector URL you want to use

Step 5: Add the URL

Paste the URL in the “MCP Server URL” text box

Step 6: Set Authentication

Click the authentication dropdown → Select “No authentication” (PatchOps handles authentication internally)

Step 7: Create the Connector

Click “I understand and want to continue” checkbox → Press Create

Step 8: Using the Connector

Start a new chat → Click the + button (left of text box) → Open dropdown → Hover over three dots labeled “More” → Select your connector

Instructions for connecting NM OSE New Mexico Water to GitHub Copilot:

Coming Soon

Detailed setup instructions for GitHub Copilot will be added here.

For other MCP-compatible platforms:

Step 1: Get the Connector URL

Log in to PatchOps → Navigate to the /mcp page → Copy the connector URL you want to use

Step 2: Add to Configuration

Add this configuration to your MCP settings file. Replace the URL with your specific connector URL from the /mcp page:

"NM OSE New Mexico Water-MCP": {
  "url": "https://patchops.ai/api/mcp/...",
  "type": "http"
}

Example Configuration

Here’s an example using PatchOps MCP:

"PatchOps-MCP": {
  "url": "https://patchops.ai/api/mcp/...",
  "type": "http"
}