PA DEP Environmental logo

PA DEP Environmental

Live

Pennsylvania DEP environmental — water/mining/hazardous-waste/air. ~95K impaired streams (303(d)), ~42K mine permits, ~16.9K Land Recycling cleanup sites, ~61.3K Point of Air Emission.

What is PA DEP Environmental?

Pennsylvania Department of Environmental Protection — environmental side (water, mining, hazardous waste, air). Same agency as `pa-dep-oilgas`, separate set of layers on the eMapPA External MapServer. ~95,191 Impaired Streams Assessments — layer 158 contains ONLY impaired records (BLN_ATTAINED='N'), so this is the 303(d)-equivalent feed. STR_ASSESSED_USE_DESC: Aquatic Life (46.5K) / Recreational (33.4K) / Fish Consumption (14.9K) / Potable Water Supply (443). SOURCE_CAUSE is free-text concat of pollutant + cause (top: SOURCE UNKNOWN - PATHOGENS, ACID MINE DRAINAGE - METALS, AGRICULTURE - SILTATION, ATMOSPHERIC DEPOSITION - MERCURY). Mine permits split across 3 layers — Anthracite (~2,362) / Bituminous (~38,477) / Industrial Mineral (~1,839). PERMIT_TYP is freeform with 90+ distinct values + typos ('Refuse Reprossing'). Layers 76/77/79 have NO COUNTY column — county filter silently drops, use bbox/near or companyName/mineName. Land Recycling Cleanup — Soil Media (~16,920) used as the hazardous-waste proxy (largest of 7 cleanup-media sub-layers; SUB_FACILITY_TYPE includes SOIL MEDIA, GROUNDWATER MEDIA, SEDIMENT MEDIA, etc.). Point of Air Emission (~61,291) — stack-level emission points; PRIMARY_FACILITY_TYPE='AIR EMISSION PLANT' is the only value, so useful filters are companyName / siteStatus / complianceOnly. SITE_STATUS values inconsistent — UPPERCASE on most ('ACTIVE', 'INACTIVE', 'ABANDONED', 'RECLAMATION COMPLETED') with one upstream typo 'Unavaialble'. NO COUNTY column on hazardous waste / air emission layers either.

Available Tools

  • search303dImpairedStreams
    PA impaired streams (~95K). 303(d)-equivalent. Filter use/cause/huc/bbox/near.
  • searchActMine
    PA mine permits — anthracite + bituminous + industrial mineral (~42K). NO COUNTY column.
  • searchHazardousWasteSites
    PA Land Recycling cleanup sites (~16.9K Soil Media). NO COUNTY column.
  • searchAirEmissionSources
    PA Point of Air Emission (~61.3K stack-level points). NO COUNTY column.
  • getServiceInfo
    Schema + record counts for any of the 6 services.

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 PA DEP Environmental with the environmental switch.

Call the pa-dep-env MCP tool — start with method=search303dImpairedStreams or method=searchActMine.

Connect to Your AI Assistant

Choose your AI assistant below for specific setup instructions

Follow these steps to connect PA DEP Environmental 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 PA DEP Environmental 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 PA DEP Environmental 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:

"PA DEP Environmental-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"
}