Mmcp.market

Telegram MCP server

by jgalea·io.github.jgalea/telegram-mcp·v0.1.2

Telegram MCP server: read, send, and search messages and manage chats via your account.

B82/100grade B
What users say
No reviews yet
Be the first
Safety scan
B82/100

full report

Adoption
New

5 stars34 downloads/wk

Reviews

Write one

Nobody has reviewed Telegram yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Telegram tools

No tool declarations could be read from the package source. They show once the server is installed.

Public scan report

scanner v0.1.9 · 2026-09-26 · same rubric, same numbers if you re-run it

no findings
  • Code scan10 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 101 days ago8/15
  • Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Overall 82/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

What the publisher says

From the Telegram repository's README, as published. We do not edit it. Read it on GitHub

telegram-mcp

<!-- mcp-name: io.github.jgalea/telegram-mcp -->

Give your AI tools direct access to Telegram. Read chats, send messages, search history, manage groups, download media — all via the Model Context Protocol.

telegram-mcp is an MCP server that connects your Telegram account to Claude Code, Cursor, Windsurf, or any AI tool that supports MCP. Instead of switching to Telegram, you ask the AI to check your messages, reply to someone, or find that link from last week — and it does.

What makes this different:

  • Your real account. Uses MTProto (Telethon), not the Bot API. You see everything you'd see in the Telegram app — private chats, groups, channels, media.
  • 40 tools. Chats, messages, search, media, contacts, groups, channels, scheduling, reactions, admin tools, and more.
  • Passive caching. Messages are cached in local SQLite as you use the server. No explicit sync step — the cache builds itself. Gives you searchable history that grows over time.
  • Security first. Session files stored with restricted permissions. No credentials in config files. Rate limiting built in.

Quick Start

This is not a bot. There is no bot to add. No third party gives you a phone number. You log in as yourself, with the same phone number you already use for Telegram. If an AI tool tells you to "add a bot to give you a number", ignore it — and never share a Telegram login code with anyone, ever.

If you're asking Claude (or another AI agent) to install this for you: the agent can wire up the MCP server config and clone the repo, but the agent cannot complete the login step. Login is interactive — Telegram sends a code to your phone, and you type it into a terminal prompt yourself. You must run telegram-mcp login in a real terminal once, then the agent can use the server.

Install from PyPI

uv tool install telegram-mcp-jgalea

Or with pip:

pip install telegram-mcp-jgalea

Both provide the telegram-mcp command.

Install from source

git clone https://github.com/jgalea/telegram-mcp.git
cd telegram-mcp
uv sync

Authenticate

Run the login command once to create your Telegram session:

telegram-mcp login

You'll need a Telegram API ID and hash first. To get them:

  1. Go to my.telegram.org and log in with your phone number
  2. Click API development tools
  3. If you already have an app, use those credentials. Telegram only allows one API app per account, and the same apiid/apihash work for any Telegram project.
  4. If not, fill in the form: App title (e.g. "telegram-mcp"), Short name (anything), Platform: "Other". Description can be left blank. Click Create application.
  5. Copy the App apiid (a number) and App apihash (a hex string)

The login command will prompt for these if not already configured, then ask for:

  1. Your phone number
  2. The verification code Telegram sends you
  3. Your 2FA password (if enabled)

The session is saved to ~/.telegram-mcp/session.session. You only need to do this once.

Connect to Claude Code

Add to your MCP config (~/.claude.json):

{
  "mcpServers": {
    "telegram": {
      "command": "telegram-mcp",
      "args": ["serve"]
    }
  }
}

If installed from source:

{
  "mcpServers": {
    "telegram": {
      "command": "uv",
      "args": ["run", "--directory", "/path/to/telegram-mcp", "telegram-mcp", "serve"]
    }
  }
}

Troubleshooting

Tools return errors or empty results

You almost certainly haven't logged in yet. Installing the MCP server and logging into Telegram are two separate steps — installation alone is not enough. Run telegram-mcp login in a real terminal and complete the phone + code + 2FA flow. After that, restart Claude Code (or your MCP client) so the proxy picks up the new session.

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Install directly

claude mcp add telegram-mcp -- uvx telegram-mcp-jgalea
Add to Cursor

Telegram: common questions

Is Telegram MCP server safe?
Mostly: it is graded B (82/100). Read the Telegram safety report
How do I install Telegram?
It runs on your machine. Copy the Claude Code, Claude Desktop or Cursor config from the install section.
Does Telegram need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is Telegram maintained?
The last commit was 102 days ago (2026-06-17). The latest release is v0.1.2.
What can I use instead of Telegram?
Servers from other publishers that do the same job: Chatroost — unofficial Telegram MCP server, Apple Messages MCP server and iMessage History MCP server. Compare all Telegram alternatives.

Alternatives to Telegram

Same job from other publishers: the closest match first, then the best rated.

All Telegram alternatives →
  • Chatroost — unofficial Telegram MCP server
    Unofficial Telegram MCP server — read, search, reply and react in your own Telegram account.
    A
  • Apple Messages
    Search and read Apple Messages — chats and decoded text, sending off by default
    A
  • iMessage History
    Search and read your Apple Messages history from any MCP client. Read-only, local.
    A
  • Tenjin
    Search, read & publish paid essays. Pay-per-read in USDC on Base (x402); wallet-only, no account.
    B
  • Apple Mail
    Read, search, compose, and send emails via Apple Mail on macOS.
    A

More from jgalea →