telegram-archive-mcp
This MCP server lets LLMs search, browse, and read archived Telegram history from a Telegram-Archive instance.
Search messages by keyword in a chat.
Retrieve messages with pagination (limit/offset).
Get all messages from a chat on a specific date in a timezone.
Get pinned messages and list forum topics in a chat.
Get per-chat statistics and force refresh of global archive stats.
Read archive stats, chats, folders, and health via resources.
Enables searching archived Telegram messages, browsing chats and folders, and retrieving chat statistics through a Telegram-Archive instance.
Features
Read-only resources for archive stats, chats, folders and health (
telegram-archive://stats,telegram-archive://chats).Message search, message paging by offset or keyset cursor, and whole calendar days in a timezone (
get_messages_by_date).Pinned messages, forum topics and per-chat statistics.
Signs in to Telegram-Archive through
/api/loginwithTELEGRAM_ARCHIVE_USERandTELEGRAM_ARCHIVE_PASS.One JSON-RPC endpoint (
/mcp) over HTTP, or stdio withTRANSPORT=stdio.Listens on loopback by default;
MCP_AUTH_TOKENadds bearer auth when you expose it.Ships as a Docker image, an npm package (
npx telegram-archive-mcp) and multi-arch Go binaries.
Related MCP server: telegram-user-mcp
Quick start
npx telegram-archive-mcpnpx fetches the server and runs it on stdio, so your MCP client starts it for you. For Claude Desktop, Cursor or Claude Code, add:
{
"mcpServers": {
"telegram-archive": {
"command": "npx",
"args": ["-y", "telegram-archive-mcp"],
"env": {
"TELEGRAM_ARCHIVE_URL": "http://localhost:8000",
"TELEGRAM_ARCHIVE_USER": "admin",
"TELEGRAM_ARCHIVE_PASS": "your-viewer-password"
}
}
}
}Set the URL, user and password of your Telegram-Archive viewer. Docker Compose (HTTP on 127.0.0.1:8080) and local builds are in Getting started.
Documentation
The full documentation is at geiserx.github.io/telegram-archive-mcp.
Getting started: npm, Docker Compose, local build
Configuration: environment variables and client configuration
Usage: the 4 resources and 9 tools, paging, reading one day at a time
Development: testing, contributing, credits
Related projects: Telegram Archive, other MCP servers, where this one is listed
License
Available Tools
9 toolsget_chat_statsCRead-only
Get statistics for a specific Telegram chat
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | Chat ID to get statistics for |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
readOnlyHint=true already tells the agent this is a safe read, so the description carries a lower burden. But it adds nothing about what 'statistics' contains, whether results are cached, or how it relates to refresh_stats — meaningful gaps for a stats-retrieval tool whose sibling implies staleness control.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single efficient sentence with the resource front-loaded. No waste, though also no additional structure to aid scanning.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema and no annotations beyond readOnlyHint, the description should explain what statistics are returned or at least the freshness model. Given the sibling refresh_stats exists, the omission of any staleness/caching semantics leaves the agent unable to choose confidently between the two.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% for the single chat_id parameter, so the schema fully documents the input. The description adds no format hints (e.g., numeric vs. @username) beyond the schema, which is the expected baseline.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb (Get) and resource (statistics) scoped to a Telegram chat, so the action is unambiguous. It does not, however, distinguish itself from the sibling refresh_stats, which an agent must reason about when deciding whether stats are stale.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to call this versus refresh_stats, or whether it returns cached vs. freshly computed statistics. The agent is left to infer usage entirely from the name.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_messagesARead-only
Get messages from a Telegram chat, newest first. Page with offset, or with the keyset cursor: pass the date and id of the last message you received as before_date and before_id to get the older ones (constant time on huge chats). after_id returns messages newer than an id. Dates are naive UTC.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum messages to return (default 50, max 500) | |
| offset | No | Pagination offset (default 0). Ignored when a cursor is given. | |
| chat_id | Yes | Chat ID to retrieve messages from | |
| after_id | No | Returns messages with an id greater than this one (newer). | |
| before_id | No | Keyset cursor: message id. Returns messages with a smaller id; pair with before_date. | |
| before_date | No | Keyset cursor: ISO 8601 date-time, naive values are UTC (e.g. 2026-06-10T18:04:17). Returns messages older than this instant; pair with before_id. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds genuine context beyond that: newest-first ordering, constant-time keyset pagination on large chats, and that dates are naive UTC. It does not cover edge cases like empty results or limits at the end of a chat.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three tightly packed sentences: ordering and source first, then pagination modes, then the timezone caveat. No filler, and the most important constraint is front-loaded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a read-only listing tool with no output schema, the description covers ordering, both pagination strategies, and date semantics adequately. Minor gaps remain around result boundaries (empty page at end of chat) and whether limit applies per page, but nothing essential for a correct call is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the baseline is 3, and the description adds value above it by explaining how before_date and before_id combine as a cursor pair and noting the performance rationale. The offset-ignored-when-cursor-given rule repeats the schema, so the gain is modest.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource ('Get messages from a Telegram chat') plus a defining behavioral trait ('newest first'). It does not explicitly differentiate from the sibling get_messages_by_date or search_messages, so an agent must infer the boundary from the pagination detail rather than being told.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explains how to paginate (offset vs. keyset cursor via before_date/before_id, or after_id for newer) but never says when to choose this tool over get_messages_by_date or search_messages. Usage of the tool itself is implied by the pagination recipe; sibling routing is absent.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_messages_by_dateARead-only
Get every message of a Telegram chat sent on one calendar day, oldest first. The day is taken in the given timezone (default UTC); the archive stores dates in UTC. Walks the chat with the keyset cursor, so it is cheap even on chats with hundreds of thousands of messages.
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Date in YYYY-MM-DD format | |
| limit | No | Maximum messages to return (default 1000, max 5000). When the day has more, the newest are dropped and truncated is true. | |
| chat_id | Yes | Chat ID to retrieve messages from | |
| timezone | No | IANA timezone the date is expressed in (e.g. Europe/Madrid). Default UTC. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With readOnlyHint already declaring the safety profile, the description adds real behavioral context beyond annotations: oldest-first ordering, timezone vs. UTC archive storage, and keyset-cursor efficiency on very large chats. It stops short of describing truncation/pagination at the description level, though the schema covers the limit case.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences, purpose front-loaded, zero filler; the timezone and efficiency notes are compact and each earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a read-only, 4-parameter tool with full schema coverage and no output schema, the description supplies the ordering, timezone semantics, and cost model an agent needs. Only truncation/limit behavior is left entirely to the schema.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the baseline is 3, but the description adds meaning the schema does not: that the day is interpreted in the supplied timezone while the archive stores UTC, clarifying how date/timezone interact. It adds little on limit beyond what the schema already documents.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb (Get), resource (every message of a Telegram chat), and tight scope (one calendar day, oldest first). It clearly differentiates from the generic get_messages by the day-scoping and ordering, but never names a sibling explicitly.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The day-scoped framing implies when this tool applies versus a general message fetch, but there is no explicit when-to-use/when-not guidance and no alternative (e.g. get_messages or search_messages) is named for other cases.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_pinned_messagesCRead-only
Get pinned messages from a Telegram chat
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | Chat ID to get pinned messages from |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, so the safety profile is covered. However the description adds nothing beyond that: no note on pagination, message limits, or what the returned pinned messages contain, which for a list-retrieval tool is a real gap.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single, front-loaded sentence with zero filler. It is efficient, though its brevity borders on under-specification rather than ideal conciseness.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
This is a simple read-only single-parameter tool with full schema coverage, so minimal description is tolerable. Still, it omits any indication of return size or pagination behavior, leaving the agent slightly under-informed compared to a sibling-aware definition.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% and there is only one parameter (chat_id), which the schema documents. The description adds no format or ID-semantics detail beyond the schema, so baseline 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb ('Get') and resource ('pinned messages') scoped to 'a Telegram chat', so the agent knows exactly what it retrieves. It does not distinguish itself from siblings like get_messages or search_messages, so it stops short of a 5.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no guidance on when to use this versus get_messages, get_messages_by_date, or search_messages. The purpose is implied by the name, but no conditions or alternatives are stated.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_topicsCRead-only
Get topics (forum threads) from a Telegram chat
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | Chat ID to get topics from |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The readOnlyHint annotation already tells the agent this is a safe read. The description adds no behavioral context such as pagination, ordering, failure on non-forum chats, or what is returned; it only restates the resource. With annotations covering safety, this is thin but not contradictory.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single front-loaded sentence with no filler. Appropriately sized for a one-parameter read tool, though it is arguably too sparse to be maximally useful.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple one-param read with annotations and no output schema, the definition is minimally adequate but omits return shape, ordering, and the fact that it only applies to forum chats.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% and the single chat_id parameter is fully described there, so the description adds nothing beyond the schema. Baseline 3 applies when the schema carries parameter semantics.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb and resource ('Get topics') and disambiguates the term by equating topics with 'forum threads' in a Telegram chat. It is clear, though it does not explicitly distinguish itself from siblings like get_messages or get_pinned_messages beyond the resource noun.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this tool versus get_messages or the other retrieval siblings. The only implied condition is that topics exist in forum chats, which is never stated.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_chatsARead-only
List all archived Telegram chats with their IDs, names, and types. Use this first to discover chat_id values needed by other tools.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum chats to return (default 100) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
readOnlyHint=true already tells the agent this is a safe read. The description adds a meaningful scope constraint (archived chats only, not all chats) and the returned field set, but says nothing about pagination behavior despite the limit parameter.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences, zero filler, with the core action stated first and the sequencing advice second. Nothing needs trimming.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple read-only list tool with no output schema, the description covers purpose, scope, return fields, and how it fits the workflow. The only gap is pagination/limit behavior, which the schema partially handles.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% and the single limit parameter is documented in the schema with its default, so the description adds no parameter detail. Baseline 3 applies when the schema carries the semantics.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb (List), resource (archived Telegram chats), and enumerates the returned fields (IDs, names, types). This distinguishes it from sibling tools like get_messages or search_messages, which operate on messages rather than the chat inventory.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly says to use it first to discover chat_id values needed by other tools, which is a clear usage context and implicitly names the downstream alternatives. It does not state when not to use it or contrast with other discovery-oriented siblings such as list_folders.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_foldersARead-only
List all Telegram chat folders
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds the key behavioral fact that this returns ALL folders with no filtering or parameters, which contextualizes why it's parameterless. Slight gap: no mention of ordering or whether archived folders are included.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Single front-loaded sentence with no waste; every word earns its place. Ideal for a simple parameterless list tool.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a trivial zero-param read tool with annotations covering the safety profile, the description is nearly sufficient. However, it does not clarify return shape (e.g., array of folder names) or whether it includes default/all chats folder, leaving a minor gap.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Tool takes zero parameters, so the baseline is 4. The description correctly communicates the no-argument nature and implies a complete listing, which matches the empty schema. No additional parameter detail is possible or needed.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb 'List' and resource 'Telegram chat folders'. Distinguished from siblings like list_chats (lists chats, not folders) and get_messages (retrieves messages). No ambiguity for an agent.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No explicit when-to-use or when-not-to-use guidance, though the scope ('folders') implies it's the tool for enumerating chat folders. Sibling tool list_chats makes the distinction clear enough, but the description does not state it.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
refresh_statsAIdempotent
Force recalculation of global telegram-archive statistics
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations declare idempotentHint=true and destructiveHint=false, so safety is already covered. The description adds the useful scope qualifier 'global' (all chats, not one) and the forced/override nature of the operation, but says nothing about cost, duration, or whether it blocks — relevant for a recalculation job.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single front-loaded sentence with no filler; the verb and scope arrive immediately.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a parameterless, output-schema-less maintenance tool with annotations covering idempotency and safety, the description conveys enough to call it correctly. Minor gap: no indication of whether it is expensive or long-running.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool takes zero parameters, so there is nothing for the description to clarify beyond what the empty schema already conveys. Baseline 4 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb ('Force recalculation') and resource ('global telegram-archive statistics'), which is distinguishable from sibling get_chat_stats (read-only stats retrieval). It does not explicitly name that sibling, so it falls just short of a 5.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this versus get_chat_stats, or when recalculation is warranted (e.g. stale data). The 'Force' wording hints at an override of cached values, but usage conditions are left entirely to inference.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_messagesCRead-only
Search messages in a Telegram chat by keyword
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum results to return (default 20) | |
| query | Yes | Search query string | |
| chat_id | Yes | Chat ID to search in |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
readOnlyHint=true already tells the agent this is a safe read, so the safety profile is covered. The description adds nothing further: no result ordering, no pagination behavior, no note on whether search is case-insensitive or spans the full chat history.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single front-loaded sentence with no filler; the resource and scoping constraint come first. It is efficient, though bordering on under-specified rather than genuinely concise.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a 3-parameter read-only search with full schema coverage and no output schema, the description is minimally viable but does not clarify retrieval scope versus sibling list tools. An agent could call it correctly, but with little confidence about when it beats the alternatives.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so all three parameters (chat_id, query, limit) are already documented in the schema. The description only echoes 'keyword' for query and adds no syntax, matching, or formatting detail beyond the structured fields.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb (search), resource (messages), scope (a Telegram chat) and mechanism (by keyword), which implicitly separates it from siblings like get_messages and get_messages_by_date. It does not name an alternative explicitly, so it falls short of the top mark.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to choose keyword search over get_messages, get_messages_by_date, or get_pinned_messages, all of which occupy adjacent retrieval roles. The agent must infer the selection rule from names alone.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
4 tool updates
v0.1.3- Changed
get_messages5 fields changed- added
Input schema / properties / after_idAdded value: +{ + "description": "Returns messages with an id greater than this one (newer).", + "type": "number" +} - added
Input schema / properties / before_dateAdded value: +{ + "description": "Keyset cursor: ISO 8601 date-time, naive values are UTC (e.g. 2026-06-10T18:04:17). Returns messages older than this instant; pair with before_id.", + "type": "string" +} - added
Input schema / properties / before_idAdded value: +{ + "description": "Keyset cursor: message id. Returns messages with a smaller id; pair with before_date.", + "type": "number" +} - changed
Input schema / properties / limit / descriptionPrevious value: -"Maximum messages to return (default 50)"New value: +"Maximum messages to return (default 50, max 500)" - changed
Input schema / properties / offset / descriptionPrevious value: -"Pagination offset (default 0)"New value: +"Pagination offset (default 0). Ignored when a cursor is given."
- Changed
get_messages_by_date2 fields changed- added
Input schema / properties / limitAdded value: +{ + "description": "Maximum messages to return (default 1000, max 5000). When the day has more, the newest are dropped and truncated is true.", + "type": "number" +} - changed
Input schema / properties / timezone / descriptionPrevious value: -"IANA timezone (e.g. Europe/Madrid). Optional."New value: +"IANA timezone the date is expressed in (e.g. Europe/Madrid). Default UTC."
- Added
list_chats - Added
list_folders
7 tool updates
v0.1.0- First observed
get_chat_stats - First observed
get_messages - First observed
get_messages_by_date - First observed
get_pinned_messages - First observed
get_topics - First observed
refresh_stats - First observed
search_messages
TDQS
Scored across 9 tools
Most tools have clearly distinct purposes (e.g., list_chats, get_pinned_messages, search_messages). However, get_messages and get_messages_by_date both retrieve messages and could be confused at a glance, though the descriptions clarify their different use cases.
All tool names follow a consistent snake_case verb_noun pattern (get_, list_, search_, refresh_). There is no mixing of conventions, making the set highly predictable.
Nine tools is well-scoped for a Telegram archive reader, covering discovery, retrieval, search, and statistics without redundancy or bloat.
The surface covers core archive operations: listing chats/folders/topics, fetching messages by various criteria, searching, and stats. A minor gap exists for retrieving messages within a specific forum topic, as get_topics lists topics but no tool explicitly filters messages by topic.
Maintenance
Related MCP Connectors
Search your AI chat history (ChatGPT, Claude, Codex) from any MCP client. Remote, private, read-only
MCP server for AI dialogue using various LLM models via AceDataCloud
Telegram bridge for your MCP-compatible agent. Bidirectional, no LLM in our stack.
Related MCP Servers
- FlicenseNot gradedqualityBmaintenanceAn MCP server that connects to a Telegram group chat, persists messages to a local SQLite database, and exposes tools to search, retrieve, and send messages via SSE.-
- AlicenseNot gradedqualityBmaintenanceAn MCP server that connects to Telegram as your real user account and exposes read-only tools to read and search messages, list chats and folders, inspect group info, and download media.15 npmMIT
- AlicenseAqualityAmaintenanceMCP server that acts as a gateway to Telegram, providing AI-optimized tools for messaging, search, and chat management via MTProto. Supports multi-user authentication with QR login and HTTP/stdio transports.82MIT
- AlicenseAqualityBmaintenanceAn MCP server that gives AI agents full access to a personal Telegram account via MTProto, enabling chat reading, history search, messaging, media handling, and automations.791MIT