EIA Full Access — U.S. Energy Intelligence MCP Server for Mastra AI 34 tools — connect in under 2 minutes
Mastra AI is a TypeScript-native agent framework built for modern web stacks. Connect EIA Full Access — U.S. Energy Intelligence through the Vinkius and Mastra agents discover all tools automatically — type-safe, streaming-ready, and deployable anywhere Node.js runs.
ASK AI ABOUT THIS MCP SERVER
Vinkius supports streamable HTTP and SSE.
import { Agent } from "@mastra/core/agent";
import { createMCPClient } from "@mastra/mcp";
import { openai } from "@ai-sdk/openai";
async function main() {
// Your Vinkius token — get it at cloud.vinkius.com
const mcpClient = await createMCPClient({
servers: {
"eia-full-access-us-energy-intelligence": {
url: "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
},
},
});
const tools = await mcpClient.getTools();
const agent = new Agent({
name: "EIA Full Access — U.S. Energy Intelligence Agent",
instructions:
"You help users interact with EIA Full Access — U.S. Energy Intelligence " +
"using 34 tools.",
model: openai("gpt-4o"),
tools,
});
const result = await agent.generate(
"What can I do with EIA Full Access — U.S. Energy Intelligence?"
);
console.log(result.text);
}
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 EIA Full Access — U.S. Energy Intelligence MCP Server
The definitive Mega-Server for U.S. energy intelligence. Why install 6 servers when one does it all?
Mastra's agent abstraction provides a clean separation between LLM logic and EIA Full Access — U.S. Energy Intelligence tool infrastructure. Connect 34 tools through the Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution — deployable to any Node.js host in one command.
What you can do
- 🛢️ Petroleum (8 tools) — WTI/Brent, gasoline, refinery, stocks, SPR, crude imports
- ⚡ Electricity (6 tools) — Grid demand, generation, prices, 100k+ generators
- 🔥 Natural Gas (7 tools) — Henry Hub, storage, LNG, production, pipelines
- ⛏️ Coal (6 tools) — Mine production, prices, quality, reserves, nuclear outages
- 🔮 Outlook (4 tools) — STEO, AEO, IEO forecasts + international data
- 🗺️ States (3 tools) — SEDS (1960→2024), total energy MER, emissions
The EIA Full Access — U.S. Energy Intelligence MCP Server exposes 34 tools through the Vinkius. Connect it to Mastra AI in under two minutes — no API keys to rotate, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
How to Connect EIA Full Access — U.S. Energy Intelligence to Mastra AI via MCP
Follow these steps to integrate the EIA Full Access — U.S. Energy Intelligence MCP Server with Mastra AI.
Install dependencies
Run npm install @mastra/core @mastra/mcp @ai-sdk/openai
Replace the token
Replace [YOUR_TOKEN_HERE] with your Vinkius token
Run the agent
Save to agent.ts and run with npx tsx agent.ts
Explore tools
Mastra discovers 34 tools from EIA Full Access — U.S. Energy Intelligence via MCP
Why Use Mastra AI with the EIA Full Access — U.S. Energy Intelligence MCP Server
Mastra AI provides unique advantages when paired with EIA Full Access — U.S. Energy Intelligence through the Model Context Protocol.
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure — add EIA Full Access — U.S. Energy Intelligence without touching business code
Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation
TypeScript-native: full type inference for every EIA Full Access — U.S. Energy Intelligence tool response with IDE autocomplete and compile-time checks
One-command deployment to any Node.js host — Vercel, Railway, Fly.io, or your own infrastructure
EIA Full Access — U.S. Energy Intelligence + Mastra AI Use Cases
Practical scenarios where Mastra AI combined with the EIA Full Access — U.S. Energy Intelligence MCP Server delivers measurable value.
Automated workflows: build multi-step agents that query EIA Full Access — U.S. Energy Intelligence, process results, and trigger downstream actions in a typed pipeline
SaaS integrations: embed EIA Full Access — U.S. Energy Intelligence as a first-class tool in your product's AI features with Mastra's clean agent API
Background jobs: schedule Mastra agents to query EIA Full Access — U.S. Energy Intelligence on a cron and store results in your database automatically
Multi-agent systems: create specialist agents that collaborate using EIA Full Access — U.S. Energy Intelligence tools alongside other MCP servers
EIA Full Access — U.S. Energy Intelligence MCP Tools for Mastra AI (34)
These 34 tools become available when you connect EIA Full Access — U.S. Energy Intelligence to Mastra AI via MCP:
get_annual_outlook
S. energy production, consumption, prices, and emissions using the National Energy Modeling System (NEMS). Includes reference case and side cases. Get AEO: 30-year U.S. energy projections
get_coal_prices
Also includes price-by-rank breakdown for bituminous, subbituminous, lignite, and anthracite. Get coal market prices by rank, region, and mine type
get_coal_production
Get coal production by state, mine type, and rank
get_coal_quality
Get coal consumption and quality data: heat content, sulfur, ash
get_coal_reserves
Get coal reserves, productive capacity, and stocks
get_coal_trade
Get coal imports and exports by country, quantity, and price
get_crude_imports
Source: EIA-814. Get crude oil imports by country, company, type, and grade
get_crude_production
Get U.S. crude oil production and reserves data
get_electricity_prices
Source: EIA-826, EIA-861. Get retail electricity prices by state and sector
get_generator_inventory
Over 100,000 generators. Source: EIA-860. Get inventory of every operable generator in the U.S
get_grid_demand
Covers all major U.S. grid operators. Source: EIA-930. Get real-time hourly/daily electric grid demand
get_international_data
Get country-level energy production, consumption, and emissions
get_international_outlook
Covers global production, consumption, and emissions by region and fuel. Get IEO: international energy projections
get_mine_production
Source: EIA-7A and MSHA-7000-2. Get individual mine-level coal production data
get_natgas_consumption
By state and nationally. Get natural gas consumption by sector
get_natgas_prices
Henry Hub spot price is the benchmark for North American gas trading. Get natural gas prices: Henry Hub, citygate, wellhead, industrial, residential
get_natgas_production
Get natural gas production: gross withdrawals, marketed production
get_natgas_reserves
Get natural gas proved reserves and exploration data
get_natgas_storage
The weekly storage report is a major market-moving event for gas trading. Get underground natural gas storage levels
get_natgas_summary
S. natural gas balance: total production, consumption, imports, exports, and storage changes. Get natural gas supply and demand overview
get_natgas_trade
Get natural gas imports, exports, and pipeline flows
get_nuclear_outages
S. nuclear reactors. Get nuclear power plant outage data
get_petroleum_consumption
Get petroleum consumption and sales by product and sector
get_petroleum_prices
Filter by product, area, and frequency. Get petroleum product prices: WTI, Brent, gasoline, diesel, heating oil
get_petroleum_stocks
Get petroleum stocks: commercial + Strategic Petroleum Reserve
get_petroleum_summary
S. petroleum supply/demand balance including production, imports, exports, stocks, and consumption. The weekly petroleum status report data. Get petroleum supply and demand balance
get_petroleum_trade
Get petroleum imports, exports, and movements
get_plant_generation
Includes net generation (MWh), fuel consumption, and heat rates. Source: EIA-923. Get individual power plant operations by fuel and prime mover
get_power_generation
Source: EIA-923. Get electric power generation by state, sector, and fuel source
get_refinery_operations
Get refinery capacity, utilization, and processing data
get_short_term_outlook
Published monthly by EIA. Data range: 1974 to 2027. Get STEO: 18-month U.S. energy price and supply projections
get_state_electricity_profiles
Get comprehensive state electricity profiles
get_state_energy_data
Data from 1960 to present. The definitive source for state-level energy analysis. Get comprehensive state-level energy data (SEDS): production, consumption, prices, expenditures
get_total_energy
Includes total production, consumption, stocks, trade, prices, and CO2 emissions for petroleum, natural gas, coal, electricity, nuclear, and renewables. Get comprehensive U.S. total energy overview (Monthly Energy Review)
Example Prompts for EIA Full Access — U.S. Energy Intelligence in Mastra AI
Ready-to-use prompts you can give your Mastra AI agent to start working with EIA Full Access — U.S. Energy Intelligence immediately.
"Complete U.S. energy dashboard: oil, gas, electricity, and coal prices"
"Which state produces the most renewable energy and what are storage levels?"
"What does the STEO forecast for natural gas prices and how does it compare to coal?"
Troubleshooting EIA Full Access — U.S. Energy Intelligence MCP Server with Mastra AI
Common issues when connecting EIA Full Access — U.S. Energy Intelligence to Mastra AI through the Vinkius, and how to resolve them.
createMCPClient not exported
npm install @mastra/mcpEIA Full Access — U.S. Energy Intelligence + Mastra AI FAQ
Common questions about integrating EIA Full Access — U.S. Energy Intelligence MCP Server with Mastra AI.
How does Mastra AI connect to MCP servers?
MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.Can Mastra agents use tools from multiple servers?
Does Mastra support workflow orchestration?
Connect EIA Full Access — U.S. Energy Intelligence with your favorite client
Step-by-step setup guides for every MCP-compatible client and framework:
Anthropic's native desktop app for Claude with built-in MCP support.
AI-first code editor with integrated LLM-powered coding assistance.
GitHub Copilot in VS Code with Agent mode and MCP support.
Purpose-built IDE for agentic AI coding workflows.
Autonomous AI coding agent that runs inside VS Code.
Anthropic's agentic CLI for terminal-first development.
Python SDK for building production-grade OpenAI agent workflows.
Google's framework for building production AI agents.
Type-safe agent development for Python with first-class MCP support.
TypeScript toolkit for building AI-powered web applications.
TypeScript-native agent framework for modern web stacks.
Python framework for orchestrating collaborative AI agent crews.
Leading Python framework for composable LLM applications.
Data-aware AI agent framework for structured and unstructured sources.
Microsoft's framework for multi-agent collaborative conversations.
Connect EIA Full Access — U.S. Energy Intelligence to Mastra AI
Get your token, paste the configuration, and start using 34 tools in under 2 minutes. No API key management needed.
