AI-powered cargo management and optimization endpoints
Universal MCP endpoint
MCP Endpoint
Copy the url to connect any MCP-compatible AI tool
https://api.cosmocargo.space/ai/v1/mcpAI Tool Configuration
Choose your AI tool and copy the configuration to get started.
- Open Claude Desktop and click Settings in the lower corner
- Navigate to Developer tab โ Edit Config
- Add this configuration to
claude_desktop_config.json:claude_desktop_config.json - Save the file and restart Claude Desktop. Look for the ๐จ icon in the bottom-right corner.
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Optimize cargo routing
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.
Request Body
originstringย ยทย requiredOrigin space station or planet
Example: Earth Station Alphadestinationstringย ยทย requiredDestination space station or planet
Example: Mars Colony Betacargoobject[]ย ยทย required
constraintsobject
Responses
Optimization completed successfully
recommendedRouteobjectestimatedCostnumberย ยทย floatCost in Galactic Credits
estimatedTimeintegerTransit time in Earth days
confidenceScorenumberย ยทย floatย ยทย min: 0ย ยทย max: 1alternativeRoutesobject[]
Predict shipment issues
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.
Request Body
shipmentIdstringย ยทย uuidย ยทย required
predictionTypesstring[]Enum values:DELAYDAMAGEROUTE_DISRUPTIONCOST_OVERRUN
Responses
Predictions generated successfully
predictionsobject[]overallRiskLevelstringย ยทย enumEnum values:LOWMEDIUMHIGHCRITICAL
Analyze fleet performance
Provides AI-powered analytics on fleet performance including fuel efficiency, delivery times, and maintenance predictions.
query Parameters
timeRangestringย ยทย enumEnum values:7d30d90d1yDefault: 30dfleetIdstring
Responses
Fleet analysis completed
overallScorenumberย ยทย floatย ยทย min: 0ย ยทย max: 100insightsobject[]