# packagecloud MCP server > Read packagecloud repos, packages, versions and download stats; create repos, promote and delete. A hosted remote MCP server by usefulapi.io, an independent service (not affiliated with packagecloud). - Server URL: https://packagecloud.usefulapi.io/mcp - Transport: Streamable HTTP, OAuth sign-in - Status: live - Page: https://usefulapi.io/packagecloud/ ## Connect - Claude (claude.ai, Desktop): Customize → Connectors → Add custom connector, name packagecloud, URL https://packagecloud.usefulapi.io/mcp. Prefilled dialog: https://claude.ai/customize/connectors?modal=add-custom-connector&connectorName=packagecloud&connectorUrl=https%3A%2F%2Fpackagecloud.usefulapi.io%2Fmcp - Claude Code: `claude mcp add --transport http packagecloud https://packagecloud.usefulapi.io/mcp`, then run `/mcp` to log in. As a plugin: `claude plugin marketplace add https://usefulapi.io/claude/marketplace.json`, then `claude plugin install packagecloud@usefulapi`. - Codex: `codex mcp add packagecloud --url https://packagecloud.usefulapi.io/mcp`, then `codex mcp login packagecloud`. - ChatGPT: Plugins → Add custom MCP server, authentication OAuth. - Perplexity (Pro, Max, Enterprise): Plugins → Add custom → Add MCP connector → Remote, URL https://packagecloud.usefulapi.io/mcp, Advanced: OAuth, Streamable HTTP. - Cursor, VS Code and other MCP clients: add the URL as a remote MCP server. Add only the URL. Do not add an `Authorization` header or an API key to the client config. The server signs you in with OAuth: the login page asks for your **packagecloud API token**. If the config has such a header, remove it: some clients then send that header instead of the login token, and every call fails with 401. ## Before you connect Log in at packagecloud.io and copy the token from [packagecloud.io/api_token](https://packagecloud.io/api_token). The token acts as your whole account, so keep it private. Your token is used only to call the packagecloud API on your behalf; it is never shown to anyone. ## Example requests - Which package repositories do I have, and how many packages are in each? - List all versions of the package my-agent in my main repository. - How many times was my release repository installed this month? - Show the download count for the latest version of my-agent. ## Pricing - Free: $0, 50 tool calls / month - Pro: $9/mo · $90/yr per account, 10,000 tool calls / month - Pro+: $39/mo · $390/yr per account, 100,000 tool calls / month Each paid plan covers this packagecloud server only. ## Tools (22) ### Read only (13) - `packagecloud_list_repositories`: List repositories. List the package repositories of this account: name, fqname (user/repo, used by every other tool), privacy, package count and last push. include\_collaborations adds repositories you collaborate on. - `packagecloud_get_repository`: Get repository. One repository: name, fqname, url, privacy, package count and last push. - `packagecloud_list_distributions`: List distributions. The Linux distributions and versions packagecloud supports for deb, dsc and rpm packages, with their index\_name (for example ubuntu / jammy) and numeric version ids. - `packagecloud_list_packages`: List all packages. List every package file in a repository (not grouped), newest data first as the server orders it. Each item carries ready-made URLs: package\_url, versions\_url, downloads\_\*\_url, promote\_url, destroy\_url and download\_url; pass those to the other package tools. Paged. - `packagecloud_search_packages`: Search packages. Search a repository by package file name. An empty q returns every package. filter limits by type (rpms, debs, dscs, gem, python, node); dist (for example ubuntu or el/6) overrides filter; arch applies to Alpine/RPM/Debian only. Items carry the same ready-made URLs as list\_packages. Paged. - `packagecloud_list_package_groups`: List package names by type. List the packages of one type, grouped by name with a versions\_count and a versions\_url (pass that to packagecloud\_list\_package\_versions). Narrow by distro, then version, then arch (each needs the previous one; '\*' matches any). Examples: type rpm; type deb + distro ubuntu + version jammy + arch amd64; type gem. - `packagecloud_get_package`: Get package. Details of one package file (size, checksums, dependencies, licenses, download counts and its other URLs). Pass the package\_url of an item from list\_packages, search\_packages or list\_package\_versions. GET {package\_url}. - `packagecloud_list_package_versions`: List package versions. All versions of one package name (for deb/rpm: per distro, version and architecture). Pass the versions\_url of an item from list\_package\_groups, or derive it from a package object. Paged. GET {versions\_url}. - `packagecloud_get_package_downloads`: Get package download stats. Download statistics of one package version: a count, a time series, or (repository owners only) the detail of each download. Default range is the last 7 days; pass start\_date=19700101Z for all time. Pass the package\_url of the package; Java and generic files have no download stats. GET {package\_url minus .json}/stats/downloads/{count|detail|series/\}.json. - `packagecloud_get_repository_installs`: Get repository install stats. How often a repository was installed (set up on a machine): a count, a time series, or (owners only) the detail of each install, optionally for one distro or distro+version. Default range is the last 7 days; pass start\_date=19700101Z for all time. - `packagecloud_list_gpg_keys`: List GPG keys. The GPG keys of a repository (repository signing keys and package signing keys): name, fingerprint, type and the public key download URL. - `packagecloud_get_gpg_key`: Get GPG key. One GPG key of a repository by its key name (as returned by list\_gpg\_keys, for example user-repo-85D7FBF915DFCBC6.pub.gpg). - `packagecloud_get_readme`: Get repository README. The Markdown README of a repository. ### Changes data (5) - `packagecloud_create_repository`: Create repository. WRITE: create a new, empty package repository in this account (the plan limits how many private ones). Returns the URL of the new repository. - `packagecloud_create_readme`: Create repository README. WRITE: create the Markdown README of a repository. Use append\_readme to add to an existing one. - `packagecloud_append_readme`: Append to repository README. WRITE: append Markdown to the existing README of a repository (existing text is kept). Not idempotent: calling it twice appends twice. - `packagecloud_promote_package`: Promote (move) package. WRITE, DESTRUCTIVE: MOVE a package file to another repository (for example staging -\> production). It no longer exists in the source repository afterwards, and its download statistics are cleared. Pass the promote\_url of the package object and the destination as user/repo. POST {promote\_url}. - `packagecloud_delete_package`: Delete (yank) package. WRITE, DESTRUCTIVE AND IRREVERSIBLE: delete one package file from its repository (a gem is yanked). Clients that depend on it will break. Pass the destroy\_url of the package object and repeat its file name (the last path segment, for example jake-1.0-2.el6.x86\_64.rpm) as confirm\_filename. DELETE {destroy\_url}. ### Your usefulapi plan (4) - `packagecloud_usage_status`: Usage status (free-tier meter). Report the caller's current usage: the plan, calls used this month, the limit of the plan (the free monthly cap or the Pro fair use limit), remaining, and whether the limit is reached. Read-only; does not count against the meter. - `packagecloud_request_feature`: Request a missing feature. Tell usefulapi that the user needs something the packagecloud tools cannot do yet (a missing tool, field or filter). Call it only when the user asks for something none of the tools can do, and tell the user that you send the request. Do not call it for errors or for normal requests. Do not include personal data, credentials or customer records. Stored with the product name and the client type (for example Claude or Cursor), without the user's account. At most 5 requests per day. Does not count against the meter. - `packagecloud_upgrade`: Upgrade to Pro or Pro+. Get a paid plan for packagecloud (the free tier caps monthly usage). Pro: 10,000 tool calls a month, for normal use — plan "monthly" ($9/month) or "yearly" ($90/year, 2 months free). Pro+: 100,000 tool calls a month, for automations and heavy use — plan "plus" ($39/month) or "plus\_yearly" ($390/year). Without a plan, a free account gets both Pro and Pro+, each with a payment link, for the user to choose, and a Pro subscriber gets the Pro+ link; with a plan, one link. An existing Pro subscription changes to Pro+ in place: the reply gives a link to Stripe's page, which shows the exact charge (the price difference for the rest of the period; in a free Pro trial the full Pro+ price, as the trial ends) and changes the plan only when the user confirms there. This tool never charges. Cancel any time: the plan then runs to the end of the paid period, so it also suits a one-time job. A link opens Stripe Checkout in the browser; after payment the account upgrades automatically. Does not count against the meter. - `packagecloud_cancel_subscription`: Cancel the Pro subscription. Cancel the caller's packagecloud Pro subscription at the end of the paid period (no refund for the current period; Pro continues until then, then the free tier applies). Requires confirm: true. Run packagecloud\_upgrade later to undo the cancel before the period ends. Does not count against the meter. ## FAQ ### What can I do with packagecloud in Claude or ChatGPT? List repositories and what they hold. Find a package and list all its versions. Check download and install counts. Look at package details, GPG keys and the README. Promote a package from staging to production. Create repositories, write READMEs or delete package files. See [what you can do](https://usefulapi.io/packagecloud/#uses) for the details. ### Is this an official packagecloud product? No. usefulapi is an independent service. It is not affiliated with or endorsed by packagecloud. The server calls the packagecloud API with your own packagecloud access, so it sees only the data that your account can see. ### Can I connect packagecloud to Claude or ChatGPT? Yes. In Claude, add this server's URL as a custom connector. In ChatGPT, add it as a custom MCP server in Plugins. Then log in once. Cursor, VS Code, Claude Code and Codex work too. See [the setup steps](https://usefulapi.io/packagecloud/#connect). ### What do I need to connect? The login page asks for your **packagecloud API token**. See [Before you connect](https://usefulapi.io/packagecloud/#setup) for where to find it. ### Do I put my packagecloud key or an Authorization header in the client config? No. Add only the URL. Do not add an `Authorization` header or an API key to the client config. The server signs you in with OAuth: the login page asks for your **packagecloud API token**. If the config has such a header, remove it: some clients then send that header instead of the login token, and every call fails with 401. ### How do you keep my packagecloud credentials? The login stores them encrypted in the authorization grant of your connection. The server uses them to call the packagecloud API for you and to derive a private account id for usage metering. usefulapi does not show them on any page or in any reply. To stop all access, remove the connector and change or delete these credentials in packagecloud. ### Can the AI change my packagecloud data? Yes, if you approve it. 5 of the 18 packagecloud tools can create or change data. The other 13 are marked read-only. Most MCP clients ask you to approve a tool call before it runs. ### What does it cost? The Free plan gives 50 tool calls / month. Pro costs $9/mo or $90/yr, with 10,000 tool calls / month. Pro+ costs $39/mo or $390/yr, with 100,000 tool calls / month. Each subscription covers this packagecloud server only. Cancel any time: your paid plan then runs to the end of the paid period. Run `packagecloud_usage_status` to see how many calls you used. ### How do I subscribe or cancel? Ask the AI to run `packagecloud_upgrade` and choose Pro or Pro+, billed monthly or yearly: it returns a Stripe Checkout link. If you already have Pro, ask to change it to Pro+. After you confirm, your existing subscription changes in place, keeps its billing interval and charges the price difference for the rest of the period immediately. To cancel, run `packagecloud_cancel_subscription`. Your paid plan continues to the end of the paid period. ### What if a packagecloud tool that I need is missing? Tell the AI what you wanted to do. It can send the request with `packagecloud_request_feature`. We store the text with the server name, the type of AI client and the tool you tried, not with your account, and read every request when we plan new tools. You can send up to 5 requests per day. ### Which AI clients can I use? Any client that supports remote MCP servers (Streamable HTTP) with OAuth login: Claude (web and desktop), Claude Code, ChatGPT, Codex, Perplexity, Cursor, VS Code, Windsurf and others. ## Links - [packagecloud MCP server page](https://usefulapi.io/packagecloud/) - [All servers](https://usefulapi.io/llms.txt) - [Terms of Service](https://usefulapi.io/terms/) - [Privacy Policy](https://usefulapi.io/privacy/) - Support: support@usefulapi.io