melty
Provides full-text search and retrieval of messages and threads from a Discord server exported to SQLite. Tools include search, get_thread, channel_search, get_messages, list_channels, and stats.
Provides read-only SQL query access to the underlying SQLite database containing exported Discord messages, enabling custom data exploration.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
melty
MCP server with FTS5 full-text search over a SQLite export of a discord server.
The canonical repo is hosted on Tangled at dunkirk.sh/melty.
Setup
bun install
cp .env.example .env
# Edit .env with your Discord token and guild IDExport Discord data
bun run export # Exports messages to discord-export/melty.db (resumable)After export completes, build the thread index:
bun run src/build-threads.tsRun the MCP server
bun run mcpOr configure it in your MCP client:
{
"mcp": {
"melty-discord": {
"command": "bun",
"args": ["run", "./src/mcp-server.ts"],
"type": "stdio"
}
}
}Related MCP server: Discord Message Finder MCP
MCP Tools
Tool | Description |
| Full-text search across conversation threads (FTS5 with BM25 ranking). Start here. |
| Read full text of a thread by ID. Use after |
| Same as |
| Paginated raw message access within a channel, newest-first. |
| All channels with message counts, grouped by category. |
| Database statistics: total messages, threads, authors, date range. |
| Raw read-only SQL against the database. Escape hatch. |
Search syntax
Supports FTS5 query syntax:
word— matches any thread containing "word""exact phrase"— exact phrase matchsearch*— prefix matchapple AND banana— both terms requiredapple OR banana— either termapple NOT banana— exclude term
Optional filters: after/before (ISO-8601 timestamps), author (name substring).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Search your AI chat history (ChatGPT, Claude, Codex) from any MCP client. Remote, private, read-only
An MCP server that provides congressional transcripts
MCP server for querying Forkast documentation
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceDrop-in MCP server template with SQLite FTS5 search backend. ~300 lines, no vector DB, no embedding API, runs on a Pi.MIT
- AlicenseAqualityDmaintenanceRead-only MCP server for finding Discord messages. It enables searching guild messages, locating messages from jump URLs, and reading context around results.71MIT
- AlicenseAqualityDmaintenancePersistent memory MCP server with FTS5 fuzzy search, storing data in SQLite with automatic maintenance and token-efficient TOON output.312 npm1MIT
- AlicenseAqualityBmaintenanceMCP server for local knowledge management with Markdown and PDF indexing using SQLite FTS5.59 npm2MIT