# Kay0k1/telegram-dev [Health: Active]

**Category:** 💬 Communication  
**Repository:** https://github.com/Kay0k1/telegram-dev  
**GitHub Stars:** 0  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/kay0k1-telegram-dev

## Description
Current official Telegram and TON docs (Bot API, Mini Apps, MTProto, TDLib, TON Connect, Tolk, TEPs, changelogs) with a self-refreshing local cache, plus an agent skill for choosing the right API.

## Tools
Capabilities this server exposes over MCP:

- **search_telegram_docs** — Full-text search over indexed sections, optionally limited to one area: `bot-api`, `mini-apps`, `telegram-api`, `tdlib`, `ton`, `releases`, `ton-releases`, `aiogram`, `python-telegram-bot`, `grammy` and others. Core Telegram docs rank first unless the query names a library
- **get_telegram_document** — Reads an official page in pages of up to 40,000 characters; fetches it if it is missing or older than 6 hours
- **get_telegram_corpus_status** — What is indexed, how fresh it is and which sources failed
- **list_telegram_document_revisions** — Revisions of a page captured by this installation
- **list_telegram_sources** — The 61 official entry points, grouped by API area
- **list_telegram_cached_pages** — Pages already stored in the local cache, by area, with freshness
- **get_bot_api_definition** — One Bot API method or type as structured data: parameters or fields, types, required flags, allowed values, length limits, and the changelog entries that mention it
- **check_bot_api_call** — Checks a request your code sends against the current Bot API schema: unknown methods and parameters (with suggestions), missing required ones, wrong types, values outside the documented list, retired parameters with the version that replaced them
- **list_bot_api_changes** — Official Bot API changelog as structured releases, filtered by version (`since_version="9.0"`) or by a method, type or field name
- **check_telegram_project** — Checks every Bot API call in a local Python bot project in one run (see [Check a bot project](#check-a-bot-project)); local stdio server only

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

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

## Documentation

## What Kay0k1/telegram-dev does

Kay0k1/telegram-dev gives coding agents a searchable local corpus of official Telegram and TON documentation. Its coverage includes the Telegram Bot API, Mini Apps, MTProto, TDLib, bot libraries, TON Connect, Tolk, TEPs, and documentation changelogs. The corpus can be refreshed so agents can consult platform changes that may postdate their training data.

It also includes a Python-focused Bot API checker. The checker recognizes calls made with aiogram, python-telegram-bot, pyTelegramBotAPI, and raw requests to `api.telegram.org`. It reports invalid values, unknown methods or parameters, retired parameters, unsupported keyword arguments, and bot methods without a Bot API counterpart.

## How it works

The MCP service runs locally and reads public documentation; no Telegram account, bot token, or API key is required. Agents can search the indexed documentation, inspect a document at a selected position, check the corpus status, and use Bot API definitions, request validation, and changelog information while writing or reviewing code.

The `telegram-dev check` command analyzes source files without running the bot. It does not resolve variables or verify required parameters, so its findings are based on code it can inspect directly. It can print normal or JSON output, format findings for GitHub annotations, exclude paths, and treat warnings as failures with strict mode.

## Setup and configuration

The package requires `uv`. Run the installer from a project directory and select an agent integration:

- `uvx telegram-dev install --agent claude`
- `uvx telegram-dev install --agent codex`
- `uvx telegram-dev install --agent cursor`

The installer updates the corresponding project MCP and skill configuration, preserves other settings, backs up changed files, and avoids replacing an existing Telegram Dev setup. Start a new agent session after installation and approve the project MCP server if prompted. Codex requires the project directory to be trusted before loading its project settings.

The server can also be registered directly with Claude Code or Codex, or configured in another MCP client with the `uvx telegram-dev serve` command. A Claude Code plugin provides the skill and server across projects; use the plugin or the project installer rather than both. Upgrade an installation with `uvx telegram-dev@latest install --agent <agent> --update`.

## Tools and capabilities

- Search official Telegram and TON documentation by query and area.
- Retrieve document sections, including refreshed source pages.
- Report the indexed documentation corpus status.
- Provide Bot API method and type definitions, request checking, and versioned changelog information.
- Inspect Python bot projects with `check_telegram_project` through the local stdio server.
- Run `telegram-dev check` from a terminal or GitHub Actions workflow.

The command-line checker supports `--json`, `--exclude`, `--strict`, and `--format github`. GitHub Actions can annotate findings on changed lines in pull requests.

## Limitations and notes

The checker is static: it does not execute the bot, follow values through variables, or check whether required parameters are present. Warnings identify retired or questionable usage, while errors include invalid documented values and unknown raw API methods or parameters. The agent skill improves consistent tool use, but the MCP tools can also be used without installing the skill.

_Full upstream README: https://allmcps.com/mcp/kay0k1-telegram-dev/readme_

