melty
MCP server with FTS5 full-text search over a SQLite export of a discord server.
README
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 ID
Export 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.ts
Run the MCP server
bun run mcp
Or configure it in your MCP client:
{
"mcp": {
"melty-discord": {
"command": "bun",
"args": ["run", "./src/mcp-server.ts"],
"type": "stdio"
}
}
}
MCP Tools
| Tool | Description |
|---|---|
search |
Full-text search across conversation threads (FTS5 with BM25 ranking). Start here. |
get_thread |
Read full text of a thread by ID. Use after search. |
channel_search |
Same as search but scoped to a specific channel. |
get_messages |
Paginated raw message access within a channel, newest-first. |
list_channels |
All channels with message counts, grouped by category. |
stats |
Database statistics: total messages, threads, authors, date range. |
query |
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).
<p align="center"> <img src="https://raw.githubusercontent.com/taciturnaxolotl/carriage/main/.github/images/line-break.svg" /> </p>
<p align="center"> <i><code>© 2026-present <a href="https://dunkirk.sh">Kieran Klukas</a></code></i> </p>
<p align="center"> <a href="https://tangled.org/dunkirk.sh/melty/blob/main/LICENSE.md"><img src="https://img.shields.io/static/v1.svg?style=for-the-badge&label=License&message=MIT&logoColor=d9e0ee&colorA=363a4f&colorB=b7bdf8"/></a> </p>
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.