tri_trends

Pack: epa-emissions · Endpoint: https://gateway.pipeworx.io/epa-emissions/mcp

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/tri_trends for the schema, then POST the same URL with its arguments for the data.

Analyze toxic release trends over time by state or chemical. Returns historical release data across years to identify patterns and changes.

Parameters

NameTypeRequiredDescription
statestringnoTwo-letter state abbreviation (e.g., “OH”).
chemicalstringnoChemical name (e.g., “LEAD”).
start_yearnumbernoStart year for the trend range (default: 5 years ago).
end_yearnumbernoEnd year for the trend range (default: most recent available).

Example call

Arguments

{
  "state": "TX",
  "start_year": 2018,
  "end_year": 2023
}

curl

curl -X POST https://gateway.pipeworx.io/epa-emissions/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"tri_trends","arguments":{"state":"TX","start_year":2018,"end_year":2023}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('tri_trends', {
  "state": "TX",
  "start_year": 2018,
  "end_year": 2023
});

More examples

{
  "chemical": "BENZENE",
  "start_year": 2015
}

Response shape

Always returns: state, chemical, start_year, end_year, trends

FieldTypeDescription
statestring | nullState abbreviation or null if not filtered
chemicalstring | nullChemical name (uppercase) or null if not filtered
start_yearnumberFirst year in the trend range
end_yearnumberLast year in the trend range
trendsarrayYear-by-year release totals and facility counts
Full JSON Schema
{
  "type": "object",
  "properties": {
    "state": {
      "type": [
        "string",
        "null"
      ],
      "description": "State abbreviation or null if not filtered"
    },
    "chemical": {
      "type": [
        "string",
        "null"
      ],
      "description": "Chemical name (uppercase) or null if not filtered"
    },
    "start_year": {
      "type": "number",
      "description": "First year in the trend range"
    },
    "end_year": {
      "type": "number",
      "description": "Last year in the trend range"
    },
    "trends": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "year": {
            "type": "number",
            "description": "Reporting year"
          },
          "total_releases": {
            "type": "number",
            "description": "Total quantity released that year"
          },
          "facility_count": {
            "type": "number",
            "description": "Number of facilities with releases that year"
          }
        },
        "required": [
          "year",
          "total_releases",
          "facility_count"
        ]
      },
      "description": "Year-by-year release totals and facility counts"
    }
  },
  "required": [
    "state",
    "chemical",
    "start_year",
    "end_year",
    "trends"
  ]
}

Connect

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

{
  "mcpServers": {
    "epa-emissions": {
      "url": "https://gateway.pipeworx.io/epa-emissions/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build September 22, 2026