# Telegram MCP server for AI agents

> Give Claude, Cursor or any MCP client Telegram data: 3 endpoints from $0.002 a call, no Telegram login. Your AI finds the endpoint, says the price and fetches.

Canonical page: https://okdata.online/ja/mcp/telegram/

## Connect your AI in one sentence

```text
Set up okdata for me by following https://okdata.online/agents.md. Here is my okdata API key: okd_…. Keep it safe and use it for all okdata calls.
```

## What it answers

| Question | Endpoint | Price |
|---|---|---|
| Telegram チャンネルプロフィール: ハンドルで指定した公開 Telegram チャンネル：名前、説明、アバター、登録者数（t.me の表示どおり丸め）、認証。ext には表示されている写真・動画・ファイル・リンクの数が含まれます。 | [telegram.channels.get](https://okdata.online/apis/telegram/channels/get/) | $0.002 per call |
| Telegram チャンネルのメッセージ: 公開チャンネルのメッセージ。新しい順、1 ページ 20 件：テキスト、投稿時刻、閲覧数（1,000 以上は t.me の表示どおり丸め）、画像（動画のカバー画像を含む）。各 id（telegram/401 のようなハンドル/番号）はそのままメッセージ用エンドポイントに渡せます。 | [telegram.channels.messages.list](https://okdata.online/apis/telegram/channels/messages/list/) | $0.002 per call · about 20 posts per page |
| Telegram メッセージ詳細: ハンドル／番号、または t.me リンクで公開チャンネルのメッセージを 1 件取得します：本文、投稿日時、閲覧数、画像（動画のカバーを含む）。 | [telegram.messages.get](https://okdata.online/apis/telegram/messages/get/) | $0.002 per call |

## Two calls

1. `find {"query":"telegram channels"}`: free
2. `call {"capability":"telegram.channels.messages.list","username":"telegram"}`: $0.002 per call · about 20 posts per page

## Skill package

- `okdata-telegram`: https://okdata.online/.well-known/agent-skills/okdata-telegram/SKILL.md · https://okdata.online/skills/okdata-telegram.zip

[Every Telegram endpoint](https://okdata.online/apis/telegram/) · [MCP server](https://okdata.online/mcp/) · [Integrations](https://okdata.online/integrations/)
