
Bridges your Telegram Archive instance to Claude over MCP, exposing message search, chat browsing, and archive statistics as tools and resources. You get search_messages, get_messages, get_pinned_messages, and date-based retrieval alongside read-only URIs for stats, chats, and folders. Built in Go with both stdio and HTTP transports. Auth uses session cookies from the Archive's login endpoint, or bearer tokens for HTTP mode. Useful when you need Claude to dig through archived Telegram history without switching contexts. Requires an existing Telegram Archive deployment, the standalone archival tool from nicmart-dev that backs up messages locally with a web viewer.
An MCP server for any Telegram-Archive instance. LLMs use it to search messages, browse chats and read archived Telegram history.
telegram-archive://stats, telegram-archive://chats).get_messages_by_date).get_media)./api/login with TELEGRAM_ARCHIVE_USER and TELEGRAM_ARCHIVE_PASS./mcp) over HTTP, or stdio with TRANSPORT=stdio.MCP_AUTH_TOKEN adds bearer auth when you expose it.npx telegram-archive-mcp) and multi-arch Go binaries.npx telegram-archive-mcp
npx fetches the server and runs it on stdio, so your MCP client starts it for you. For Claude Desktop, Cursor or Claude Code, add:
{
"mcpServers": {
"telegram-archive": {
"command": "npx",
"args": ["-y", "telegram-archive-mcp"],
"env": {
"TELEGRAM_ARCHIVE_URL": "http://localhost:8000",
"TELEGRAM_ARCHIVE_USER": "admin",
"TELEGRAM_ARCHIVE_PASS": "your-viewer-password"
}
}
}
}
Set the URL, user and password of your Telegram-Archive viewer. Docker Compose (HTTP on 127.0.0.1:8080) and local builds are in Getting started.
The full documentation is at geiserx.github.io/telegram-archive-mcp.
TELEGRAM_ARCHIVE_URL*Telegram Archive instance URL (e.g. http://localhost:3000)
TELEGRAM_ARCHIVE_USERTelegram Archive login username
TELEGRAM_ARCHIVE_PASSsecretTelegram Archive login password
adelaidasofia/slack-mcp