Provides tools for searching Telegram group messages with advanced filtering capabilities by date and relevance, including the ability to retrieve extended metadata such as reactions, view counts, and media attachment details.
Click on "Install 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 ServerSearch for 'feedback' from 3 days ago including reactions"
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 Brief CLI
telegram-brief is a local executable for authenticating with Telegram and searching messages across your groups/channels.
It is built to pair with an OpenCode skill: the CLI returns structured JSON, and the skill handles summarization.
Install
npm install
npm run build
npm install -g .After install, the telegram-brief command is available globally.
Authentication
Run first-time login:
telegram-brief auth loginCheck status:
telegram-brief auth status --jsonReauthenticate when needed:
telegram-brief auth reauthCredentials and session are stored at:
~/.config/telegram-brief/config.json
Search
Basic search:
telegram-brief search --query "deployment" --jsonDate filtering:
telegram-brief search --query "incident" --date-range last7days --json
telegram-brief search --query "meeting" --start-date "2026-02-01" --end-date "2026-02-07" --jsonTargeted groups:
telegram-brief search --query "vendor" --group-ids "@group1,-1001234567890" --jsonPerformance tuning:
telegram-brief search --query "release" --concurrency-limit 5 --rate-limit-delay 500 --jsonMessage Context
Fetch replies to a specific matched message:
telegram-brief thread --group-id "-1001234567890" --message-id 42 --mode replies --limit 50 --jsonFetch parent-chain context for a reply (message -> parent -> root):
telegram-brief thread --group-id "-1001234567890" --message-id 314 --mode ancestors --max-depth 20 --jsonList Chats
telegram-brief chats list --max-groups 100 --jsonCLI Reference
telegram-brief helpKey search flags:
--queryrequired--limit,--offset--sort-by relevance|date_desc|date_asc--start-date,--end-date,--date-range--group-idscomma-separated--max-groups--include-channels true|false--include-archived-chats true|false--group-types channel,supergroup,gigagroup,basicgroup--concurrency-limit,--rate-limit-delay--include-extended-metadata true|falsethread --group-id --message-id --mode replies|ancestorsthread --offset-id --offset-date --add-offset --max-id --min-idthread --max-depth
JSON Error Contract
Commands run with --json return:
{
"success": false,
"error": {
"code": "AUTH_REQUIRED",
"message": "Telegram is not configured...",
"retryable": true
}
}Common codes:
AUTH_REQUIREDSESSION_REVOKEDINVALID_INPUTSEARCH_FAILEDRATE_LIMITEDINTERNAL_ERROR
OpenCode Skill Integration
A starter skill spec is included at docs/skills/telegram-digest-skill.md.
It defines a workflow where OpenCode:
Runs
telegram-brief search --jsonHandles auth errors by guiding reauth
Summarizes results into organized sections
License
MIT
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.