Skip to main content

Overview

Choose the MCP remote when you want to use GWI data in existing MCP client applications like Claude Desktop, Cursor, or other tools with built-in MCP support. This is ideal for:
  • Claude Desktop app users and other MCP-compatible applications
  • Users who want to use GWI data without writing code
The MCP remote is an npm package that runs locally on your machine and acts as a bridge between MCP clients and the Spark API. This is available on:

How to use

  1. Install Node.js for accessing npx on your machine. Please use one of the following methods to install for your OS:
  2. Validate npx exists in your system
    npx -v
    # should print the npx version ex. 10.7.0
    
  3. Use the following configuration for your MCP client:
    {
      "mcpServers": {
        "gwi_spark_ai": {
          "command": "npx",
          "args": [
            "mcp-remote",
            "https://api.globalwebindex.com/v1/spark-api/mcp",
            "--header",
            "Authorization:${AUTH_HEADER}"
          ],
          "env": {
            "AUTH_HEADER": "Bearer YOUR_GWI_TOKEN_HERE"
          }
        }
      }
    }