Telegram Archive MCP Server

MCP server for Telegram Archive — search and browse Telegram chat history via the Model Context Protocol

Local serverstdioGo

What is the Telegram Archive MCP MCP server?

MCP server for Telegram Archive — search and browse Telegram chat history via the Model Context Protocol. That is what the telegram archive mcp mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.

The short version

A tiny bridge that exposes any Telegram-Archive instance as an MCP server, enabling LLMs to search messages, browse chats, and access archived Telegram history.

The tools it exposes

The server publishes 11 tools. What each one is for:

  • Type — What for
  • Resources — Browse archive stats, chats, and folders read-only
  • Tools — Search and retrieve messages, inspect chat statistics
  • Variable — Default
  • TELEGRAM_ARCHIVE_URLhttp://localhost:3000
  • TELEGRAM_ARCHIVE_USER(empty)
  • TELEGRAM_ARCHIVE_PASS(empty)
  • LISTEN_ADDR — 127.0.0.1:8080
  • MCP_AUTH_TOKEN(empty)
  • TRANSPORT(empty = HTTP)
  • Project — Description

Getting it running

The server ships on npm as telegram-archive-mcp, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

What it needs from you

Configuration is passed through the environment: TELEGRAM_ARCHIVE_URL, MCP_AUTH_TOKEN. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

How it compares

Among the team communication options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Telegram Archive MCP's toolset — Type, Resources, Tools and 8 more — is a fair guide to whether it matches your workflow. It is maintained by geiserx; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Telegram Archive MCP's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 11 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Telegram Archive MCP.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
TypeWhat for
ResourcesBrowse archive stats, chats, and folders read-only
ToolsSearch and retrieve messages, inspect chat statistics
VariableDefault
TELEGRAM_ARCHIVE_URLhttp://localhost:3000
TELEGRAM_ARCHIVE_USER_(empty)_
TELEGRAM_ARCHIVE_PASS_(empty)_
LISTEN_ADDR127.0.0.1:8080
MCP_AUTH_TOKEN_(empty)_
TRANSPORT_(empty = HTTP)_
ProjectDescription

How to install the Telegram Archive MCP MCP server

{
  "mcpServers": {
    "telegram-archive": {
      "command": "npx",
      "args": ["-y", "telegram-archive-mcp"],
      "env": {
        "TELEGRAM_ARCHIVE_URL": "your-value",
        "MCP_AUTH_TOKEN": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
TELEGRAM_ARCHIVE_URLEndpoint or connection string the server talks to.Yes
MCP_AUTH_TOKENCredential the server authenticates with.Yes

Example prompts to try

  • Use Telegram Archive MCP to Type.
  • Use Telegram Archive MCP to Resources.
  • Use Telegram Archive MCP to Tools.

Frequently asked questions

It connects Telegram Archive MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 11 tools (Type, Resources, Tools, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Telegram Archive MCP directly.