We're announcing 🧑‍🚀 inter-galactic shipping ✨ for 3025!
Cosmo Cargo Inc.
AI-Powered Cargo Management API

AI Operations

Server

AI-powered cargo management and optimization endpoints


Universal MCP endpoint

Connect Cosmo Cargo AI

Add this MCP server to your favorite AI tools in a few steps.

MCP Server URL
https://api.cosmocargo.space/ai/v1/mcp

Requires an X-API-Key header — replace YOUR_API_KEY with your key.

Choose your client
Set up Claude
  1. Add Cosmo Cargo AI to Claude Code by running:

    TerminalTerminal
    claude mcp add --transport http --header 'X-API-Key: YOUR_API_KEY' 'Cosmo Cargo AI' 'https://api.cosmocargo.space/ai/v1/mcp'
  2. Replace YOUR_API_KEY with your API key.

  3. Restart Claude Code — the Cosmo Cargo AI tools are now available.

View official docs

Optimize cargo routing

POST
https://api.cosmocargo.space/ai/v1
/optimize

Uses advanced AI algorithms to find the optimal route for cargo shipments across the solar system, considering factors like transit time, cost, and special cargo requirements.

Optimize cargo routing › Request Body

origin
​string · required

Origin space station or planet

Example: Earth Station Alpha
destination
​string · required

Destination space station or planet

Example: Mars Colony Beta
​CargoItem[] · required

Optimize cargo routing › Responses

200

Optimization completed successfully

​SpaceRoute
estimatedCost
​number · float

Cost in Galactic Credits

estimatedTime
​integer

Transit time in Earth days

confidenceScore
​number · float · min: 0 · max: 1
​SpaceRoute[]

Predict shipment issues

POST
https://api.cosmocargo.space/ai/v1
/predict

Uses machine learning to predict potential issues with shipments including delays, damage risks, and route disruptions based on historical data and current space weather conditions.

Predict shipment issues › Request Body

shipmentId
​string · uuid · required
predictionTypes
​string[]
Enum values:
DELAY
DAMAGE
ROUTE_DISRUPTION
COST_OVERRUN

Predict shipment issues › Responses

200

Predictions generated successfully

​Prediction[]
overallRiskLevel
​string · enum
Enum values:
LOW
MEDIUM
HIGH
CRITICAL

Analyze fleet performance

GET
https://api.cosmocargo.space/ai/v1
/analyze/fleet-performance

Provides AI-powered analytics on fleet performance including fuel efficiency, delivery times, and maintenance predictions.

Analyze fleet performance › query Parameters

timeRange
​string · enum
Enum values:
7d
30d
90d
1y
Default: 30d
fleetId
​string

Analyze fleet performance › Responses

200

Fleet analysis completed

overallScore
​number · float · min: 0 · max: 100
​object[]

Sample audio playback

GET
https://api.cosmocargo.space/ai/v1
/mpthreetest.mp3

Demo endpoint for audio player feature. Returns a sample MP3 file from a public CDN.

Sample audio playback › Responses

200

Audio file

string