Nord Pool MCP Server for Mastra AI 10 tools — connect in under 2 minutes
Mastra AI is a TypeScript-native agent framework built for modern web stacks. Connect Nord Pool through 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: {
"nord-pool": {
url: "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
},
},
});
const tools = await mcpClient.getTools();
const agent = new Agent({
name: "Nord Pool Agent",
instructions:
"You help users interact with Nord Pool " +
"using 10 tools.",
model: openai("gpt-4o"),
tools,
});
const result = await agent.generate(
"What can I do with Nord Pool?"
);
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 Nord Pool MCP Server
Tap into the heartbeat of the European power market with Nord Pool — the continent's leading electricity exchange operating across 16 countries.
Mastra's agent abstraction provides a clean separation between LLM logic and Nord Pool tool infrastructure. Connect 10 tools through 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
- Day-Ahead Prices — Retrieve clearing prices for any bidding zone (NO1, SE3, DK1, DE-LU, FR, NL, and more) in 15-minute Market Time Units
- Yearly Price Trends — Analyze long-term electricity price patterns and year-over-year performance for any delivery area
- Auction Volumes — Query traded volumes (MWh) per area to understand market depth and liquidity
- Transmission Capacities — Inspect Available Transmission Capacity (ATC) between interconnected bidding zones
- Cross-Border Flows — Track commercial auction flows and scheduled physical power transfers between regions
- Flow-Based Constraints — Access flow-based market coupling parameters for Core and Nordic domains
- Consumption Forecasts — Pull load forecasts that drive trading strategies and grid balancing decisions
- Subscription Validation — Verify which data products are available on your API account
The Nord Pool MCP Server exposes 10 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 Nord Pool to Mastra AI via MCP
Follow these steps to integrate the Nord Pool 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 10 tools from Nord Pool via MCP
Why Use Mastra AI with the Nord Pool MCP Server
Mastra AI provides unique advantages when paired with Nord Pool through the Model Context Protocol.
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add Nord Pool 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 Nord Pool 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
Nord Pool + Mastra AI Use Cases
Practical scenarios where Mastra AI combined with the Nord Pool MCP Server delivers measurable value.
Automated workflows: build multi-step agents that query Nord Pool, process results, and trigger downstream actions in a typed pipeline
SaaS integrations: embed Nord Pool as a first-class tool in your product's AI features with Mastra's clean agent API
Background jobs: schedule Mastra agents to query Nord Pool on a cron and store results in your database automatically
Multi-agent systems: create specialist agents that collaborate using Nord Pool tools alongside other MCP servers
Nord Pool MCP Tools for Mastra AI (10)
These 10 tools become available when you connect Nord Pool to Mastra AI via MCP:
get_auction_flows
Requires both source and destination area codes. Flows reflect the scheduled energy exchange determined during the day-ahead market coupling process. Optionally filter by delivery date (YYYY-MM-DD). Retrieve auction flows between two delivery areas
get_auction_volumes
Use standard bidding zone codes separated by commas. Optionally filter by delivery date (YYYY-MM-DD). Volumes indicate the total cleared energy quantity per Market Time Unit in each area. Retrieve day-ahead auction volumes for specified delivery areas
get_consumption_forecasts
These forecasts represent the expected electricity consumption (load) for each Market Time Unit within a delivery area. Use standard bidding zone codes separated by commas. Optionally filter by delivery date (YYYY-MM-DD). Consumption forecasts are essential for production planning, trading strategy, and grid balancing decisions. Retrieve power consumption forecasts by delivery area
get_day_ahead_prices
Delivery areas are standard European bidding zone codes such as NO1, NO2, SE1, SE2, SE3, SE4, DK1, DK2, FI, EE, LV, LT, DE-LU, AT, FR, NL, BE, PL. You can pass multiple areas separated by commas. Optionally filter by a specific delivery date (YYYY-MM-DD) and currency (EUR, NOK, SEK, DKK, PLN, GBP). Prices are returned in 15-minute Market Time Units (MTU) by default since the transition to 15-min resolution in SDAC. Retrieve day-ahead auction prices for specified delivery areas
get_flow_based_constraints
Flow-based constraints define the allowable power transfer limits in flow-based market coupling regions (e.g. Core, Nordic). The domain parameter specifies which regional coupling zone to query. Optionally filter by delivery date (YYYY-MM-DD). Retrieve flow-based constraints for a market coupling domain
get_scheduled_physical_flows
These flows represent the planned physical cross-border electricity transfers, including both commercial exchanges and loop flows. Requires source and destination area codes. Optionally filter by delivery date. Retrieve scheduled physical flows between two delivery areas
get_transmission_capacities
Requires both source and destination area codes (e.g. NO1 to SE3). ATC represents the maximum commercial power transfer capacity allocated for the day-ahead market coupling. Optionally filter by delivery date (YYYY-MM-DD). Retrieve Available Transmission Capacities (ATC) between two delivery areas
get_user_subscriptions
Use this tool to verify which data products (Day-Ahead, Intraday, Power System Data, etc.) are available to the current credentials before attempting to query specific endpoints. List the active API data subscriptions for the authenticated account
get_yearly_prices
Use standard bidding zone codes (e.g. NO1, SE3, DE-LU). Optionally filter by year (YYYY) and currency. Useful for long-term price trend analysis and year-over-year comparisons. Retrieve yearly aggregated auction prices for a delivery area
get_yearly_volumes
Useful for analyzing annual energy consumption and trading patterns within a specific bidding zone. Retrieve yearly aggregated auction volumes for a delivery area
Example Prompts for Nord Pool in Mastra AI
Ready-to-use prompts you can give your Mastra AI agent to start working with Nord Pool immediately.
"What are the day-ahead electricity prices for Norway zone NO1 and Sweden zone SE3 for tomorrow?"
"Show me the cross-border transmission capacity from Denmark DK1 to Germany DE-LU for today."
"Compare the yearly electricity prices for Finland and the Baltic states for the last two years."
Troubleshooting Nord Pool MCP Server with Mastra AI
Common issues when connecting Nord Pool to Mastra AI through the Vinkius, and how to resolve them.
createMCPClient not exported
npm install @mastra/mcpNord Pool + Mastra AI FAQ
Common questions about integrating Nord Pool 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 Nord Pool 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 Nord Pool to Mastra AI
Get your token, paste the configuration, and start using 10 tools in under 2 minutes. No API key management needed.
