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

How to Use the NHL MCP in Vercel AI SDK

Pipe live NHL stats and real-time game scores directly into your React or Next.js UI using the Vercel AI SDK.

See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

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

Connect NHL MCP to Vercel AI SDK

Create your Vinkius account to connect NHL 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 NHL scores with Vercel AI SDK

Stop making your users wait for page refreshes or spinner wheels. This MCP Server lets your AI client pull active game data using `get_live_scores` and feed it directly to the Vercel AI SDK streaming engine. Your users see goals, penalties, and period updates appear on their screens as they happen. You set up the connection once and let the SDK handle the rest. By combining `get_current_schedule` with live tracking, your application renders dynamic hockey dashboards that update without blocking the main thread.

On-Demand Player Profiles and Stats

Building a fantasy hockey interface requires quick access to deep player histories. Your application can now call `get_player_landing` and `get_skater_summary` to instantly populate player cards during a chat session. The SDK handles these tool calls on the edge, keeping latency low. When a user asks about a skater's recent performance, the model fetches the exact data points and streams the formatted profile straight to the component.

Deep-Dive Historical Game Analysis

Go beyond basic boxscores by letting your model fetch complete historical records. Using this MCP Server, you can build tools that dissect past matchups down to individual shifts and shots with `get_game_boxscore` and `get_game_play_by_play`. This setup lets your interface present detailed post-game breakdowns. The model parses the raw feed, extracts key turning points, and presents a clean summary to the hockey fan.

Setup guide

Set up NHL 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 NHL 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 NHL 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 NHL. 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 NHL MCP in Vercel AI SDK

You install `@ai-sdk/mcp` and configure the MCP client to point to the Vinkius endpoint. Then, pass the tools from `get_live_scores` into `streamText` to let the model fetch and render the live game data on the fly.
Yes. Your model can call `get_skater_summary` and `get_goalie_summary` to retrieve season-long metrics. The SDK then formats these numbers into side-by-side comparison tables in your frontend.
It handles them easily because the server runs on V8 isolates. The model calls `get_current_schedule` to pull today's matchups and streams the JSON payload directly into your edge-rendered UI components.
Always call `mcpClient.close()` once your MCP connection finishes. This prevents memory leaks on your serverless edge functions and keeps your connection pool clean.
Yes, because we only touch public NHL statistics, player bios, and game schedules via our MCP Server architecture. No personal user data or proprietary source code is ever sent to the external sports database.

Start using the NHL MCP today

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

Built & Managed by Vinkius 30s setup 47 tools

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

No hosting. No infrastructure. No complex setup.
All 47 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.