Skip to main content

Claude Code

After setup, checkout our Claude skill to get the most out of TabPFN MCP.
# If you haven't, install Claude Code
npm install -g @anthropic-ai/claude-code
 
# Navigate to your project
cd your-tabpfn-project
 
# Add TabPFN MCP (general access)
claude mcp add --transport http tabpfn https://api.priorlabs.ai/mcp/server

# Start coding with Claude
claude
 
# Authenticate the MCP tools by typing /mcp
# This will trigger the OAuth flow
/mcp

Claude.ai and Claude for desktop

After setup, checkout our Claude skill to get the most out of TabPFN MCP.
  1. Open Settings in the sidebar
  2. Navigate to Connectors and select Add custom connector
  3. Configure the connector:
Custom connectors using remote MCP are available on Claude and Claude Desktop for users on Pro, Max, Team, and Enterprise plans.
Alternatively, you may add the MCP server by editing the Claude Desktop config file:
  1. Locate your Claude Desktop config file based on your operating system:
  2. Get your API key from Prior Labs:
    • Navigate to ux.priorlabs.ai
    • Log in to your account (or sign up if you don’t have one)
    • Copy your API key from the dashboard
  3. Edit the config file to add the TabPFN server:
{
    "mcpServers": {
      "tabpfn": {
        "url": "https://api.priorlabs.ai/mcp/server",
        "headers": {
          "Authorization": "Bearer YOUR_API_KEY_HERE"
        }
      }
    }
  }
  1. Replace YOUR_API_KEY_HERE with your actual API key from step 2
  2. Save the config file and restart Claude Desktop for the changes to take effect

ChatGPT

Follow these steps to set up TabPFN as a connector in ChatGPT:
  1. Enable Developer mode:
    • Go to Settings → Connectors → Advanced settings → Developer mode
  2. Open ChatGPT settings
  3. In the Connectors tab, Create a new connector:
  4. Click Create
Custom connectors using MCP are available on ChatGPT for Pro and Plus accounts on the web.

Codex CLI

Codex CLI is OpenAI’s local coding agent that can run directly from your terminal.
# Install Codex
npm i -g @openai/codex
 
# Add TabPFN MCP
codex mcp add tabpfn --url https://api.priorlabs.ai/mcp/server
 
# Start Codex
codex
When adding the MCP server, Codex will detect OAuth support and open your browser to authorize the connection.

Cursor

To add TabPFN MCP to your Cursor environment, add the snippet below to your project-specific or global .cursor/mcp.json file manually. For more details, see the Cursor documentation.
{
  "mcpServers": {
    "tabpfn": {
      "url": "https://api.priorlabs.ai/mcp/server"
    }
  }
}
Once the server is added, Cursor will attempt to connect and display a Needs login prompt. Click on this prompt to authorize Cursor to access your Prior Labs account.

n8n

Watch the video below to learn how to integrate TabPFN with n8n workflows.