EPA Envirofacts (Environmental Data) MCP Server for Vercel AI SDKGive Vercel AI SDK instant access to 6 tools to Graphql Query, Rest Query, Uv Daily City State, and more
The Vercel AI SDK is the TypeScript toolkit for building AI-powered applications. Connect EPA Envirofacts (Environmental Data) through Vinkius and every tool is available as a typed function. ready for React Server Components, API routes, or any Node.js backend.
Ask AI about this MCP Server for Vercel AI SDK
The EPA Envirofacts (Environmental Data) MCP Server for Vercel AI SDK is a standout in the Government Public Data category — giving your AI agent 6 tools to work with, ready to go from day one.
Vinkius delivers Streamable HTTP and SSE to any MCP client
import { createMCPClient } from "@ai-sdk/mcp";
import { generateText } from "ai";
import { openai } from "@ai-sdk/openai";
async function main() {
const mcpClient = await createMCPClient({
transport: {
type: "http",
// Your Vinkius token. get it at cloud.vinkius.com
url: "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
},
});
try {
const tools = await mcpClient.tools();
const { text } = await generateText({
model: openai("gpt-4o"),
tools,
prompt: "Using EPA Envirofacts (Environmental Data), list all available capabilities.",
});
console.log(text);
} finally {
await mcpClient.close();
}
}
main();
* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
About EPA Envirofacts (Environmental Data) MCP Server
Connect to the EPA Envirofacts database to query a wealth of environmental information directly from the United States Environmental Protection Agency.
The Vercel AI SDK gives every EPA Envirofacts (Environmental Data) tool full TypeScript type inference, IDE autocomplete, and compile-time error checking. Connect 6 tools through Vinkius and stream results progressively to React, Svelte, or Vue components. works on Edge Functions, Cloudflare Workers, and any Node.js runtime.
What you can do
- UV Index Forecasts — Retrieve hourly and daily UV Index forecasts by ZIP code or City/State to monitor solar radiation levels.
- Facility Research — Query the Toxic Release Inventory (TRI) and Superfund (SEMS) databases to find environmental records for specific sites.
- Advanced Data Exploration — Use GraphQL to perform complex queries, aggregations, and cross-table analysis across the EPA's DMAP API.
- Flexible REST Queries — Search any table in the Envirofacts database with custom filters, operators, and pagination.
- Public Data Access — Access official government records on air, water, and waste without complex registration.
The EPA Envirofacts (Environmental Data) MCP Server exposes 6 tools through the Vinkius. Connect it to Vercel AI SDK in under two minutes — credentials fully managed, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
All 6 EPA Envirofacts (Environmental Data) tools available for Vercel AI SDK
When Vercel AI SDK connects to EPA Envirofacts (Environmental Data) through Vinkius, your AI agent gets direct access to every tool listed below — spanning environmental-data, uv-index, toxic-release, and more. Every call runs in a secure, isolated environment with full audit visibility. Beyond a simple connection, you get real-time monitoring of agent activity, enterprise governance, and optimized token usage.
Graphql query on EPA Envirofacts (Environmental Data)
Query EPA Envirofacts using GraphQL
Rest query on EPA Envirofacts (Environmental Data)
Use program.table format (e.g., tri.tri_facility). Query EPA Envirofacts REST API
Uv daily city state on EPA Envirofacts (Environmental Data)
Get daily UV Index forecast by City and State
Uv daily zip on EPA Envirofacts (Environmental Data)
Get daily UV Index forecast by ZIP code
Uv hourly city state on EPA Envirofacts (Environmental Data)
Get hourly UV Index forecast by City and State
Uv hourly zip on EPA Envirofacts (Environmental Data)
Get hourly UV Index forecast by ZIP code
Connect EPA Envirofacts (Environmental Data) to Vercel AI SDK via MCP
Follow these steps to wire EPA Envirofacts (Environmental Data) into Vercel AI SDK. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.
Install dependencies
npm install @ai-sdk/mcp ai @ai-sdk/openaiReplace the token
[YOUR_TOKEN_HERE] with your Vinkius tokenRun the script
agent.ts and run with npx tsx agent.tsExplore tools
Why Use Vercel AI SDK with the EPA Envirofacts (Environmental Data) MCP Server
Vercel AI SDK provides unique advantages when paired with EPA Envirofacts (Environmental Data) through the Model Context Protocol.
TypeScript-first: every MCP tool gets full type inference, IDE autocomplete, and compile-time error checking out of the box
Framework-agnostic core works with Next.js, Nuxt, SvelteKit, or any Node.js runtime. same EPA Envirofacts (Environmental Data) integration everywhere
Built-in streaming UI primitives let you display EPA Envirofacts (Environmental Data) tool results progressively in React, Svelte, or Vue components
Edge-compatible: the AI SDK runs on Vercel Edge Functions, Cloudflare Workers, and other edge runtimes for minimal latency
EPA Envirofacts (Environmental Data) + Vercel AI SDK Use Cases
Practical scenarios where Vercel AI SDK combined with the EPA Envirofacts (Environmental Data) MCP Server delivers measurable value.
AI-powered web apps: build dashboards that query EPA Envirofacts (Environmental Data) in real-time and stream results to the UI with zero loading states
API backends: create serverless endpoints that orchestrate EPA Envirofacts (Environmental Data) tools and return structured JSON responses to any frontend
Chatbots with tool use: embed EPA Envirofacts (Environmental Data) capabilities into conversational interfaces with streaming responses and tool call visibility
Internal tools: build admin panels where team members interact with EPA Envirofacts (Environmental Data) through natural language queries
Example Prompts for EPA Envirofacts (Environmental Data) in Vercel AI SDK
Ready-to-use prompts you can give your Vercel AI SDK agent to start working with EPA Envirofacts (Environmental Data) immediately.
"What is the hourly UV forecast for ZIP code 90210?"
"Search the 'sems.envirofacts_site' table for facilities in the city of 'Miami'."
"Run a GraphQL query to count TRI facilities by state."
Troubleshooting EPA Envirofacts (Environmental Data) MCP Server with Vercel AI SDK
Common issues when connecting EPA Envirofacts (Environmental Data) to Vercel AI SDK through Vinkius, and how to resolve them.
createMCPClient is not a function
npm install @ai-sdk/mcpEPA Envirofacts (Environmental Data) + Vercel AI SDK FAQ
Common questions about integrating EPA Envirofacts (Environmental Data) MCP Server with Vercel AI SDK.
How does the Vercel AI SDK connect to MCP servers?
createMCPClient from @ai-sdk/mcp and pass the server URL. The SDK discovers all tools and provides typed TypeScript interfaces for each one.Can I use MCP tools in Edge Functions?
Does it support streaming tool results?
useChat and streamText that handle tool calls and display results progressively in the UI.Explore More MCP Servers
View all →
OpenTHC
12 toolsAutomate cannabis compliance via OpenTHC — track plants, manage inventory, query lab results, and handle B2B/B2C transactions directly from any AI agent.

Stanford CrossRef
16 toolsQuery scholarly metadata for millions of academic publications with DOI resolution, citation tracking, and publisher data.

OpenSearch Vector
6 toolsRun k-NN vector searches on OpenSearch — create indexes, upsert embeddings, query similar documents, and manage your vector store from any AI agent.

Magento (Adobe Commerce)
10 toolsManage e-commerce via Magento (Adobe Commerce) — search products, track orders, and audit customer data.
