Skip to content
DocsClaude Code

Connect Claude Code

One terminal command adds the Acubic MCP server to Claude Code. Sign in once through /mcp.

Updated Reviewed by Acubic Research

On this page

Add the server

  1. Step 1: Run claude mcp add --transport http acubic https://mcp.acubic.ai/mcp in your terminal.
  2. Step 2: Start Claude Code, type /mcp, choose acubic and sign in in your browser.

Here is the command again, ready to copy:

claude mcp add --transport http acubic https://mcp.acubic.ai/mcp

The command registers a remote server named acubic over HTTP. Claude Code opens the Acubic sign-in page in your default browser. Approve the access there, then return to the terminal. Claude Code receives the sign-in on a local address, so there is nothing to paste back.

Test it

Ask Claude Code something that uses a public tool first, then one that needs your account:

Prompt

Screen European stocks with a P/E under 15 and a dividend yield above 3%.

Then try "List my Acubic strategies". If it lists your saved strategies, sign-in worked.

Tips for Claude Code

  • Type /mcp at any time to see whether Acubic is connected and to sign in again.
  • Claude Code can follow a long backtest by polling its status. Each status reply says when to check next, so it does not poll more often than needed.
  • Scope the server to one project or to all projects with the usual Claude Code options for claude mcp add.

Remove the server

Run claude mcp remove acubic to remove the server from Claude Code. To also revoke its access to your account, open Settings, then Connected apps, on acubic.ai.

If something goes wrong

See troubleshooting for sign-in loops, 401 errors and missing tools.

Backtest results are hypothetical, from a historical simulation; past performance does not guarantee future results. Acubic provides software and information for educational purposes; it is not investment advice. Backtests follow the published methodology.