Search and read your archived Telegram chats and messages
registry version 0.4.2
npm
npx -y telegram-archive-mcpnpm
npx -y telegram-archive-mcp@0.4.2Docker
docker run -i --rm drumsergio/telegram-archive-mcp:v0.4.2
Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.
claude_desktop_config.json
{
"mcpServers": {
"telegram-archive-mcp": {
"command": "npx",
"args": [
"-y",
"telegram-archive-mcp"
],
"env": {
"TELEGRAM_ARCHIVE_URL": "<YOUR_TELEGRAM_ARCHIVE_URL>",
"TELEGRAM_ARCHIVE_PASS": "<YOUR_TELEGRAM_ARCHIVE_PASS>"
}
}
}
}{
"mcpServers": {
"telegram-archive-mcp": {
"command": "npx",
"args": [
"-y",
"telegram-archive-mcp@0.4.2"
],
"env": {
"TELEGRAM_ARCHIVE_URL": "<YOUR_TELEGRAM_ARCHIVE_URL>",
"TELEGRAM_ARCHIVE_PASS": "<YOUR_TELEGRAM_ARCHIVE_PASS>"
}
}
}
}Format verified against the official Claude Desktop docs ↗.
terminal
claude mcp add --env TELEGRAM_ARCHIVE_URL=<YOUR_TELEGRAM_ARCHIVE_URL> --env TELEGRAM_ARCHIVE_PASS=<YOUR_TELEGRAM_ARCHIVE_PASS> telegram-archive-mcp -- npx -y telegram-archive-mcp
claude mcp add --env TELEGRAM_ARCHIVE_URL=<YOUR_TELEGRAM_ARCHIVE_URL> --env TELEGRAM_ARCHIVE_PASS=<YOUR_TELEGRAM_ARCHIVE_PASS> telegram-archive-mcp -- npx -y telegram-archive-mcp@0.4.2
Format verified against the official Claude Code docs ↗.
.cursor/mcp.json
{
"mcpServers": {
"telegram-archive-mcp": {
"command": "npx",
"args": [
"-y",
"telegram-archive-mcp"
],
"env": {
"TELEGRAM_ARCHIVE_URL": "<YOUR_TELEGRAM_ARCHIVE_URL>",
"TELEGRAM_ARCHIVE_PASS": "<YOUR_TELEGRAM_ARCHIVE_PASS>"
}
}
}
}{
"mcpServers": {
"telegram-archive-mcp": {
"command": "npx",
"args": [
"-y",
"telegram-archive-mcp@0.4.2"
],
"env": {
"TELEGRAM_ARCHIVE_URL": "<YOUR_TELEGRAM_ARCHIVE_URL>",
"TELEGRAM_ARCHIVE_PASS": "<YOUR_TELEGRAM_ARCHIVE_PASS>"
}
}
}
}Format verified against the official Cursor docs ↗.
.vscode/mcp.json
{
"servers": {
"telegram-archive-mcp": {
"command": "npx",
"args": [
"-y",
"telegram-archive-mcp"
],
"env": {
"TELEGRAM_ARCHIVE_URL": "<YOUR_TELEGRAM_ARCHIVE_URL>",
"TELEGRAM_ARCHIVE_PASS": "<YOUR_TELEGRAM_ARCHIVE_PASS>"
}
}
}
}{
"servers": {
"telegram-archive-mcp": {
"command": "npx",
"args": [
"-y",
"telegram-archive-mcp@0.4.2"
],
"env": {
"TELEGRAM_ARCHIVE_URL": "<YOUR_TELEGRAM_ARCHIVE_URL>",
"TELEGRAM_ARCHIVE_PASS": "<YOUR_TELEGRAM_ARCHIVE_PASS>"
}
}
}
}Format verified against the official VS Code docs ↗.
mcp_config.json
{
"mcpServers": {
"telegram-archive-mcp": {
"command": "npx",
"args": [
"-y",
"telegram-archive-mcp"
],
"env": {
"TELEGRAM_ARCHIVE_URL": "<YOUR_TELEGRAM_ARCHIVE_URL>",
"TELEGRAM_ARCHIVE_PASS": "<YOUR_TELEGRAM_ARCHIVE_PASS>"
}
}
}
}{
"mcpServers": {
"telegram-archive-mcp": {
"command": "npx",
"args": [
"-y",
"telegram-archive-mcp@0.4.2"
],
"env": {
"TELEGRAM_ARCHIVE_URL": "<YOUR_TELEGRAM_ARCHIVE_URL>",
"TELEGRAM_ARCHIVE_PASS": "<YOUR_TELEGRAM_ARCHIVE_PASS>"
}
}
}
}Format verified against the official Windsurf docs ↗.
Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.
TELEGRAM_ARCHIVE_URL required — Telegram Archive instance URL (e.g. http://localhost:8000)TELEGRAM_ARCHIVE_USER — Telegram Archive login usernameTELEGRAM_ARCHIVE_PASS secret — Telegram Archive login passwordREAD_ONLY — Set to true to hide refresh_stats, the one tool that asks the viewer to do work⭐ 6 stars · 最近更新于 45 天前 · GPL-3.0 license
Distributed as npm, Docker, listed under Communication. Review our MCP security guide before granting access to real data.
Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.
The MCP server itself is free to install. The source is public on https://github.com/GeiserX/telegram-archive-mcp. Any third-party service it calls may require its own API key and account.
Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.
Publish this server? Link back with a badge on your README or site — copy either snippet.
Markdown
[](https://mcpnav.net/server/telegram-archive-mcp/)
HTML
<a href="https://mcpnav.net/server/telegram-archive-mcp/"><img src="https://mcpnav.net/badge/telegram-archive-mcp.svg" alt="Listed on MCPNav" height="20"></a>