{
  "info": {
    "name": "Openrouter — mcp.ai",
    "description": "REST API for the Openrouter MCP. Set {{apiKey}} to a workspace key (sk_live_…) created at https://mcp.ai/settings/api-keys.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.mcp.ai/api/openrouter",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "openrouter_create_chat_completion",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/chat/completion",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "chat",
            "completion"
          ]
        },
        "description": "Tool to generate a chat-style completion. Use after assembling messages and selecting a model. Supports streaming and function calls. Response format varies across models; use explicit prompt instruct",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"n\": 0,\n  \"stop\": \"\",\n  \"user\": \"\",\n  \"model\": \"\",\n  \"top_p\": 0,\n  \"stream\": false,\n  \"messages\": \"\",\n  \"functions\": \"\",\n  \"logit_bias\": {},\n  \"max_tokens\": 0,\n  \"temperature\": 0,\n  \"function_call\": \"\",\n  \"presence_penalty\": 0,\n  \"frequency_penalty\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "openrouter_create_coinbase_charge",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/coinbase/charge",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "coinbase",
            "charge"
          ]
        },
        "description": "Tool to create a Coinbase charge for crypto payment to add credits to your OpenRouter account. Use when you need to purchase credits using cryptocurrency. Returns calldata needed to fulfill the transa",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"amount\": 0,\n  \"sender\": \"\",\n  \"X_Title\": \"\",\n  \"chain_id\": 0,\n  \"HTTP_Referer\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "openrouter_create_message",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/message",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "message"
          ]
        },
        "description": "Tool to create a message using Anthropic Messages API format via OpenRouter. Use when you need Claude-compatible chat completion with support for text, images, PDFs, tools, and extended thinking.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"user\": \"\",\n  \"model\": \"\",\n  \"tools\": \"\",\n  \"top_k\": 0,\n  \"top_p\": 0,\n  \"models\": \"\",\n  \"stream\": false,\n  \"system\": \"\",\n  \"plugins\": \"\",\n  \"x_title\": \"\",\n  \"messages\": \"\",\n  \"metadata\": {},\n  \"provider\": {},\n  \"thinking\": {},\n  \"max_tokens\": 0,\n  \"session_id\": \"\",\n  \"temperature\": 0,\n  \"tool_choice\": {},\n  \"http_referer\": \"\",\n  \"service_tier\": \"\",\n  \"output_config\": {},\n  \"stop_sequences\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "openrouter_get_credits",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/credits",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "credits"
          ]
        },
        "description": "Tool to get the current API credit balance for the authenticated user. Use before large or batch jobs to verify sufficient balance. A successful response may return total_credits=0, which confirms aut",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "openrouter_get_current_key",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/current/key",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "current",
            "key"
          ]
        },
        "description": "Tool to get information about the currently authenticated API key. Use to check usage limits, spending, and key metadata.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"x_title\": \"\",\n  \"http_referer\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "openrouter_get_generation",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/generation",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "generation"
          ]
        },
        "description": "Tool to retrieve a generation result by its unique ID. Use after a generation completes to fetch metadata like token counts, cost, and latency.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "openrouter_get_models_count",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/models/count",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "models",
            "count"
          ]
        },
        "description": "Tool to get the total count of available models on OpenRouter. Use when you need to know how many models are available without fetching the full list.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"x_title\": \"\",\n  \"http_referer\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "openrouter_list_available_models",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/available/models",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "available",
            "models"
          ]
        },
        "description": "Tool to list available models via OpenRouter API. Use after confirming authentication to fetch the model catalog. Use exact model IDs returned here in OPENROUTER_CREATE_CHAT_COMPLETION or OPENROUTER_C",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"use_rss\": false,\n  \"category\": \"\",\n  \"use_rss_chat_links\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "openrouter_list_embedding_models",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/embedding/models",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "embedding",
            "models"
          ]
        },
        "description": "Tool to list all available embeddings models via OpenRouter API. Returns a list of embeddings models with their properties including architecture, pricing, and capabilities.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"X-Title\": \"\",\n  \"HTTP-Referer\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "openrouter_list_model_endpoints",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/model/endpoints",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "model",
            "endpoints"
          ]
        },
        "description": "Tool to list endpoints for a specific model. Use after specifying model author and slug to get endpoint details including pricing, context length, and supported parameters. Some metadata fields (e.g.,",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"slug\": \"\",\n  \"author\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "openrouter_list_providers",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/providers",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "providers"
          ]
        },
        "description": "Tool to list all AI model providers available through the OpenRouter API. Use after authentication to retrieve available provider options for routing configuration. Providers differ in latency, contex",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "openrouter_list_user_models",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/user/models",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "user",
            "models"
          ]
        },
        "description": "Tool to list models filtered by user provider preferences, privacy settings, and guardrails. Use after authenticating to get models tailored to the user's configuration.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"x_title\": \"\",\n  \"http_referer\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "openrouter_list_zdr_endpoints",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/zdr/endpoints",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "zdr",
            "endpoints"
          ]
        },
        "description": "Tool to preview the impact of Zero Data Retention (ZDR) on the available endpoints. Use to see which model endpoints remain accessible when ZDR is enabled.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"x_title\": \"\",\n  \"http_referer\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}