Skip to main content
Glama
vinaybhosle

ShippingRates MCP Server

by vinaybhosle

⚓ ShippingRates MCP 服务器

为 AI 智能体提供的集装箱运输情报——滞期费与滞留费、本地费用、内陆运输、CFS 关税。按次付费,通过 x402 使用 USDC 结算。

MCP x402 Networks Version Status

快速开始

将 ShippingRates 添加到 Claude Desktop、Cursor 或任何兼容 MCP 的客户端:

{
  "mcpServers": {
    "shippingrates": {
      "url": "https://mcp.shippingrates.org/mcp"
    }
  }
}

就是这样。9 个工具自动发现。3 个免费 + 6 个付费(通过 x402)。

Related MCP server: dyoe-agent-tools-mcp

v2.1.0 新特性

  • 双链支付 — Base 主网(EVM)+ Solana 主网

  • 分层定价 — 根据数据复杂度每次调用 $0.03 到 $0.25

  • PayAI 促进器 — 免费,无需 API 密钥即可处理支付

  • 23/23 个端点已验证 — 完整生产健康检查通过

  • 2,547+ 条记录,分布在 14 个数据库表中

  • 服务器卡片 位于 /.well-known/mcp/server-card.json,用于自动发现

  • 实时分析仪表盘,带有实时支付跟踪

  • 已列入 官方 MCP 注册表、Smithery、Glama、mcp.so、x402scan

工具

付费(通过 x402 使用 USDC)

工具

价格

描述

dd_calculate

$0.10

计算滞期费与滞留费——免费天数、每日费率、阶梯分解、总费用

dd_compare

$0.25

通过一次调用比较所有 6 家航运公司的 D&D 费用。没有竞争对手提供此功能。

local_charges

$0.05

港口本地费用——THC、文件费、提单费、封条费

inland_search

$0.03

按起运地/目的地搜索内陆运输路线

cfs_tariffs

$0.05

按货物类型划分的集装箱货运站处理关税

inland_haulage

$0.05

内陆运输费率——从港口到目的地的卡车/铁路运输

免费

工具

描述

list_lines

列出所有 6 家航运公司及其按国家/地区的记录数量

get_stats

数据库统计信息——记录数、覆盖范围、定价、最后更新

health_check

服务器状态、版本、网络配置

支付

ShippingRates 使用 x402 协议——AI 智能体的原生互联网支付标准。

  • 货币: USDC(稳定币,始终等于 $1.00)

  • 网络: Base 主网(EVM)+ Solana 主网

  • 促进器: PayAI——免费,无需 API 密钥

  • 结算: 即时(约 200 毫秒)

  • 无需 API 密钥、无需账户、无需订阅

您的智能体发送请求 → 收到 HTTP 402 响应(含支付条款)→ 签署 USDC 支付 → 使用证明重试 → 获取数据。所有操作由 x402 客户端库自动处理。

支持的 x402 客户端库

  • TypeScript: @x402/fetch@x402/axios

  • Python: x402 包(httpx / requests)

  • Go: x402 Go 模块

支付钱包

网络

地址

Base (EVM)

0x8c9e0882b4c6e6568fe76F16D59F7E080465E5C8

Solana

Gcv56hKWuEGmXheBpJxAwQxvX6QAMimZzzVrHaVCbNWE

数据覆盖范围

指标

航运公司

6 家——马士基、MSC、达飞、赫伯罗特、ONE、中远海运

记录数

2,547+ 条已验证的关税条目,分布在 14 个表中

国家/地区

9 个——印度、阿联酋、新加坡、中国、马来西亚、斯里兰卡、巴基斯坦、孟加拉国、泰国

集装箱类型

20DV、40DV、40HC、20RF、40RF、20OT、40OT、20FR、40FR

数据质量

100% 从官方承运人 PDF 手动验证

数据表

dd_tariffs、local_charges、inland_haulage、cfs_tariffs、ports 等

API 访问

如需直接 API 集成(无需 MCP):

资源

URL

API 基础地址

https://api.shippingrates.org

完整文档

https://api.shippingrates.org/llms-full.txt

LLMs.txt

https://api.shippingrates.org/llms.txt

x402 发现

https://api.shippingrates.org/.well-known/x402.json

MCP 服务器

https://mcp.shippingrates.org/mcp

MCP 服务器卡片

https://mcp.shippingrates.org/.well-known/mcp/server-card.json

健康检查

https://api.shippingrates.org/health

示例:D&D 计算

# Free endpoint — no payment needed
curl https://api.shippingrates.org/api/stats

# Paid endpoint — returns HTTP 402 with payment instructions
curl -X POST https://api.shippingrates.org/api/dd/calculate \
  -H "Content-Type: application/json" \
  -d '{"line": "maersk", "country": "IN", "container_type": "40HC", "days": 14}'

示例响应(D&D 计算)

{
  "line": "maersk",
  "country": "IN",
  "container_type": "40HC",
  "days": 14,
  "free_days": 4,
  "currency": "USD",
  "slabs": [
    { "from": 5, "to": 7, "rate_per_day": 7.5, "days": 3, "cost": 22.5 },
    { "from": 8, "to": 14, "rate_per_day": 15, "days": 7, "cost": 105 }
  ],
  "total_cost": 127.5
}

示例响应(D&D 比较)

{
  "country": "IN",
  "container_type": "40HC",
  "days": 14,
  "comparisons": [
    { "line": "maersk", "total_cost": 127.5, "free_days": 4, "currency": "USD" },
    { "line": "msc", "total_cost": 150.0, "free_days": 3, "currency": "USD" },
    { "line": "cosco", "total_cost": 95.0, "free_days": 7, "currency": "USD" }
  ],
  "cheapest": "cosco",
  "savings_vs_most_expensive": 55.0
}

架构

┌─────────────────────────────────────────────────────┐
│                   AI Agent / Client                  │
│            (Claude, Cursor, ChatGPT, etc.)           │
└──────────────┬──────────────────────┬───────────────┘
               │ MCP                  │ HTTP + x402
               ▼                      ▼
┌──────────────────────┐  ┌──────────────────────────┐
│  MCP Server v1.1.0   │  │    API Server v2.1.0     │
│  mcp.shippingrates   │──│  api.shippingrates.org   │
│  .org:3480           │  │  :3402                   │
└──────────────────────┘  └────────────┬─────────────┘
                                       │
                          ┌────────────▼─────────────┐
                          │  Shipping Intelligence DB │
                          │  SQLite — 14 tables       │
                          │  2,547+ verified records   │
                          └──────────────────────────┘
  • MCP 服务器 — TypeScript,@modelcontextprotocol/sdk,可流式 HTTP 传输

  • API 服务器 — TypeScript,Express.js,带有 PayAI 促进器的 x402 v2 SDK

  • 数据库 — SQLite,数据来自官方承运人关税 PDF

  • 基础设施 — PM2 进程管理器,Cloudflare Tunnel,抗重启

使用场景

  • 货运代理 在订舱前估算罚款成本

  • AI 智能体 优化集装箱提箱时间表以最小化 D&D 费用

  • 物流公司 比较承运人以找到最便宜的选项

  • 贸易融资 评估进口操作中的成本风险

  • 供应链平台 集成实时 D&D 数据

发现与目录

ShippingRates 已列入以下目录:

目录

状态

官方 MCP 注册表

✅ 已上线 — io.github.vinaybhosle/shippingrates-mcp-server

Smithery

✅ 已提交

Glama

✅ 已提交

mcp.so

✅ 已提交

x402scan

✅ 已索引 — 6 个资源自动发现

关于

SmartBiz AI 构建——为商业航运提供 AI 解决方案,总部位于印度孟买。

ShippingRates 是世界上第一个 x402 原生航运数据 API,专为 AI 智能体和自主商业而构建。

链接

许可证

此仓库仅包含文档和连接配置。ShippingRates API 和 MCP 服务器是由 SmartBiz AI 运营的商业服务。

API 的使用遵循通过 x402 协议按次付费的定价模式。

F
license - not found
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • Pay-per-use weather, environment, finance, and on-chain intelligence tools for AI agents via x402.

  • 30 pay-per-call APIs for AI agents: compliance, trade, safety, web, data. USDC on Base via x402.

  • Token swaps and honeypot/rug checks for AI agents on 8 chains, paid per-call in USDC via x402.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/vinaybhosle/shippingrates-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server