4,500+ servers built on MCP Fusion
Vinkius
Corrently Energy logo
Vinkius
Vercel AI SDK logo

How to Use the Corrently Energy MCP in Vercel AI SDK

Feed real-time German grid forecasts and pricing directly into your UI using Vercel AI SDK.

See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

Corrently Energy MCP on Cursor AI Code Editor MCP Client Corrently Energy MCP on Claude Desktop App MCP Integration Corrently Energy MCP on OpenAI Agents SDK MCP Compatible Corrently Energy MCP on Visual Studio Code MCP Extension Client Corrently Energy MCP on GitHub Copilot AI Agent MCP Integration Corrently Energy MCP on Google Gemini AI MCP Integration Corrently Energy MCP on Lovable AI Development MCP Client Corrently Energy MCP on Mistral AI Agents MCP Compatible Corrently Energy MCP on Amazon AWS Bedrock MCP Support
MCP Servers - Free for Subscribers
Vercel AI SDK

Connect Corrently Energy MCP to Vercel AI SDK

Create your Vinkius account to connect Corrently Energy to Vercel AI SDK and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.

GDPR Free for Subscribers

Stream Live Grid Carbon Data to Vercel AI SDK UIs

This MCP Server exposes German grid metrics, letting your application grab live carbon intensity data instantly. When a user asks about local grid emissions, the `get_co2_meter` tool pulls the exact grams of CO₂ per kWh for their German postal code. Your application streams these numbers straight to the browser. By passing the tool results directly into `streamText`, the UI updates block by block, showing real-time carbon data without hitting a loading state.

Dynamic Energy Scheduling for Smart Devices

This MCP Server provides localized grid optimization, giving your frontend the power to build and display optimal run times for heavy machinery, EV chargers, or heat pumps. The `create_energy_schedule` tool calculates exactly when to run appliances based on cost, solar peaks, or lowest emissions. You pass this plan straight to your UI. Using `get_best_hour`, your application pinpoints the exact hour to start a high-power cycle, letting users visualize their savings as the model reasons through the schedule options.

Real-Time Solar Generation and Pricing Forecasts

This MCP Server delivers real-time solar forecasting and wholesale electricity market prices directly to your user's dashboard. The `get_solar_prediction` tool estimates how much power a specific kWp setup will generate, while `get_market_data` pulls regional pricing. Running this setup directly in your Edge Functions keeps things fast. It gives your application the raw data needed to advise users on when to charge their cars or sell power back to the grid.

Setup guide

Set up Corrently Energy MCP in Vercel AI SDK

Prerequisites

  • Node.js 18+ and a TypeScript project
  • ai + @modelcontextprotocol/sdk packages
  • Active Vinkius subscription with a valid endpoint token
  1. 1

    Install dependencies

    Run npm install ai @modelcontextprotocol/sdk plus your preferred model provider (e.g. @ai-sdk/openai).

  2. 2

    Create the Streamable HTTP transport

    Use StreamableHTTPClientTransport with your Vinkius endpoint URL. Replace [YOUR_TOKEN_HERE] with your token from cloud.vinkius.com.

  3. 3

    Discover and use tools

    Call mcpClient.tools() to auto-discover all Corrently Energy tools. Pass them directly to generateText() or streamText() — no manual schema definitions needed.

  4. 4

    Works with any model provider

    Swap openai("gpt-4o") for any AI SDK provider — Anthropic, Google, Mistral. The MCP tools work identically across all supported models.

index.ts
import { experimental_createMCPClient as createMCPClient } from "ai";
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp";
import { generateText } from "ai";
import { openai } from "@ai-sdk/openai";

const transport = new StreamableHTTPClientTransport(
  new URL("https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp")
);

const mcpClient = await createMCPClient({ transport });
const tools = await mcpClient.tools();

const { text } = await generateText({
  model: openai("gpt-4o"),
  tools,
  prompt: "List recent Corrently Energy transactions",
});

console.log(text);
await mcpClient.close();

Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by Corrently Energy. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.

Why Choose Vinkius

Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.

Real-time monitoring

Live

visibility into every interaction

Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.

Built-in savings

60%

lower AI costs

Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.

Single dashboard

One

place for every integration

Every tool your AI connects to, managed from a single screen. One account, complete control.

Common questions about Corrently Energy MCP in Vercel AI SDK

Install `@ai-sdk/mcp` and create an MCP client pointing to the server endpoint. Pass the tools from `mcpClient.tools()` directly into your `generateText` or `streamText` function calls so the model automatically chooses the right tools like `get_gsi_prediction` to fetch the Green Power Index.
Yes, the connection runs over standard HTTP or SSE, making it lightweight enough for Edge runtimes. Your model can call `get_co2_prediction` or `get_dispatch` from any edge route without cold-start issues. Just remember to call `mcpClient.close()` after the generation finishes.
The SDK naturally handles parallel tool execution. If a user asks to compare charging a hybrid versus running a heat pump, the model invokes `get_phev_charge_or_fuel` and `create_energy_schedule` at the same time to build a cohesive response.
The server returns an error indicating the format must be exactly five digits. Your model sees this error message directly in the tool output and can ask the user to correct their input.
All requests containing German zip codes or Stromkonto account IDs are processed through an isolated V8 sandbox. The server never stores your location or account identifiers, and data is wiped the instant the tool call completes.

Start using the Corrently Energy MCP today

We host it, we monitor it, we maintain it. You just paste one token.

Built & Managed by Vinkius 30s setup 12 tools

We've already built the connector for Corrently Energy. Just plug in your AI agents and start using Vinkius.

No hosting. No infrastructure. No complex setup.
All 12 tools are live and waiting. You're up and running in seconds.

Claude Claude
ChatGPT ChatGPT
Cursor Cursor
Gemini Gemini
Windsurf Windsurf
VS Code VS Code
JetBrains JetBrains
Vercel Vercel
+ other MCP clients

Vinkius gives your AI agents access to the full catalog of app connectors, all fully managed, secure, and enterprise-ready. One subscription, every tool you need.

Zero hosting required Full MCP catalog included Enterprise-grade security Auto-updated by Vinkius

Built, hosted, and secured by Vinkius. You just connect and go.