# 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/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 channel profile: A public Telegram channel by handle: name, description, avatar, subscribers (rounded, as t.me shows them) and verification, and under ext the photo, video, file and link counts it shows. | [telegram.channels.get](https://okdata.online/apis/telegram/channels/get/) | $0.002 per call |
| Telegram channel messages: A public channel's messages, newest first, 20 a page: text, time posted, views (rounded from a thousand up, as t.me shows them) and images, video covers included. Each id (handle/number, as in telegram/401) goes straight to the message endpoint. | [telegram.channels.messages.list](https://okdata.online/apis/telegram/channels/messages/list/) | $0.002 per call · about 20 posts per page |
| Telegram message detail: One message of a public channel, by handle/number or its t.me link: text, time posted, views and images, video covers included. | [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/)
