Telegram MCP Readonly
Provides read-only search and analysis of a Telegram account, including finding chats by title or username, searching message history, reading messages, inspecting contacts and topics, and downloading media to a private local directory.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Telegram MCP ReadonlySearch my Telegram for messages about 'project alpha' from last week."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Telegram MCP Readonly
Search Telegram chats and messages from any MCP client. Read conversation history and download attachments without sending messages or changing chats.
Quick start · Client setup · Documentation · Security
What it does
Capability | Included |
Search | Messages across chats, account-wide search, folder filters |
Read | History, topics, rich messages, custom emoji metadata, profiles |
Attachments | Downloads confined to one configured directory |
Connect | Stdio for one client; a shared local HTTP service for several clients |
Protect | Explicit read-only allowlist, private session setup, sanitized results |
Related MCP server: telegram-mcp
Install
You need Python 3.10+, uv, a Telegram account, and API credentials from my.telegram.org/apps.
git clone https://github.com/mshykhov/telegram-mcp-readonly.git
cd telegram-mcp-readonly
uv sync --frozen
uv run python setup_readonly.pySign in by scanning the QR code with Telegram. Read-only mode is enabled by default. Keep the generated .env and session files private.
Clone this repository: the telegram-mcp package on PyPI is a different project.
Connect an MCP client
For one local client, configure a stdio server:
{
"mcpServers": {
"telegram-readonly": {
"command": "uv",
"args": [
"--directory",
"/full/path/to/telegram-mcp-readonly",
"run",
"telegram-mcp"
]
}
}
}Configuration and documentation
The setup script writes the required configuration. See .env.example for optional proxy, multi-account, event-feed, and device settings. The documentation map includes the shared-service runbook for macOS installations shared by several clients.
Dependency updates
Renovate uses the shared update policy for Python dependencies and uv.lock, npm tooling, Docker images, and GitHub Actions. Minor, patch, and pin updates merge automatically after all required CI checks pass against the current main. Major updates require dashboard approval and manual merging; weekly lock-file maintenance also stays manual. MCP stays below v2 until a reviewed migration.
Python application dependencies are pinned so each PR updates exactly the advertised version. Renovate refreshes branches when main advances, and CI blocks its PRs if lock-file generation fails. Eligible updates can merge at any time after the shared release-age checks pass.
Fork maintenance
This fork adds the audited read-only tool boundary, confined attachment downloads, QR setup, and a shared local service. The original upstream commits retain their authors and dates. Upstream changes through 5d7f0a7 are integrated, including rich-message reading, custom emoji metadata, safer error logging, and session locks.
New upstream tools remain excluded from strict mode until reviewed. Voice transcription and its cache are disabled in strict mode, including automatic transcription during history reads.
Attribution and license
This project is based on chigwell/telegram-mcp and is licensed under the Apache License 2.0.
This server cannot be deployed
Maintenance
Related MCP Connectors
Search, read and reply to your Telegram Business chats, transcribed voice included.
1Search 1.2M+ Telegram channels, 245k+ chats, 160k+ bots — no account, no key, no install.
I use your linked Telegram MTProto session (Integrations → Telegram) to list groups, members, and s…
Messaging tools for AI agents: send messages, manage chats, groups and channels.
Related MCP Servers
- AlicenseAqualityDmaintenanceRead-only Telegram access for Claude and other MCP hosts. Provides tools to list chats, read recent messages, and download media from your own Telegram account without needing an api_id/api_hash.5MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to interact with a user's Telegram account: list chats, read history, search, and send messages through Telegram's MTProto API.1MIT
- AlicenseBqualityBmaintenanceProvides read-only access to a user's Telegram account via MTProto, enabling chat listing, message retrieval, search, and context fetching.5MIT
- AlicenseBqualityBmaintenanceProvides read-only access to Telegram chats, allowing AI agents to list chats, read messages, and search within chats via local MCP.14MIT