Discogs MCP Server
The Discogs MCP Server provides comprehensive access to the Discogs API for managing music catalogs, collections, and marketplace operations:
Database Access: Search and retrieve detailed information about releases, artists, labels, and master releases
Collection Management: Create, edit, and delete folders; add, rate, move, or remove releases; view collection value (minimum, median, maximum)
Wantlist Operations: View, add, edit, and delete items in your wantlist
Marketplace Activities: Manage inventory listings, handle orders, change order status, add messages, and export inventory as CSV
User Interactions: Access user profiles, authenticated identity information, submissions, and contributions
Community Features: View and edit ratings, access user-created lists, and fetch images by URL
Customization: Manage custom fields and notes for collection items
Enables music catalog operations, search functionality, and collection management through the Discogs API. Allows for viewing, editing, and managing data in your Discogs collection.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Discogs MCP Server search for Radiohead albums in my collection"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Discogs MCP Server
MCP Server for the Discogs API, enabling music catalog operations, search functionality, and more.
Quickstart
If you just want to get started immediately using this MCP Server with the Claude desktop app and don't care about development or running the server yourself, then make sure you have Node.js installed and your Discogs personal access token ready and skip straight to the Claude configuration section. Use the NPX method from that section.
Related MCP server: Discogs MCP Server
Table of Contents
Acknowledgements
This MCP server is built using FastMCP, a typescript framework for building MCP servers. For more information about MCP and how to use MCP servers, please refer to the FastMCP documentation and the official MCP documentation.
Available Tools
Check out the list of available tools: TOOLS.md
Caveats
The Discogs API documentation is not perfect and some endpoints may not be fully documented or may have inconsistencies.
Due to the vast number of API endpoints and response types, it's not feasible to verify type safety for every possible response. Please report any type-related issues you encounter.
This MCP server allows for editing data in your Discogs collection. Please use with caution and verify your actions before executing them.
The Discogs API
per_pagedefault is50, which can be too much data for some clients to process effectively, so within this project adiscogs.config.defaultPerPagevalue has been set to5. You can request more data in your prompts, but be aware that some clients may struggle with larger responses.
Prerequisites
Node.js (tested with Node.js
20.x.x, but18.x.xshould work as well)Check your Node.js version with:
node --version
Docker (optional, for running a local docker image without having to deal with Node or dependencies)
Setup
Clone the repository
Create a
.envfile in the root directory based on.env.exampleSet the following required environment variables in your
.env:DISCOGS_PERSONAL_ACCESS_TOKEN: Your Discogs personal access token
To get your Discogs personal access token, go to your Discogs Settings > Developers page and find your token or generate a new one. DO NOT SHARE YOUR TOKEN. OAuth support will be added in a future release.
The other environment variables in .env.example are optional and have sensible defaults, so you don't need to set them unless you have specific requirements.
SERVER_HOST: The host address to bind the server to (default:0.0.0.0). Set to0.0.0.0to allow connections from outside the container/machine, or127.0.0.1to restrict to localhost only.
Running the Server Locally
Option 1: Local Development
Install dependencies:
pnpm installAvailable commands:
pnpm run dev: Start the development server with hot reloadingpnpm run dev:stream: Start the development server with hot reloading in HTTP streaming modepnpm run build: Build the production versionpnpm run start: Run the production buildpnpm run inspect: Run the MCP Inspector (see Inspection section)pnpm run format: Check code formatting (prettier)pnpm run lint: Run linter (eslint)pnpm run test: Run vitestpnpm run test:coverage: Run vitest v8 coveragepnpm run version:check: Checks that the package.json version and src/version.ts match
Option 2: Docker
Build the Docker image:
docker build -t discogs-mcp-server:latest .Run the container:
docker run --env-file .env discogs-mcp-server:latestFor HTTP Streaming transport mode:
# The port should match what is in your .env file # By default, the server listens on 0.0.0.0, allowing connections from outside the container docker run --env-file .env -p 3001:3001 discogs-mcp-server:latest stream
Inspection
Run the MCP Inspector to test your local MCP server:
pnpm run inspectThis will start the MCP Inspector at http://127.0.0.1:6274. Visit this URL in your browser to interact with your local MCP server.
For more information about the MCP Inspector, visit the official documentation.
MCP Clients
More client examples will be added in the future. If you'd like configuration for a specific client, either request it by opening a new issue or creating the pull request to edit this section of the README yourself.
Claude Desktop Configuration
Find your claude_desktop_config.json at Claude > Settings > Developer > Edit Config and depending on which option you'd like, add JUST ONE of the following:
NPX
Running it straight from the npm registry.
{
"mcpServers": {
"discogs": {
"command": "npx",
"args": [
"-y",
"discogs-mcp-server"
],
"env": {
"DISCOGS_PERSONAL_ACCESS_TOKEN": "<YOUR_TOKEN>"
}
}
}
}Local Node
Dependencies should have been installed before you use this method (pnpm install).
{
"mcpServers": {
"discogs": {
"command": "npx",
"args": [
"tsx",
"/PATH/TO/YOUR/PROJECT/FOLDER/src/index.ts"
],
"env": {
"DISCOGS_PERSONAL_ACCESS_TOKEN": "<YOUR_TOKEN>"
}
}
}
}Docker
The docker image should have been built before using this method.
{
"mcpServers": {
"discogs": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"--env-file",
"/PATH/TO/YOUR/PROJECT/FOLDER/.env",
"discogs-mcp-server:latest"
]
}
}
}Any changes to local code will require Claude to be restarted to take effect. Also, Claude requires human-in-the-loop interaction to allow an MCP tool to be run, so everytime a new tool is accessed Claude will ask for permission. You usually only have to do this once per tool per chat. If using the free version, long chats may result in more frequent errors trying to run tools as Claude limits the amount of context within a single chat.
LibreChat
In the librechat.yaml configuration file, add this under the mcpServers section:
discogs:
type: stdio
command: npx
args: ["-y", "discogs-mcp-server"]
env:
DISCOGS_PERSONAL_ACCESS_TOKEN: YOUR_TOKEN_GOES_HERELM Studio
Get to the Chat Settings. In the Program tab there will be a dropdown with a default of Install. Select Edit mcp.json. Add this under the mcpServers section:
"discogs": {
"command": "npx",
"args": [
"-y",
"discogs-mcp-server"
],
"env": {
"DISCOGS_PERSONAL_ACCESS_TOKEN": "YOUR_TOKEN_GOES_HERE"
}
}After you Save, in the Program tab there should now be an mcp/discogs toggle to enable the server. Within every chat box there is an Integrations menu where you can also enable mcp servers.
TODO
OAuth support
Missing tools:
Inventory uploading
License
This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.
Available Tools
53 toolsadd_release_to_user_collection_folderC
Add a release to a folder in a user's collection. The folder_id must be non-zero.
Inputs: username (required), folder_id (required), release_id (required).
add_to_wantlistC
Add a release to a user's wantlist
Inputs: username (required), release_id (required), notes, rating.
create_marketplace_listingC
Create a new marketplace listing
Inputs: release_id (required), condition (required), price (required), status (required), +7 more.
create_marketplace_order_messageC
Adds a new message to the order's message log
Inputs: order_id (required), message, status.
create_user_collection_folderC
Create a new folder in a user's collection
Inputs: username (required), name.
delete_item_in_wantlistC
Delete a release from a user's wantlist
Inputs: username (required), release_id (required), notes, rating.
delete_marketplace_listingC
Delete a marketplace listing
Inputs: listing_id (required).
delete_release_from_user_collection_folderC
Remove an instance of a release from a user's collection folder. The folder_id must be non-zero.
Inputs: username (required), folder_id (required), release_id (required), instance_id (required).
delete_release_ratingC
Deletes the release's rating for a given user
Inputs: username (required), release_id (required).
delete_user_collection_folderA
Delete a folder from a user's collection. A folder must be empty before it can be deleted.
Inputs: username (required), folder_id (required).
download_inventory_exportC
Download an inventory export as a CSV
Inputs: id (required).
edit_item_in_wantlistC
Edit a release in a user's wantlist
Inputs: username (required), release_id (required), notes, rating.
edit_marketplace_orderC
Edit a marketplace order
Inputs: order_id (required), status, shipping.
edit_release_ratingC
Updates the release's rating for a given user
Inputs: username (required), release_id (required), rating (required).
edit_user_collection_custom_field_valueC
Edit a custom field value for a release in a user's collection
Inputs: username (required), folder_id (required), value (required), release_id (required), +2 more.
edit_user_collection_folderA
Edit a folder's metadata. Folders 0 and 1 cannot be renamed.
Inputs: username (required), folder_id (required), name.
edit_user_profileC
Edit a user's profile data
Inputs: username (required), name, home_page, location, +2 more.
fetch_imageC
Fetch an image by URL
Inputs: url (required).
find_release_in_user_collectionC
Find a release in a user's collection
Inputs: username (required), release_id (required), page, per_page, +2 more.
get_artistD
Get an artist
Inputs: artist_id (required).
get_artist_releasesC
Get an artist's releases
Inputs: artist_id (required), page, per_page, sort, +1 more.
get_inventory_exportC
Get details about an inventory export
Inputs: id (required).
get_inventory_exportsC
Get a list of all recent exports of your inventory
Inputs: no named parameters.
get_labelD
Get a label
Inputs: label_id (required).
get_label_releasesC
Returns a list of Releases associated with the label
Inputs: label_id (required), page, per_page, sort, +1 more.
get_listC
Get a list by ID
Inputs: list_id (required).
get_marketplace_listingC
Get a listing from the marketplace
Inputs: listing_id (required), curr_abbr.
get_marketplace_orderD
Get a marketplace order
Inputs: order_id (required).
get_marketplace_order_messagesC
Get a list of an order's messages
Inputs: order_id (required), page, per_page, sort, +1 more.
get_marketplace_ordersC
Get a list of marketplace orders
Inputs: status, created_after, created_before, archived, +4 more.
get_marketplace_release_statsC
Retrieve marketplace statistics for the provided Release ID
Inputs: release_id (required), curr_abbr.
get_master_releaseD
Get a master release
Inputs: master_id (required).
get_master_release_versionsC
Retrieves a list of all Releases that are versions of this master
Inputs: master_id (required), format, label, released, +5 more.
get_releaseD
Get a release
Inputs: release_id (required), curr_abbr.
get_release_community_ratingC
Retrieves the release community rating average and count
Inputs: release_id (required).
get_release_rating_by_userC
Retrieves the release's rating for a given user
Inputs: username (required), release_id (required).
get_user_collection_custom_fieldsB
Retrieve a list of user-defined collection notes fields. These fields are available on every release in the collection.
Inputs: username (required).
get_user_collection_folderC
Retrieve metadata about a folder in a user's collection
Inputs: username (required), folder_id (required).
get_user_collection_foldersC
Retrieve a list of folders in a user's collection
Inputs: username (required).
get_user_collection_itemsC
Retrieve a list of items in a user's collection
Inputs: username (required), folder_id (required), page, per_page, +2 more.
get_user_collection_valueB
Returns the minimum, median, and maximum value of a user's collection
Inputs: username (required).
get_user_contributionsC
Retrieve a user's contributions by username
Inputs: username (required), page, per_page, sort, +1 more.
get_user_identityA
Retrieve basic information about the authenticated user
Inputs: no named parameters.
get_user_inventoryC
Returns the list of listings in a user's inventory
Inputs: username (required), status, page, per_page, +2 more.
get_user_listsC
Get a user's lists
Inputs: username (required), page, per_page, sort, +1 more.
get_user_profileC
Retrieve a user by username
Inputs: username (required).
get_user_submissionsC
Retrieve a user's submissions by username
Inputs: username (required).
get_user_wantlistC
Returns the list of releases in a user's wantlist
Inputs: username (required), page, per_page, sort, +1 more.
inventory_exportA
Request an export of your inventory as a CSV
Inputs: no named parameters.
move_release_in_user_collectionC
Move a release in a user's collection to another folder
Inputs: username (required), folder_id (required), release_id (required), instance_id (required), +1 more.
rate_release_in_user_collectionC
Rate a release in a user's collection. The folder_id must be non-zero.
Inputs: username (required), folder_id (required), release_id (required), instance_id (required), +1 more.
searchC
Issue a search query to the Discogs database
Inputs: q, type, title, release_title, +18 more.
update_marketplace_listingC
Update a marketplace listing
Inputs: listing_id (required), release_id (required), condition (required), price (required), +8 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 53 tools
Each tool targets a distinct action on a specific resource (artist, release, marketplace, collection, etc.), with clear boundaries. Even overlapping areas like ratings are separated by context (community vs user, collection vs general).
Most tools follow a consistent verb_noun pattern (get_, create_, delete_, edit_, update_). Minor deviations: 'inventory_export' as a noun, 'fetch_image' instead of 'get_image', and a few others. Still, the pattern is clear overall.
53 tools is quite high for an MCP server, likely exceeding the typical comfortable range. However, the Discogs API is extensive with many entities, so the number is justified but feels heavy and may require careful organization.
The toolset covers most major Discogs functionality: artists, labels, releases, marketplace listings/orders, user collection, wantlist, inventory, search, and user profile. Missing delete for marketplace orders and some write operations for entities that are read-only, but overall it's well-rounded.
Maintenance
Related MCP Connectors
Discogs MCP server for ChatGPT, Claude and any AI agent: search releases, list copies for sale, add release to collection, add release to wantlist, reprice listing, update order status and message buyer in your own Discogs account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to Discogs yourself; Cotlet does not store your password and you need no Discogs API key. About the official Discogs API: Discogs has a full REST API, version 2, that covers the database, collections, wantlists, marketplace inventory and orders, but no official MCP server (checked 17 Oct 2026). Authenticated requests are limited to 60 per minute and unauthenticated ones to 25. Setup and FAQ: https://cotlet.dev/integrations/discogs-api-mcp-server
Scrape Discogs music releases, artists, labels, formats and catalogue numbers. Pay per row.
Music industry tools for AI agents: artist research, catalogs, release plans and content.
Search MusicBrainz artists, releases, works, labels; resolve ISRC/ISWC/barcode; fetch cover art.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables querying music discography data from Discogs, including master releases, artist profiles, and label information.88 npm1MIT
- AlicenseNot gradedqualityNot gradedmaintenanceEnables AI assistants to search, manage, and analyze personal Discogs music collections with features like mood-based recommendations, advanced search, and collection analytics.MIT
- FlicenseBqualityCmaintenanceEnables AI assistants to manage Discogs collections and search live eBay vinyl listings through natural language, handling API calls for collection, wantlist, profile, and marketplace operations.49-
- AlicenseNot gradedqualityNot gradedmaintenanceEnables AI assistants to query and manage a Discogs music collection in natural language, including collection and catalog search, statistics, recommendations, wantlist and folder updates, ratings, and custom fields. It authenticates with Discogs via OAuth and caches a collection snapshot to answer many queries quickly.MIT