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.
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 soonA 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 soonA 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- Run the setup commands below in your terminal.
- Complete the Testfolio sign-in and approval flow in the browser.
- Run
/mcpin Claude Code and confirm Testfolio is connected.
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 testfolioCodex
Available now · Command-line connection- Run the setup command below in your terminal.
- Open the authorization URL, sign in to Testfolio, and approve access. If the browser flow does not begin, run
codex mcp login testfolio. - Run
/mcpin Codex and confirm Testfolio is connected.
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'What happens when you connect
- 1Start from your AI assistant
Use the client-specific setup above to begin the connection.
- 2Sign in to Testfolio
Use the Testfolio account that includes MCP access.
- 3Review and approve access
Testfolio shows the requesting app and permissions before you authorize it.
Every MCP analysis tool, one connection
- analytics Call the complete MCP catalog across portfolio, asset, tactical, optimization, Monte Carlo, retirement, signal, factor, leverage, sensitivity, regression, and dividend research.
- data_objectReceive structured results and documented output semantics.
- menu_bookUse Testfolio methodology and ticker references in context.
- linkCreate public configuration links when explicitly requested.