How to Use the Fundamental Math MCP in CrewAI
Give your CrewAI agents deterministic math capabilities. Eliminate LLM hallucinations with a local, zero-latency calculation engine.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Fundamental Math MCP to CrewAI
Create your Vinkius account to connect Fundamental Math to CrewAI and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Multi-Agent Mathematical Accuracy
The Fundamental Math MCP server equips your CrewAI teams with exact arithmetic tools. When your financial analysis agent needs to compute a compound interest rate, it calls `calculate_power`. The result is deterministic, meaning the agent gets the right answer instead of a probabilistic guess. Multi-agent systems compound errors quickly. If one agent hallucinates a number, the next agent bases its entire analysis on a lie. Giving your crew access to `calculate_percentage` ensures the baseline data remains perfectly accurate across the entire sequential execution.
Role-Based Tool Assignment
CrewAI thrives on specialization. You can restrict this MCP Server to a specific quantitative agent using the `tool_filter` parameter. That agent handles all the `calculate_rule_of_three` requests while the rest of the crew focuses on text analysis or research. This keeps your other agents from getting distracted by math tools they don't need. The quantitative agent processes the numbers locally and passes the exact results into the shared memory pool. The moderator agent simply reads the correct figures.
High-Speed Local Execution
Autonomous operations demand speed. When a data processing agent loops through hundreds of records, calling an external API for `calculate_square_root` or `calculate_factorial` creates massive bottlenecks. This local integration runs locally, returning results in milliseconds. You set this up by passing the MCP URL directly into the `mcps` array of your agent configuration. The Python framework handles the connection automatically. Your crew spends its time reasoning, not waiting for a remote server to multiply two numbers.
Set up Fundamental Math MCP in CrewAI
Prerequisites
- Python 3.10+ installed
-
crewaipackage (pip install crewai) - Active Vinkius subscription with a valid endpoint token
- 1
Install CrewAI
Run
pip install crewaito install the framework. MCP support is built-in via themcpsparameter. - 2
Add the MCP URL to your agent
Pass your Vinkius endpoint directly to the
mcpslist. Replace[YOUR_TOKEN_HERE]with your token from cloud.vinkius.com. CrewAI handles tool discovery and caching automatically. - 3
Kick off your crew
Create a
Crewwith your agent and tasks. Callcrew.kickoff()— the agent will automatically invoke Fundamental Math tools as needed.
from crewai import Agent, Task, Crew
agent = Agent(
role="Fundamental Math Analyst",
goal="Access and analyze Fundamental Math data via MCP.",
backstory="Expert analyst with direct Fundamental Math access.",
mcps=[
"https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
],
)
task = Task(
description="List recent Fundamental Math transactions",
agent=agent,
expected_output="A summary of recent activity",
)
crew = Crew(agents=[agent], tasks=[task])
result = crew.kickoff()
print(result) Prerequisites
- Python 3.10+ installed
-
crewai+crewai-toolspackages - Active Vinkius subscription with a valid endpoint token
- 1
Install dependencies
Run
pip install crewai crewai-tools. TheMCPServerAdapterhandles lifecycle management and tool conversion. - 2
Connect with MCPServerAdapter
Use
MCPServerAdapteras a context manager withSseServerParameterspointing to your Vinkius endpoint. The adapter automatically manages connection lifecycle. - 3
Assign tools and run
Pass the returned
mcp_toolsto your agent'stoolsparameter. The adapter converts MCP tools to nativeBaseToolobjects compatible with all CrewAI agents.
from crewai import Agent, Task, Crew
from crewai_tools import MCPServerAdapter
from mcp import SseServerParameters
server_params = SseServerParameters(
url="https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
)
with MCPServerAdapter(server_params) as mcp_tools:
agent = Agent(
role="Fundamental Math Analyst",
goal="Access and analyze Fundamental Math data via MCP.",
backstory="Expert analyst with direct Fundamental Math access.",
tools=mcp_tools,
)
task = Task(
description="List recent Fundamental Math transactions",
agent=agent,
expected_output="A summary of recent activity",
)
crew = Crew(agents=[agent], tasks=[task])
result = crew.kickoff()
print(result) Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by math-fundamental. 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 Fundamental Math MCP in CrewAI
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Fundamental Math MCP today
We host it, we monitor it, we maintain it. You just paste one token.