Get Started

MCP Server

The Ultralytics MCP server connects an AI assistant such as Claude or ChatGPT to your Ultralytics account. Add it to Claude or ChatGPT and ask about your projects, models, training runs, and datasets in plain language.

SettingValue
Server URLhttps://platform.ultralytics.com/mcp
TransportStreamable HTTP
AuthenticationOAuth with your Ultralytics account
AccessRead-only

You sign in with your existing Ultralytics account: there is no API key to create or paste.

Connect#

Ultralytics is not yet listed in the Claude or ChatGPT directories, so you add it by its URL. When you connect, the app opens Ultralytics in your browser. Sign in if asked, check the account named on the consent screen that asks whether to allow the app to access Ultralytics, and click Allow.

Claude#

Custom connectors work on every Claude plan; the Free plan allows one. Follow Anthropic's custom connector guide for the current steps:

  1. On an individual plan, open Customize > Connectors, click + Add, then Add custom connector. On a Team or Enterprise plan, an Owner adds it once in Organization settings > Connectors (Add, then Custom > Web), and each member clicks Connect on it in Customize > Connectors.
  2. Enter https://platform.ultralytics.com/mcp and click Continue.
  3. Keep the sign-in method OAuth with Claude's OAuth client (CIMD), click Add, then connect it and sign in to Ultralytics.
  4. In a conversation, turn Ultralytics on from the + button under Connectors.

The connector then works in Claude on the web, Claude Desktop, and the Claude mobile apps.

Claude Code#

claude mcp add --transport http ultralytics https://platform.ultralytics.com/mcp

Then run /mcp in a Claude Code session, select ultralytics, and sign in from its menu, or run claude mcp login ultralytics in your shell.

ChatGPT#

Custom MCP servers are added on ChatGPT on the web, on Pro, Business, and Enterprise/Edu plans. In a Business workspace only admins and owners can add one; in Enterprise/Edu, admins and owners can, as can members they authorize, and only admins and owners publish it for the workspace. Follow OpenAI's custom MCP server guide for the current steps:

  1. Go to Plugins, select the plus button, then Add custom MCP server.
  2. Name it Ultralytics, enter https://platform.ultralytics.com/mcp under Connection, and choose OAuth authentication.
  3. Review the risk warning, select I understand and want to continue, then Create as a plugin.
  4. Install the plugin and sign in to Ultralytics, then start a new conversation, type @, and select Ultralytics.

Codex#

codex mcp add ultralytics --url https://platform.ultralytics.com/mcp
codex mcp login ultralytics

The ChatGPT desktop app, Codex CLI, and IDE extension share this configuration.

What the Assistant Can Do#

The assistant picks the tools itself. Every tool only reads, and all but get_account can also return what other users have made public.

ToolReturns
get_accountYour username, plan, credit balance, project, dataset, and model counts, and your team workspaces
list_projectsAn owner's public projects, plus private ones when you can view that workspace
get_projectA project and summaries of its models
list_modelsThe models in a project
get_modelA model's details, or its per-image validation analysis
get_trainingA model's training status, epoch progress, timing, compute, metrics, and error
list_datasetsAn owner's datasets; private datasets require workspace access
get_dataset_statsA dataset's class counts, image distributions, and annotation heatmaps
searchPublic projects, datasets, models, and images, as on Explore

Example prompts:

  • "Which of my Ultralytics models has the highest mAP50-95?"
  • "How far along is my latest training run, and why did the previous one fail?"
  • "Compare the class balance of my two newest datasets."
  • "Find public Ultralytics models that detect forklifts."

Permissions and Privacy#

The connected app can read what your Ultralytics account can see through the tools above: your own workspace, the team workspaces you belong to, and public content. It cannot create, change, or delete anything. The consent screen shows the account being connected, the app that asked, where access is returned, and that access is read-only.

Tool results go to the app you connected, which handles them under its own terms. Ultralytics handles your account data as described in its Privacy Policy. Deleting your Ultralytics account also removes every app connection.

Tool calls count against the same per-account rate limits as your API keys. When a limit is reached, the tool returns an error with the time to retry.

Limits#

  • Read-only: the assistant can look but not act. Make changes in Platform or with the REST API.
  • Supported apps: Claude (web, desktop, mobile, and Claude Code), ChatGPT, and Codex. Other apps are refused for now.
  • Disconnecting: there is no page yet to view or revoke connected apps. To disconnect one, contact Ultralytics Support. Removing the connector in the app stops that app from using it.

Troubleshooting#

ProblemSolution
The consent screen shows the wrong accountClick Deny, sign out at platform.ultralytics.com, sign in with the account you want, and connect again from the app
"This request expired. Connect again from the app."A connection request lasts 10 minutes. Start again from the app and answer the consent screen within that time
The app cannot connectCheck the URL is exactly https://platform.ultralytics.com/mcp and that you are using a supported app. In Claude, keep Claude's OAuth client (CIMD)
A private project or dataset is missingAsk "Which Ultralytics account am I connected as?" and check that account belongs to the workspace that owns it
Contributors

Comments

Ask a question, share your results, or help someone else.