Skip to main content

Discord MCP

Discord Message Context Provider for Claude - Enables Claude to search and access Discord messages through the Model Context Protocol (MCP).

Features

  • Connect Claude to your Discord messages using MCP
  • Search messages with BM25 relevance scoring
  • Export Discord channels using DiscordChatExporter
  • Web UI for configuration and monitoring
  • Docker support for containerized deployment

Installation

pipx install discord-mcp

Using pip

pip install discord-mcp

Usage

Setting up Claude Desktop

Configure Claude Desktop to connect to the Discord MCP server by adding the following to your claude_desktop_config.json:

{
  "mcpServers": {
    "discord-mcp": {
      "command": "pipx",
      "args": [
        "run", 
        "discord-mcp"
      ],
      "env": {
        "DISCORD_DATA_URL": "http://your-server-ip:8081"
      }
    }
  }
}

Running the MCP Server

discord-mcp

Running the Web UI

discord-webui

Configuration

Create a .env file with the following variables:

DISCORD_DATA_DIR=/absolute/path/to/discord_data
DISCORD_USER_TOKEN=your_discord_token
DISCORD_WEBUI_PORT=8080
DISCORD_WEBUI_HOST=0.0.0.0

Important: DISCORD_DATA_DIR must be an absolute path, especially when running in read-only environments like Claude Desktop with pipx.

Docker Deployment

docker-compose up -d

License

MIT

Metadata

Release files for discord-mcp 0.1.5

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

Source distribution (sdist)

Source distribution for discord-mcp 0.1.5
File Size Uploaded Provenance Actions
discord_mcp-0.1.5.tar.gz 81.8 kB Without provenance Details for discord_mcp-0.1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for discord-mcp 0.1.5
File Interpreter ABI Platform Actions
discord_mcp-0.1.5-py3-none-any.whl Python 3 none any Details for discord_mcp-0.1.5-py3-none-any.whl

Total release size: 175.4 kB

Release files / discord_mcp-0.1.5.tar.gz

Download URL discord_mcp-0.1.5.tar.gz
Size 81.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c6d1cbb81bb86e69d13e383ca69789c4ce59631e37c9904f03d2c5feef62b1a3
BLAKE2b-256 checksum
How to use checksums
9891eb764f1e5cd66b1fa480e2cc9b0119d8ad3fc6820f83a2543e0e4f287b39
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.1

Release files / discord_mcp-0.1.5-py3-none-any.whl

Download URL discord_mcp-0.1.5-py3-none-any.whl
Size 93.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
39a57aef459a6f835e33fb1f0cd0b51d47ab639da997a189139ba2a8b498647a
BLAKE2b-256 checksum
How to use checksums
c042f29eb6b67b46f0e8aa3b11d3304f7788f7c7ecd1279c32c31e1b93ad2cda
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.1

Security for discord-mcp 0.1.5

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.

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