MCP server for Telegram Archive — search messages, browse chats, and access history
telegram-archive://stats, telegram-archive://chats).get_messages_by_date)./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.
Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
npx -y telegram-archive-mcpMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"io-github-geiserx-telegram-archive-mcp": {
"command": "npx",
"args": [
"-y",
"telegram-archive-mcp"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.
Claude Desktop setup referencetelegram-archive-mcpnpmio.github.GeiserX/telegram-archive-mcp works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.