> ## Agent Instructions > TabPFN-3 and later versions support up to 1,000,000 rows, subject to feature count and checkpoint/API limits. > For large datasets, use per-estimator subsampling, e.g. inference_config={"SUBSAMPLE_SAMPLES": 100_000}, in TabPFNClassifier or TabPFNRegressor from tabpfn or tabpfn_client. > Pass raw pandas DataFrames to fit and predict. Categorical strings/categories, raw text, and missing feature values are handled automatically; no manual integer/one-hot encoding, imputation, scaling, or outlier removal is needed. # Model Context Protocol Source: https://docs.priorlabs.ai/agentic/mcp Connect AI tools to TabPFN using the Model Context Protocol (MCP) for natural language predictions on tabular data. TabPFN MCP is a remote [MCP](https://modelcontextprotocol.io/docs/getting-started/intro) with OAuth that gives AI tools secure access to TabPFN. Our MCP server is available at: ``` https://api.priorlabs.ai/mcp/server ``` It integrates with popular AI assistants like Claude, enabling you to run predictions using natural language. TabPFN MCP implements the latest [MCP Authorization](https://modelcontextprotocol.io/specification/2025-06-18/basic/authorization) and [Streamable HTTP](https://modelcontextprotocol.io/specification/2025-06-18/basic/transports#streamable-http) specifications. To use the TabPFN MCP you need a Prior Labs account. You can sign up or log in at [platform.priorlabs.ai](https://platform.priorlabs.ai). ## Model and usage TabPFN MCP uses **[TabPFN-3.5-Plus](/models#tabpfn-3-5-family)** for predictions. Prediction usage counts toward the daily and monthly token pools of the Prior Labs account you connect. Check your balances on the [Usage page](https://platform.priorlabs.ai/account/usage). See [API metering](/api/metering) for how prediction work consumes tokens and [Rate limits](/api/rate-limits) for request limits. ## Getting Started Connect Claude, ChatGPT, Cursor, Codex CLI, or n8n to the TabPFN MCP server. Build a chat workflow that accepts CSV uploads and runs TabPFN predictions. A churn prediction pipeline with an AI agent using TabPFN MCP and Databricks Delta tables. # Setup Guide Source: https://docs.priorlabs.ai/agentic/setup-guide Step-by-step instructions for connecting Claude, ChatGPT, Cursor, Codex CLI, and n8n to the TabPFN MCP server. ```bash theme={null} # 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 ```