web-search Integrate

Attach Agents and backend code to web-search via MCP or REST.

MCP (recommended for Agents)

web-search mounts at /mcp/web-search. Tools are prefixed ctxkit_web_search_* so it's clear what the Agent is calling.

{
  "mcpServers": {
    "ctxkit-web-search": {
      "type": "http",
      "url": "https://api.ctxkit.com/mcp/web-search",
      "headers": {
        "X-API-Key": "ctxk_..."
      }
    }
  }
}

Tools

  • ctxkit_web_search_runrun a search with domain / range / category / capability filters.
  • ctxkit_web_search_list_categorieslist the canonical categories the platform accepts.

REST

REST is fine for backend automation. The single hot path is:

POST /api/v1/projects/<pid>/web-search/search

The per-project Integrate tab in the dashboard generates ready-to-paste configs for Cursor, VS Code, Claude Code CLI, and Claude Desktop (via mcp-remote).