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

AI Operations

Endpoint

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/mcp

AI Tool Configuration

Choose your AI tool and copy the configuration to get started.


  1. Open Claude Desktop and click Settings in the lower corner
  2. Navigate to Developer tab → Edit Config
  3. Add this configuration to claude_desktop_config.json:
    JSONclaude_desktop_config.json
    {
      "mcpServers": {
        "Cosmo Cargo AI": {
          "command": "npx",
          "args": ["-y", "@modelcontextprotocol/server-fetch"],
          "env": {
            "FETCH_URL": "https://api.cosmocargo.space/ai/v1/mcp"
          }
        }
      }
    }
  4. 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

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

  • originstring · required

    Origin space station or planet

    Example: Earth Station Alpha
  • destinationstring · required

    Destination space station or planet

    Example: Mars Colony Beta
  • cargoobject[] · required
  • constraintsobject

Optimize cargo routing Responses

Optimization completed successfully

  • recommendedRouteobject
  • estimatedCostnumber · float

    Cost in Galactic Credits

  • estimatedTimeinteger

    Transit time in Earth days

  • confidenceScorenumber · float · min: 0 · max: 1
  • alternativeRoutesobject[]

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

  • shipmentIdstring · uuid · required
  • predictionTypesstring[]
    Enum values:
    DELAY
    DAMAGE
    ROUTE_DISRUPTION
    COST_OVERRUN

Predict shipment issues Responses

Predictions generated successfully

  • predictionsobject[]
  • overallRiskLevelstring · 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 performancequery Parameters

  • timeRangestring · enum
    Enum values:
    7d
    30d
    90d
    1y
    Default: 30d
  • fleetIdstring

Analyze fleet performance Responses

Fleet analysis completed

  • overallScorenumber · float · min: 0 · max: 100
  • insightsobject[]