GUIDE

Web Search in Claude Code and Cursor

Connect Claude Code or Cursor to Gyaansetu Search and Extract using MCP and a Gyaansetu API Key.

All guidesRead as Markdown

Both clients can connect to Gyaansetu's remote MCP server at https://web-search.gyaansetu.com/mcp. Use a Gyaansetu API Key that starts with gs-. Send it in the Authorization: Bearer header; a client that cannot set headers can use ?apiKey= in the server URL instead.

Claude Code

Run the same HTTP setup command used in the app's setup examples, replacing the placeholder with your complete API Key:

claude mcp add --transport http gyaansetu https://web-search.gyaansetu.com/mcp \
  --header "Authorization: Bearer YOUR_GYAANSETU_API_KEY"

Cursor

Add this server entry to .cursor/mcp.json or Cursor's MCP settings. Replace the placeholder with the complete API Key, including its gs- prefix:

{
  "mcpServers": {
    "gyaansetu": {
      "url": "https://web-search.gyaansetu.com/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_GYAANSETU_API_KEY"
      }
    }
  }
}

If the client cannot send a header, append ?apiKey=gs-YOUR_GYAANSETU_API_KEY to the MCP URL instead. The API Key is a secret; do not commit a real one to your configuration file.

Available tools

The server exposes two tools:

The MCP connection authenticates once with the API Key. Both tools then use the same Account Quota and Credit Balance as HTTP requests.