Skip to main content

Runout for Discogs

runout-mcp is a small local MCP server that lets Claude answer everyday questions about your Discogs world: Releases and pressings in the catalog, Marketplace prices, and your own Collection and Wantlist.

  • "Which pressings of Kind of Blue exist, and how do they differ?"
  • "What does this Release cost on Discogs right now?"
  • "Do I have anything by Can? On vinyl or only on CD?"
  • "Which of my 50 most-played albums on Last.fm are not on my shelf yet?"
  • "What on my Wantlist is under 20 EUR right now?"

It runs on your machine over stdio, talks to the Discogs API with your own personal access token and stores nothing on disk.

The name follows the Discogs rule for applications built on its API ("… for Discogs"). The package and the command are both called runout-mcp.

Tools

Tool What it answers
discogs_search Find Releases (pressings), Masters, artists or labels in the catalog by free text, narrowed by artist, year, Format, country, catalog number or barcode
discogs_get_release The card of one Release: label, catalog number, Format, country, year, tracklist, have/want counts and Master; the detailed form adds matrix/runout, barcode and notes
discogs_list_master_releases Every Release of a Master, to compare the Releases of an album by country, year, label, catalog number and Format
discogs_get_prices The Lowest price, the number of copies for sale and the blocked-from-sale flag of 1 to 10 Releases
discogs_list_collection The Copies in your Collection, newest first, filtered by artist or title, by Discogs genre or style, by folder, with Format, genres and condition
discogs_collection_summary How many Copies each folder holds, and Discogs' minimum/median/maximum estimate of the Collection's value
discogs_match_collection Which of up to 200 albums from another source (Last.fm, Spotify, a pasted list) are in your Collection, on your Wantlist, possible matches or absent
discogs_list_wantlist The Wants on your Wantlist, newest first, filtered by artist or title and by Discogs genre or style
discogs_wantlist_prices The Lowest price of up to 30 Wants per call, cheapest first, optionally under a maximum price or of one genre or style
discogs_wantlist_add Adds a Release to your Wantlist; adding one that is already wanted changes nothing
discogs_wantlist_remove Removes a Want; marked destructive, so Claude asks you to confirm every call

And one prompt, identify_release, that walks Claude through finding the exact Release you hold from its barcode, catalog number and matrix/runout etchings.

No tool changes your Collection. A Lowest price is the cheapest current listing in any condition, excluding shipping: not a market value. There is no price watch; Discogs' own Wantlister sends alerts for your Wants.

Requirements

  • uv, which provides uvx.
  • A Discogs personal access token: open Discogs → Settings → Developers and click Generate new token. The server refuses to start without it, and finds your Discogs username from it.

Installation

There is nothing to install by hand: Claude starts the server with

uvx runout-mcp

which downloads the package from PyPI on first use and runs it in an isolated environment. Pin a version with uvx runout-mcp@0.1.0.

Claude Desktop

Claude Desktop does not see your shell PATH, so give it the absolute path to uvx: find it with which uvx (macOS) or where uvx (Windows). Open Settings → Developer → Edit Config, or edit the file directly:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "runout": {
      "command": "/absolute/path/to/uvx",
      "args": ["runout-mcp"],
      "env": { "DISCOGS_TOKEN": "your-personal-access-token" }
    }
  }
}

Restart Claude Desktop.

Claude Code

claude mcp add runout --scope user -e DISCOGS_TOKEN=your-personal-access-token \
  -- uvx runout-mcp

--scope user makes the server available in every project; leave it out to add it to the current project only. Check the connection with claude mcp list or /mcp inside Claude Code.

Then ask, for example: "Show me Discogs release 249504 in detail."

Configuration

The server reads its settings from the environment, which the Claude configuration above sets.

Environment variable Required Meaning
DISCOGS_TOKEN yes Your Discogs personal access token
DISCOGS_CURRENCY no Currency of prices: USD, GBP, EUR (default), CAD, AUD, JPY, CHF, MXN, BRL, NZD, SEK or ZAR. A tool call can still ask for another one.

How it treats your data

  • Nothing is stored on disk. Discogs data lives only in memory while the server runs: catalog lookups and prices for an hour, the Collection and the Wantlist for at most five minutes, and the first page of each is checked again on every call, so a Copy or Want you add on Discogs shows at once.
  • The token stays private. It is sent only to api.discogs.com and never appears in logs, tool output or error messages.
  • The server paces itself on the Discogs rate-limit headers and retries briefly when Discogs asks it to slow down.
  • Your Collection, Wantlist and prices reach Claude as tool results, like anything else you ask Claude about.

Development

Requires uv 0.13.x and just.

uv sync          # create .venv from uv.lock
just check       # ruff, mypy and pytest: the same command CI runs on Python 3.12–3.15
just fix         # apply ruff fixes and formatting
just serve       # run the server over stdio from the checkout (needs DISCOGS_TOKEN)

To try a local checkout in Claude, use uv run --directory /absolute/path/to/runout-mcp runout-mcp as the command. It runs the code as it is in the checkout; uvx --from would keep serving the build it cached first.

Tests build the server through create_server() and call its tools through FastMCP's in-memory client against a fake Discogs (httpx2.MockTransport) serving anonymized fixtures. No test touches the network.

Releasing

Pushing a version tag publishes the package to PyPI through Trusted Publishing: GitHub Actions proves its identity to PyPI with OIDC, so no PyPI token is stored anywhere.

  1. Set the new version in pyproject.toml and in both version fields of server.json, then run uv lock and commit.
  2. Tag and push: git tag -a v0.1.0 -m v0.1.0 && git push origin v0.1.0. The release workflow checks that the tag and both files name the same version, runs the checks, builds and publishes.
  3. Publish the entry to the MCP Registry once the version is on PyPI: mcp-publisher login github, then mcp-publisher publish.

One-time setup before the first release: on PyPI, add a pending trusted publisher for the project runout-mcp with owner badta5te, repository runout-mcp, workflow release.yml and environment pypi; on GitHub, create the pypi environment under Settings → Environments.

Discogs

Every response that contains Discogs data ends with "Data provided by Discogs" and a link to the data on discogs.com.

This application uses Discogs’ API but is not affiliated with, sponsored or endorsed by Discogs. ‘Discogs’ is a trademark of Zink Media, LLC.

License

Released under the MIT License. Copyright (c) 2026 Pavel Mikhailov.

Metadata

Release files for runout-mcp 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for runout-mcp 0.1.0
File Size Uploaded Provenance Actions
runout_mcp-0.1.0.tar.gz 35.0 kB Without provenance Details for runout_mcp-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for runout-mcp 0.1.0
File Interpreter ABI Platform Actions
runout_mcp-0.1.0-py3-none-any.whl Python 3 none any Details for runout_mcp-0.1.0-py3-none-any.whl

Total release size: 73.1 kB

Release files / runout_mcp-0.1.0.tar.gz

Download URL runout_mcp-0.1.0.tar.gz
Size 35.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3334f56de1019eee77fb43a2e809ed850d43ee6292c2a9ec2c5aaf4dad77a687
BLAKE2b-256 checksum
How to use checksums
53d72ad14b8f1cc07012dc9779ecaa360ee0c6a07a6e20b95f0bbbdb69be4704
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / runout_mcp-0.1.0-py3-none-any.whl

Download URL runout_mcp-0.1.0-py3-none-any.whl
Size 38.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4caf781bb0b5ada5da78009ff9903df8a34d0518af9177358f3eb4f2cc75a103
BLAKE2b-256 checksum
How to use checksums
00c90b84994498327445000904e63c2f03342dafe0455330be1769c440b7a89e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for runout-mcp 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page