# Telegram channels

> Telegram channels is an MCP server for communication. Read, search and analyze Telegram channels from your account, post with preview. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Platforms:** CLI, macOS, Windows, Linux
- **Repository:** https://github.com/kochurin/telegram-channels-mcp
- **MCP Registry name:** io.github.Kochurin/telegram-channels-mcp
- **Categories:** [communication](https://ai-powered.com/categories/communication), [analytics and data](https://ai-powered.com/categories/analytics-and-data)
- **Listing updated:** 2026-11-23

## About

This server connects Claude to your own Telegram account through the Telegram user API, so it sees what you see in the app: public channels, your private channels and groups, and the comments under posts. The session file stays on your computer.

You can ask it to summarise a channel, search for old posts, pull channel statistics such as subscribers, average views and best post, rank posts by reactions or views, and read comments to draft replies.

Publishing is deliberately slow. Posting and replying return a preview and a one-time token, and only repeat after your yes, tied to the exact text, channel and image. Read-only mode removes the write tools, and there are no tools for private messages, editing or deleting.

## Features

- **Channel reading:** Latest posts with views, reactions, comment counts and links.
- **Search:** Telegram's own full-text search inside a channel or chat.
- **Channel statistics:** Subscribers, average and median views, reach and best post.
- **Top posts:** Rank recent posts by views, reactions, forwards or comments.
- **Preview before posting:** Posts and replies need a one-time approval token.
- **Read-only mode:** An environment variable hides the publishing tools.

## Good for

- Summarise what a channel posted this month
- Find old posts on a topic in your own channel
- Compare this week's reach with last week's
- Draft replies to questions in post comments
- Publish an announcement after reviewing a preview

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add telegram-channels-mcp -- uvx telegram-channels-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "telegram-channels-mcp": {
      "command": "uvx",
      "args": [
        "telegram-channels-mcp"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "telegram-channels-mcp": {
      "command": "uvx",
      "args": [
        "telegram-channels-mcp"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "telegram-channels-mcp": {
      "command": "uvx",
      "args": [
        "telegram-channels-mcp"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "telegram-channels-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "telegram-channels-mcp"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add telegram-channels-mcp -- uvx telegram-channels-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.telegram-channels-mcp]
command = "uvx"
args = ["telegram-channels-mcp"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "telegram-channels-mcp": {
      "command": "uvx",
      "args": [
        "telegram-channels-mcp"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user telegram-channels-mcp uvx -- telegram-channels-mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "telegram-channels-mcp": {
      "command": "uvx",
      "args": [
        "telegram-channels-mcp"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "telegram-channels-mcp": {
      "command": "uvx",
      "args": [
        "telegram-channels-mcp"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "telegram-channels-mcp": {
      "command": "uvx",
      "args": [
        "telegram-channels-mcp"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "telegram-channels-mcp": {
      "command": "uvx",
      "args": [
        "telegram-channels-mcp"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "telegram-channels-mcp": {
      "command": "uvx",
      "args": [
        "telegram-channels-mcp"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "telegram-channels-mcp": {
      "command": "uvx",
      "args": [
        "telegram-channels-mcp"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "telegram-channels-mcp": {
      "command": "uvx",
      "args": [
        "telegram-channels-mcp"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "telegram-channels-mcp": {
      "command": "uvx",
      "args": [
        "telegram-channels-mcp"
      ]
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 2 of 8 tools change data; 2 names don't say. From the server's own tool labels and tool names; not verified by us.

- `list_chats` (name suggests: reads): Your channels, groups and chats
- `read_messages` (name suggests: reads): Latest posts or messages of a channel or chat
- `search_messages` (name suggests: reads): Full-text search inside one channel or chat
- `channel_stats`: Subscribers, views, reach, reactions and best post
- `top_posts`: Best posts over the last N days
- `get_comments` (name suggests: reads): Comments under a channel post
- `publish_post` (name suggests: changes): Post text or an image to your channel after a preview
- `reply_comment` (name suggests: changes): Reply to a comment after a preview

## FAQ

### What do I need?

uv plus your own api_id and api_hash from my.telegram.org.

### Can Telegram channels send messages to people?

No. There is no tool for private messages, deleting or editing.

### Where can Telegram channels publish?

Only in channels where you are the owner or an admin with posting rights.

### How do I make Telegram channels read-only?

Set TELEGRAM_READ_ONLY to 1.

### How do I add Telegram channels to Claude Code?

Run this command in your terminal: claude mcp add telegram-channels-mcp -- uvx telegram-channels-mcp

### What are the best alternatives to Telegram channels?

The closest alternatives to Telegram channels are TrendRadar, Agent-Native Analytics, dashboard-icons, Google Ads + Meta Ads + SEO/GEO MCP and TryPost.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [TrendRadar](https://ai-powered.com/mcp/trendradar): TrendRadar is an open-source MCP server for communication.
- [Agent-Native Analytics](https://ai-powered.com/mcp/agent-native-analytics): Agent-Native Analytics is an open-source MCP server for analytics and data.
- [dashboard-icons](https://ai-powered.com/mcp/dashboard-icons): dashboard-icons is an open-source MCP server for analytics and data.
- [Google Ads + Meta Ads + SEO/GEO MCP](https://ai-powered.com/mcp/google-ads-meta-ads-seo-geo-mcp): Google Ads + Meta Ads + SEO/GEO MCP is a freemium MCP server for marketing and seo.
- [TryPost](https://ai-powered.com/mcp/trypost): TryPost is a paid MCP server for marketing and seo.
- [Tapetide - Indian Stock Market MCP](https://ai-powered.com/mcp/tapetide-indian-stock-market-mcp): Tapetide - Indian Stock Market MCP is a freemium MCP server for finance and payments.
- [Gmail MCP](https://ai-powered.com/mcp/gmail-mcp-3): Gmail MCP is an open-source MCP server for communication.
- [Pitot](https://ai-powered.com/mcp/pitot): Pitot is an open-source MCP server for cloud and infrastructure.

---
Source: https://ai-powered.com/mcp/telegram-channels
