BR Business Days Calculator MCP Server for Mastra AIGive Mastra AI instant access to 2 tools to Add Business Days and Is Business Day
Mastra AI is a TypeScript-native agent framework built for modern web stacks. Connect BR Business Days Calculator 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 for Mastra AI
The BR Business Days Calculator MCP Server for Mastra AI 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 { 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: {
"br-business-days-calculator": {
url: "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
},
},
});
const tools = await mcpClient.getTools();
const agent = new Agent({
name: "BR Business Days Calculator Agent",
instructions:
"You help users interact with BR Business Days Calculator " +
"using 2 tools.",
model: openai("gpt-4o"),
tools,
});
const result = await agent.generate(
"What can I do with BR Business Days Calculator?"
);
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 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.
Mastra's agent abstraction provides a clean separation between LLM logic and BR Business Days Calculator tool infrastructure. Connect 2 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.
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 Mastra AI 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 Mastra AI
When Mastra AI 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 Mastra AI via MCP
Follow these steps to wire BR Business Days Calculator into Mastra AI. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.
Install dependencies
npm install @mastra/core @mastra/mcp @ai-sdk/openaiReplace the token
[YOUR_TOKEN_HERE] with your Vinkius tokenRun the agent
agent.ts and run with npx tsx agent.tsExplore tools
Why Use Mastra AI with the BR Business Days Calculator MCP Server
Mastra AI provides unique advantages when paired with BR Business Days Calculator through the Model Context Protocol.
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add BR Business Days Calculator 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 BR Business Days Calculator 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
BR Business Days Calculator + Mastra AI Use Cases
Practical scenarios where Mastra AI combined with the BR Business Days Calculator MCP Server delivers measurable value.
Automated workflows: build multi-step agents that query BR Business Days Calculator, process results, and trigger downstream actions in a typed pipeline
SaaS integrations: embed BR Business Days Calculator as a first-class tool in your product's AI features with Mastra's clean agent API
Background jobs: schedule Mastra agents to query BR Business Days Calculator on a cron and store results in your database automatically
Multi-agent systems: create specialist agents that collaborate using BR Business Days Calculator tools alongside other MCP servers
Example Prompts for BR Business Days Calculator in Mastra AI
Ready-to-use prompts you can give your Mastra AI 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 Mastra AI
Common issues when connecting BR Business Days Calculator to Mastra AI through Vinkius, and how to resolve them.
createMCPClient not exported
npm install @mastra/mcpBR Business Days Calculator + Mastra AI FAQ
Common questions about integrating BR Business Days Calculator 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?
Explore More MCP Servers
View all →
Evvnt Marketing & Distribution
10 toolsEquip your AI agent to manage events, track syndication reports, and monitor distribution via the Evvnt API.

OpenRouteService
10 toolsPlan routes and analyze spatial data via OpenRouteService — calculate directions, isochrones, distance matrices, VRP optimization, and geocoding from any AI agent.

Easemob / 环信
10 toolsPioneer massive scale IM Chat SDK and API — manage users, groups, and real-time messaging via AI.

Gigs
12 toolsManage mobile subscriptions, track data usage, and oversee eSIMs via AI agents with Gigs.
