Skip to content
Docs
Get Pro

Claude Code, Cursor and other clients

Connect Claude Code, Cursor, VS Code, Codex, Gemini CLI or Windsurf, with sign-in or an API key.

On this page

Claude Code and VS Code sign in the same way as Claude and ChatGPT: a browser window opens on docstox.com and you click Allow. Cursor, Codex, Gemini CLI, Windsurf and any other MCP client use an API key instead, sent as a Bearer token. Create a key at /mcp/keys; it is shown once, so copy it immediately.

One command in your terminal, then sign in from inside Claude Code.

Terminal
claude mcp add --transport http docstox https://mcp.docstox.com/mcp

Add --scope user to make it available in every project, not just this one.

Start Claude Code and type /mcp. Select docstox, choose Authenticate, sign in on docstox.com and click Allow. Back in Claude Code, ask about any NSE or BSE stock.

Prefer an API key? Skip the sign-in by sending your key as a header instead. Create one at /mcp/keys first.

Terminal
claude mcp add --transport http docstox https://mcp.docstox.com/mcp \
  --header "Authorization: Bearer dox-YOUR_KEY_HERE"

Any other MCP client

Most clients that speak MCP over streamable HTTP accept the same shape: point the client at the server URL and send your key as a Bearer token. Field names vary a little (url, httpUrl or serverUrl).

mcp.json
{
  "mcpServers": {
    "docstox": {
      "url": "https://mcp.docstox.com/mcp",
      "headers": {
        "Authorization": "Bearer dox-YOUR_KEY_HERE"
      }
    }
  }
}

If your client can only launch a local command and not a remote URL (for example Cline, or an older Claude Desktop config), run the open-source mcp-remote proxy through npx. It needs Node.js 18 or later.

stdio config
{
  "mcpServers": {
    "docstox": {
      "command": "npx",
      "args": [
        "-y", "mcp-remote", "https://mcp.docstox.com/mcp",
        "--header", "Authorization:${DOCSTOX_AUTH}"
      ],
      "env": { "DOCSTOX_AUTH": "Bearer dox-YOUR_KEY_HERE" }
    }
  }
}

Clients that support MCP OAuth can connect without a key: they discover the sign-in endpoints from the server and send you to docstox.com.

Why some clients sign in and others use a key

DocStoX's OAuth sign-in only redirects back to a fixed list of client callback addresses (Claude, ChatGPT, VS Code, and loopback addresses for CLIs like Claude Code). Clients outside that list, or clients whose interface has nowhere to complete a browser sign-in, use an API key instead. Both paths reach the same tools and the same usage limits.

More on keys and revoking access: Sign-in and API keys.

Running low?

Two ways to get more calls and credits

Invite a friend, free

When someone signs up through your link, you get 2,000 research credits and they get 500. Bonus credits never expire.

Get your invite link

Move to Pro

5,000 tool calls a day instead of 50, 5,000 research credits instead of 500, and every one of the 94 tools in full.

See Pro

See what you have used today at Usage.

Was this page helpful?

Something wrong or missing on this page? Email [email protected]