NMED New Mexico Environment logo

NMED New Mexico Environment

Live

New Mexico Environment Department permits + remediation — Permian-relevant groundwater discharge permits, air-quality permits across 7 facility classes, RCRA hazardous-waste sites, and voluntary remediation.

What is NMED New Mexico Environment?

New Mexico Environment Department (NMED) native ArcGIS REST FeatureServers at mercator.env.nm.gov. ~1,124 Ground Water Discharge Permits (Permian-relevant — Industrial, UIC/Industrial, Domestic, Reuse waste types; ~37 active in Lea, ~37 active in Eddy). Air Facilities split across 7 layers by class: Major-Title V (~37K), Minor (~137K), Synthetic Minor (~613K), No Permit Required (~108K), Notice of Exemption (~23K), Notice of Intent (~918K), Nonactive (~724K). 21 RCRA-permitted Hazardous Waste Facilities (DoD bases, USDOE labs, big industrial — no county column). ~163 Voluntary Remediation Program sites with brownfield-style cleanup history. STATUS values upstream are dirty (GWDP has 13 distinct, VRP has Termin/ActIve/Closed/closed/Condit/Applic/CCOC) — handler does case-insensitive matching. Counties returned in Title Case (Lea, Dona Ana, San Juan).

Available Tools

  • searchGroundwaterDischargePermits
    GWDP permits (~1.1K). Filters: county, status, wasteType, bbox, near.
  • searchAirQualityPermits
    Air permits — 7-class layer (default 'major'). Filter county, airClass, aiType.
  • searchHazardousWasteFacilities
    RCRA-permitted HW Facilities (21 sites). No county column — pass bbox/near.
  • searchVoluntaryRemediation
    VRP sites (~163). Filter by status substring or contamination.
  • getServiceInfo
    Schema + record counts for any of the 10 NMED 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 NMED with the environmental switch.

Call the nmed MCP tool — start with method=searchGroundwaterDischargePermits.

Connect to Your AI Assistant

Choose your AI assistant below for specific setup instructions

Follow these steps to connect NMED New Mexico Environment 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 NMED New Mexico Environment 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 NMED New Mexico Environment 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:

"NMED New Mexico Environment-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"
}