BR Business Days Calculator MCP Server for Vercel AI SDKGive Vercel AI SDK instant access to 2 tools to Add Business Days and Is Business Day
The Vercel AI SDK is the TypeScript toolkit for building AI-powered applications. Connect BR Business Days Calculator 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 BR Business Days Calculator MCP Server for Vercel AI SDK is a standout in the Productivity category — giving your AI agent 2 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 BR Business Days Calculator, 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 BR Business Days Calculator MCP Server
LLMs cannot reliably calculate SLAs or business delivery times. If you ask an AI to 'add 5 business days to Feb 10th', it will frequently ignore Carnival or count a Saturday. This MCP solves this by providing a static, local-first calculation engine that perfectly handles Brazilian national holidays and weekends.
The Vercel AI SDK gives every BR Business Days Calculator tool full TypeScript type inference, IDE autocomplete, and compile-time error checking. Connect 2 tools through Vinkius and stream results progressively to React, Svelte, or Vue components. works on Edge Functions, Cloudflare Workers, and any Node.js runtime.
The Superpowers
- Flawless SLA Math: Guarantee that your agents' promised delivery dates are exactly right, automatically skipping weekends and static/dynamic BR holidays.
- Zero Latency & 100% Local: Unlike our global
business-timezone-schedulerthat uses the Nager.Date API, this engine uses a hardcoded Brazilian holiday list in the V8 isolate. Zero external network calls. Instant execution. - Absolute Determinism: Eliminates the hallucination of non-existent business days, bringing enterprise reliability to AI agents.
The BR Business Days Calculator MCP Server exposes 2 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 2 BR Business Days Calculator tools available for Vercel AI SDK
When Vercel AI SDK connects to BR Business Days Calculator through Vinkius, your AI agent gets direct access to every tool listed below — spanning sla-tracking, date-math, business-logic, 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.
Add business days on BR Business Days Calculator
Pass a starting date and the number of days to add (use negative values to subtract). The engine skips weekends and Brazilian holidays automatically. Adds or subtracts X Brazilian business days from a given date
Is business day on BR Business Days Calculator
Pass the date as an ISO string (YYYY-MM-DD). The engine accounts for all Brazilian national holidays and weekends. Checks if a given date is a Brazilian business day (excludes weekends and BR national holidays)
Connect BR Business Days Calculator to Vercel AI SDK via MCP
Follow these steps to wire BR Business Days Calculator 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 BR Business Days Calculator MCP Server
Vercel AI SDK provides unique advantages when paired with BR Business Days Calculator 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 BR Business Days Calculator integration everywhere
Built-in streaming UI primitives let you display BR Business Days Calculator 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
BR Business Days Calculator + Vercel AI SDK Use Cases
Practical scenarios where Vercel AI SDK combined with the BR Business Days Calculator MCP Server delivers measurable value.
AI-powered web apps: build dashboards that query BR Business Days Calculator in real-time and stream results to the UI with zero loading states
API backends: create serverless endpoints that orchestrate BR Business Days Calculator tools and return structured JSON responses to any frontend
Chatbots with tool use: embed BR Business Days Calculator capabilities into conversational interfaces with streaming responses and tool call visibility
Internal tools: build admin panels where team members interact with BR Business Days Calculator through natural language queries
Example Prompts for BR Business Days Calculator in Vercel AI SDK
Ready-to-use prompts you can give your Vercel AI SDK agent to start working with BR Business Days Calculator immediately.
"Calculate a 10-business-day delivery SLA starting from `2024-02-09` (Brazil)."
"Is `2024-11-15` counted as a valid business day for banking operations in Brazil?"
"Add exactly 1 business day to `2024-03-28` (Thursday before Easter)."
Troubleshooting BR Business Days Calculator MCP Server with Vercel AI SDK
Common issues when connecting BR Business Days Calculator to Vercel AI SDK through Vinkius, and how to resolve them.
createMCPClient is not a function
npm install @ai-sdk/mcpBR Business Days Calculator + Vercel AI SDK FAQ
Common questions about integrating BR Business Days Calculator 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 →
ChannelAdvisor (Rithum)
8 toolsManage multi-channel commerce via ChannelAdvisor — track products, inventory, and orders across global marketplaces directly from any AI agent.

Gallabox
12 toolsAutomate WhatsApp Business communication, send templates, and manage chats via AI agents with Gallabox.

MakePlans
8 toolsManage appointments, services, and customers via the MakePlans REST API.

Fluxguard
12 toolsMonitor website changes, track visual differences, and receive alerts via AI agents with Fluxguard.
