Every MCP analysis tool · Included with Testfolio Max

Use Testfolio research inside your AI assistant

One secure connection lets your AI assistant call every analysis tool in the Testfolio MCP catalog—from portfolio backtesting and tactical strategies to optimization, Monte Carlo, retirement, signals, factors, leverage, and dividend research—and work directly with structured Testfolio results.

Complete MCP analysis suiteSecure OAuth connectionTestfolio-calculated resultsCodex + Claude Code available now
Sign in to connectMCP access is available to Testfolio Max members.
Connection setup

Connect your AI assistant

Codex and Claude Code are available now using the setup guides below. ChatGPT and Claude connections are coming soon.

ChatGPT

Coming soon

A direct Testfolio connection for ChatGPT is coming soon. Once it is available, Testfolio Max members will be able to connect their account and call the complete MCP analysis suite from ChatGPT.

Claude

Coming soon

A direct Testfolio connection for Claude is coming soon. Once it is available, Testfolio Max members will be able to connect their account and call the complete MCP analysis suite from Claude.

Claude Code

Available now · Command-line connection
  1. Run the setup commands below in your terminal.
  2. Complete the Testfolio sign-in and approval flow in the browser.
  3. Run /mcp in Claude Code and confirm Testfolio is connected.
Terminal
claude mcp add \
  --transport http \
  --scope user \
  --client-id f4ef9f49-2192-48c2-b1d3-954c05379751 \
  --callback-port 54546 \
  testfolio https://mcp.testfol.io/mcp

claude mcp login testfolio

Codex

Available now · Command-line connection
  1. Run the setup command below in your terminal.
  2. Open the authorization URL, sign in to Testfolio, and approve access. If the browser flow does not begin, run codex mcp login testfolio.
  3. Run /mcp in Codex and confirm Testfolio is connected.
Terminal
codex mcp add testfolio \
  --url https://mcp.testfol.io/mcp \
  --oauth-client-id 3625ec6c-e0cc-4d18-97d1-af592078850d \
  -c 'mcp_oauth_callback_url="http://127.0.0.1:54545/callback"' \
  -c 'mcp_oauth_callback_port=54545'
Secure authorization

What happens when you connect

  1. 1
    Start from your AI assistant

    Use the client-specific setup above to begin the connection.

  2. 2
    Sign in to Testfolio

    Use the Testfolio account that includes MCP access.

  3. 3
    Review and approve access

    Testfolio shows the requesting app and permissions before you authorize it.

Complete analysis suite

Every MCP analysis tool, one connection

  • Call the complete MCP catalog across portfolio, asset, tactical, optimization, Monte Carlo, retirement, signal, factor, leverage, sensitivity, regression, and dividend research.
  • Receive structured results and documented output semantics.
  • Use Testfolio methodology and ticker references in context.
  • Create public configuration links when explicitly requested.
Questions

Testfolio MCP FAQ