4,500+ servers built on MCP Fusion
Vinkius
JSONCargo Maritime logo
Vinkius
Pydantic AI logo

How to Use the JSONCargo Maritime MCP in Pydantic AI

Build type-safe maritime tracking agents with Pydantic AI and JSONCargo Maritime tool validation.

See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

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

Connect JSONCargo Maritime MCP to Pydantic AI

Create your Vinkius account to connect JSONCargo Maritime to Pydantic AI 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

Enforce strict type safety on maritime vessel searches

`search_maritime_vessels` returns structured vessel registries that Pydantic AI validates against strict Python models at runtime. If the MCP Server returns an unexpected format, the Pydantic AI framework raises a validation error immediately. This rigorous validation prevents your Pydantic AI agent from processing corrupted IMO numbers or malformed ship names from JSONCargo Maritime. You get clean, typed data that you can safely pass to your database or downstream APIs.

Validate active voyage metadata at runtime

`get_current_voyage_details` retrieves active transit logs that are instantly parsed into Pydantic models. Your Pydantic AI agent checks the structure of the JSONCargo Maritime voyage data before executing any logical branches. Since the Pydantic AI framework is model-agnostic, you can use these validated JSONCargo Maritime voyage details with OpenAI, Anthropic, or local models. The validation layer sits between the LLM and the server, keeping your data clean.

Parse global port registries via Pydantic AI

`list_maritime_ports` queries port coordinates and congestion levels, converting the raw JSON response into type-safe Python objects. Pydantic AI ensures that latitude, longitude, and congestion metrics from JSONCargo Maritime match your expected schemas exactly. You connect by passing the Vinkius HTTP URL directly to the Pydantic AI `MCPToolset` constructor. The toolset manages the SSE transport under the hood, exposing the validated port tools from the MCP Server to your agent.

Setup guide

Set up JSONCargo Maritime MCP in Pydantic AI

Prerequisites

  • Python 3.10+ installed
  • pydantic-ai-slim[fastmcp] package
  • Active Vinkius subscription with a valid endpoint token
  1. 1

    Install Pydantic AI with FastMCP

    Run pip install "pydantic-ai-slim[fastmcp]". The FastMCP toolset replaces the deprecated MCPServerHTTP class with full protocol support.

  2. 2

    Configure the FastMCPToolset

    Pass a JSON-style config dict to FastMCPToolset with your Vinkius URL. Replace [YOUR_TOKEN_HERE] with your token from cloud.vinkius.com. Supports Streamable HTTP, SSE, and Stdio transports.

  3. 3

    Create and run your agent

    Pass the toolset to Agent(toolsets=[toolset]) and call agent.run(). Swap openai:gpt-4o for any supported model — Anthropic, Google, Mistral, or Groq.

agent.py
from pydantic_ai import Agent
from pydantic_ai.toolsets.fastmcp import FastMCPToolset

toolset = FastMCPToolset({
    "mcpServers": {
        "jsoncargo-maritime-mcp": {
            "url": "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
        }
    }
})

agent = Agent(
    "openai:gpt-4o",
    toolsets=[toolset],
    system_prompt="You have access to JSONCargo Maritime tools.",
)

result = await agent.run("List recent JSONCargo Maritime transactions")
print(result.output)

Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by JSONCargo. 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 JSONCargo Maritime MCP in Pydantic AI

Install the slim package with MCP support and initialize `MCPToolset` with the Vinkius JSONCargo Maritime HTTP URL. Pass this toolset instance to your Pydantic AI Agent's `toolsets` argument.
Yes, every response from tools like `get_current_voyage_details` is validated against Pydantic models. This ensures your Pydantic AI agent never processes malformed JSONCargo Maritime voyage data or hallucinated fields.
Yes, Pydantic AI is model-agnostic. You can run the JSONCargo Maritime tools using local models or commercial APIs while maintaining strict schema validation.
It uses the Server-Sent Events (SSE) transport over HTTP. The Pydantic AI `MCPToolset` class handles this connection automatically when you provide the Vinkius JSONCargo Maritime endpoint URL.
The Vinkius platform runs this MCP Server in an ephemeral V8 sandbox with zero-trust network access. Your Pydantic AI agent communicates via a single token, keeping your JSONCargo Maritime vessel tracking credentials secure.

Start using the JSONCargo Maritime MCP today

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

Built & Managed by Vinkius 30s setup 4 tools

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

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