{
  "info": {
    "name": "Opencage — mcp.ai",
    "description": "REST API for the Opencage 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/opencage",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "opencage_geocode_forward",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/geocode/forward",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "geocode",
            "forward"
          ]
        },
        "description": "Tool to convert a human-readable address into geographic coordinates. Use when you need to retrieve latitude and longitude from an address.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"q\": \"\",\n  \"abbrv\": 0,\n  \"limit\": 0,\n  \"bounds\": \"\",\n  \"pretty\": false,\n  \"language\": \"\",\n  \"proximity\": \"\",\n  \"add_request\": 0,\n  \"countrycode\": \"\",\n  \"min_confidence\": 0,\n  \"no_annotations\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "opencage_geocode_geojson",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/geocode/geojson",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "geocode",
            "geojson"
          ]
        },
        "description": "Geocode addresses or coordinates and return results in GeoJSON FeatureCollection format. Use this tool when you need: - Geographic data in standard GeoJSON format for mapping applications - Forward ge",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"q\": \"\",\n  \"abbrv\": 0,\n  \"limit\": 0,\n  \"bounds\": \"\",\n  \"pretty\": false,\n  \"language\": \"\",\n  \"roadinfo\": false,\n  \"proximity\": \"\",\n  \"add_request\": false,\n  \"countrycode\": \"\",\n  \"address_only\": false,\n  \"min_confidence\": 0,\n  \"no_annotations\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "opencage_geocode_geojsonp",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/geocode/geojsonp",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "geocode",
            "geojsonp"
          ]
        },
        "description": "Geocode an address and return results wrapped in a JavaScript callback function (JSONP format). Use this tool when you need geocoding results that can be directly consumed by JavaScript through a call",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"q\": \"\",\n  \"abbrv\": 0,\n  \"limit\": 0,\n  \"bounds\": \"\",\n  \"pretty\": 0,\n  \"callback\": \"\",\n  \"language\": \"\",\n  \"no_dedupe\": 0,\n  \"no_record\": 0,\n  \"proximity\": \"\",\n  \"add_request\": 0,\n  \"countrycode\": \"\",\n  \"min_confidence\": 0,\n  \"no_annotations\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "opencage_geocode_google_v3_json",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/geocode/google/v3/json",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "geocode",
            "google",
            "v3",
            "json"
          ]
        },
        "description": "Tool to perform forward geocoding and return results in Google Geocoding API v3 compatible JSON format. Use when you need Google v3 compatible output for legacy integrations. Note: This is a legacy fo",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"q\": \"\",\n  \"abbrv\": 0,\n  \"limit\": 0,\n  \"bounds\": \"\",\n  \"pretty\": 0,\n  \"language\": \"\",\n  \"roadinfo\": 0,\n  \"no_dedupe\": 0,\n  \"no_record\": 0,\n  \"proximity\": \"\",\n  \"add_request\": 0,\n  \"countrycode\": \"\",\n  \"address_only\": 0,\n  \"no_annotations\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "opencage_geocode_reverse",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/geocode/reverse",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "geocode",
            "reverse"
          ]
        },
        "description": "Tool to convert coordinates to a human-readable address. Use when you have latitude and longitude and need a readable location.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"q\": \"\",\n  \"abbrv\": 0,\n  \"limit\": 0,\n  \"pretty\": 0,\n  \"language\": \"\",\n  \"roadinfo\": 0,\n  \"add_request\": 0,\n  \"countrycode\": \"\",\n  \"normalizecity\": 0,\n  \"min_confidence\": 0,\n  \"no_annotations\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "opencage_geocode_xml",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/geocode/xml",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "geocode",
            "xml"
          ]
        },
        "description": "Geocode a location query and return results in XML format. Supports both forward geocoding (address to coordinates) and reverse geocoding (coordinates to address). Use this when you need XML-formatted",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"q\": \"\",\n  \"abbrv\": 0,\n  \"limit\": 0,\n  \"pretty\": 0,\n  \"language\": \"\",\n  \"roadinfo\": 0,\n  \"no_dedupe\": 0,\n  \"add_request\": 0,\n  \"countrycode\": \"\",\n  \"min_confidence\": 0,\n  \"no_annotations\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "opencage_ping_opencage",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/ping/opencage",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "ping",
            "opencage"
          ]
        },
        "description": "Tool to check API health and connectivity. Returns 'pong' if the API is reachable. Use when you need to verify that the OpenCage API is accessible and operational.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}