Vinkius
Basis Calculator logo
Vinkius
Vinkius runs on CrewAI

How to Use the Basis Calculator MCP in CrewAI

Run multi-agent commodity trading teams that analyze cash-to-futures spreads using CrewAI and this basis engine.

See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

Basis Calculator MCP on Cursor AI Code Editor MCP Client Basis Calculator MCP on Claude Desktop App MCP Integration Basis Calculator MCP on OpenAI Agents SDK MCP Compatible Basis Calculator MCP on Visual Studio Code MCP Extension Client Basis Calculator MCP on GitHub Copilot AI Agent MCP Integration Basis Calculator MCP on Google Gemini AI MCP Integration Basis Calculator MCP on Lovable AI Development MCP Client Basis Calculator MCP on Mistral AI Agents MCP Compatible Basis Calculator MCP on Amazon AWS Bedrock MCP Support
MCP Servers — Included with Plan
Vinkius runs on CrewAI

Connect Basis Calculator MCP to CrewAI

Create your Vinkius account to connect Basis Calculator to CrewAI — we handle the hosting, security, and runtime updates so you don't have to. No server setup required.

GDPR Included with Plan

Key Capabilities

Coordinate multi-agent basis analysis using CrewAI

The `calculate_current_basis` tool determines whether physical commodity prices are Above Parity or Below Parity relative to the futures market. A specialized researcher agent can fetch the raw cash prices, while an analyst agent runs this tool to calculate the exact spread. By dividing tasks among specialized agents, your crew doesn't hit bottlenecks. The coordinator agent monitors the session and triggers hedging actions only when the calculated spread hits your target threshold.

Compare current spreads against historical baselines

The `get_historical_averages` tool pulls regional historical basis averages for specific agricultural products. Your analysis agent uses this data to determine if a local elevator's cash bid is historically strong or weak. CrewAI agents share memory, allowing them to carry this historical context across multiple steps of your trading workflow. The researcher agent can cross-reference the average with current news reports to spot anomalies.

Track agricultural cycle trends in your CrewAI team

The `get_seasonality_trend` tool identifies expected basis movements for specific periods in the agricultural cycle. Your planning agent uses this trend data to build long-term storage or selling recommendations. This MCP connects to your CrewAI setup via standard HTTP or SSE transports. You can filter which agents have access to these seasonal trends, keeping your execution pipelines lean and focused.

Setup guide

Set up Basis Calculator MCP in CrewAI

Prerequisites

  • Python 3.10+ installed
  • crewai package (pip install crewai)
  • Active Vinkius subscription with a valid endpoint token
  1. 1

    Install CrewAI

    Run pip install crewai to install the framework. MCP support is built-in via the mcps parameter.

  2. 2

    Add the MCP URL to your agent

    Pass your Vinkius endpoint directly to the mcps list. Replace [YOUR_TOKEN_HERE] with your token from cloud.vinkius.com. CrewAI handles tool discovery and caching automatically.

  3. 3

    Kick off your crew

    Create a Crew with your agent and tasks. Call crew.kickoff() — the agent will automatically invoke Basis Calculator tools as needed.

crew.py
from crewai import Agent, Task, Crew

agent = Agent(
    role="Basis Calculator Analyst",
    goal="Access and analyze Basis Calculator data via MCP.",
    backstory="Expert analyst with direct Basis Calculator access.",
    mcps=[
        "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
    ],
)

task = Task(
    description="List recent Basis Calculator transactions",
    agent=agent,
    expected_output="A summary of recent activity",
)

crew = Crew(agents=[agent], tasks=[task])
result = crew.kickoff()
print(result)

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 Basis Calculator MCP in CrewAI

Install crewai[tools] and pass the MCP URL directly in your Agent's mcps list. This gives that specific agent immediate access to the calculation tools.
Yes, you can use the MCPServerHTTP class from crewai.mcp and apply a tool_filter. This ensures only your analyst agent can access the basis calculation functions.
CrewAI coordinates tool calls through its shared memory and execution planner. Agents take turns querying the basis data, preventing race conditions or duplicated requests during market analysis.
This MCP supports stdio, SSE, and Streamable HTTP transports. You can configure the connection method that best fits your agent team's deployment environment.
All calculations are processed in-memory during the MCP session. Your local physical cash bids, futures contract prices, and commodity codes are never written to permanent logs or shared externally.

Start using the Basis Calculator MCP today

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

Built & Managed by Vinkius 30s setup 3 tools

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

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

Vinkius runs on Claude Claude
Vinkius runs on ChatGPT ChatGPT
Vinkius runs on Cursor Cursor
Vinkius runs on Gemini Gemini
Vinkius runs on Windsurf Windsurf
Vinkius runs on VS Code VS Code
Vinkius runs on JetBrains JetBrains
Vinkius runs on 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.