MCP Server Studio

Telegram Archive MCP server

Search and read your archived Telegram chats and messages

Registry name: io.github.GeiserX/telegram-archive-mcp

Publisher
GeiserX
Runs
Runs locally
Package
npm, Docker
Version
0.4.2
Category
Communication
Updated
2026-11-12

Source code on GitHub

Set up Telegram Archive (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "telegram-archive-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "TELEGRAM_ARCHIVE_URL": "<TELEGRAM_ARCHIVE_URL>",
        "TELEGRAM_ARCHIVE_USER": "<TELEGRAM_ARCHIVE_USER>",
        "TELEGRAM_ARCHIVE_PASS": "<TELEGRAM_ARCHIVE_PASS>",
        "READ_ONLY": "<READ_ONLY>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add telegram-archive-mcp -e TELEGRAM_ARCHIVE_URL='<TELEGRAM_ARCHIVE_URL>' -e TELEGRAM_ARCHIVE_USER='<TELEGRAM_ARCHIVE_USER>' -e TELEGRAM_ARCHIVE_PASS='<TELEGRAM_ARCHIVE_PASS>' -e READ_ONLY='<READ_ONLY>' -- npx -y [email protected]

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "telegram-archive-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "TELEGRAM_ARCHIVE_URL": "<TELEGRAM_ARCHIVE_URL>",
        "TELEGRAM_ARCHIVE_USER": "<TELEGRAM_ARCHIVE_USER>",
        "TELEGRAM_ARCHIVE_PASS": "<TELEGRAM_ARCHIVE_PASS>",
        "READ_ONLY": "<READ_ONLY>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "telegram-archive-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "TELEGRAM_ARCHIVE_URL": "<TELEGRAM_ARCHIVE_URL>",
        "TELEGRAM_ARCHIVE_USER": "<TELEGRAM_ARCHIVE_USER>",
        "TELEGRAM_ARCHIVE_PASS": "<TELEGRAM_ARCHIVE_PASS>",
        "READ_ONLY": "<READ_ONLY>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "telegram-archive-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "TELEGRAM_ARCHIVE_URL": "<TELEGRAM_ARCHIVE_URL>",
        "TELEGRAM_ARCHIVE_USER": "<TELEGRAM_ARCHIVE_USER>",
        "TELEGRAM_ARCHIVE_PASS": "<TELEGRAM_ARCHIVE_PASS>",
        "READ_ONLY": "<READ_ONLY>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
TELEGRAM_ARCHIVE_URLYesTelegram Archive instance URL (e.g. http://localhost:8000)
TELEGRAM_ARCHIVE_USERNoTelegram Archive login username
TELEGRAM_ARCHIVE_PASSNoTelegram Archive login password
READ_ONLYNoSet to true to hide refresh_stats, the one tool that asks the viewer to do work
TELEGRAM_ARCHIVE_URLYesTelegram Archive instance URL (e.g. http://localhost:8000)
TELEGRAM_ARCHIVE_USERNoTelegram Archive login username
TELEGRAM_ARCHIVE_PASSNoTelegram Archive login password
READ_ONLYNoSet to true to hide refresh_stats, the one tool that asks the viewer to do work

More communication MCP servers