tri_trends
Pack: epa-emissions · Endpoint: https://gateway.pipeworx.io/epa-emissions/mcp
Analyze toxic release trends over time by state or chemical. Returns historical release data across years to identify patterns and changes.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
state | string | no | Two-letter state abbreviation (e.g., “OH”). |
chemical | string | no | Chemical name (e.g., “LEAD”). |
start_year | number | no | Start year for the trend range (default: 5 years ago). |
end_year | number | no | End 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
| Field | Type | Description |
|---|---|---|
state | string | null | State abbreviation or null if not filtered |
chemical | string | null | Chemical name (uppercase) or null if not filtered |
start_year | number | First year in the trend range |
end_year | number | Last year in the trend range |
trends | array | Year-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.