# OpenTG

> Search engine for public Telegram channel posts, with a permanent web page for each indexed post, a REST API and an MCP server.

Source: https://osinttools.io/tools/opentg/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

- **Inputs:** Name, Username
- **Category:** Social media intelligence
- **Pricing:** Freemium (Free plan with a small daily search quota; paid plans raise the quota and add a request log; enterprise by quote)
- **Footprint:** passive (does not contact the target)
- **Account required:** yes, for full results
- **API:** yes
- **Platforms:** Web · REST API · MCP server (remote HTTP)
- **MCP endpoint:** https://mcp.opentg.ai/mcp
- **MCP server:** from the team that runs the service; hosted
- **Website:** https://opentg.ai/
- **Docs:** https://opentg.ai/docs
- **Listed:** Dec 3
- **Last verified by an editor:** Dec 3, 2026

## What it does

OpenTG indexes public Telegram channels and gives every post it keeps a permanent web page that can be read, linked and cited without a Telegram account, with a link back to the original. Its about page says posts come from public t.me channel pages, collected automatically, and from channels whose admins added its read-only bot; it keeps original text posts of at least 200 characters and posts with an attached file, skips forwards and uncaptioned media, and never includes groups or direct messages. Search takes phrases and operators such as from:@channel, after: and before: dates, and can be filtered by channel and language.

Researchers use it to search what public channels said about a topic over the last 30 days, then follow a post back to its source; older posts stay on their pages and can be paged through per channel in the API. The same search is offered through a REST API and a hosted MCP server, so an AI agent can query Telegram posts with the account's daily quota. Signed out, search shows only a short preview; a free account unlocks all results. It is run by a sole proprietor registered in Ukraine and is not affiliated with Telegram.

Footprint is passive: it reads its own index or third-party records and does not contact the target. An account is needed for full results. There is an API.

## Features

- Full-text search of public channel posts (last 30 days)
- Search operators: from:@channel, after:, before:
- Permanent, citable web page for each indexed post
- Channel browser by language and topic
- REST API and hosted MCP server on the same quota
- Live read of a public channel's latest posts through the API

## Pros

- Post pages can be read and cited without a Telegram account
- Free plan with API and MCP access, no card
- About page states plainly what is and is not indexed

## Cons

- Full-text search covers only the last 30 days
- Signed-out search shows a preview only; full results need a (free) account
- Index leaves out short posts, forwards, groups and uncaptioned media

## When to use it

- Use it when you need to find which public Telegram channels posted about a name, place or event in the past month.
- Use it when you want a stable web link to a Telegram post to cite in a report.
- Use it when an AI agent should search Telegram posts through MCP during an investigation.

## Set up OpenTG

- Hosted by the maker: nothing to install.
- The maker's service sees every request your assistant sends.

**Claude Code** (hosted). Run in a terminal.

```shell
claude mcp add --transport http opentg https://mcp.opentg.ai/mcp
```

**Claude (web and desktop)** (hosted). Settings → Connectors → Add custom connector.

```
Name: opentg
URL:  https://mcp.opentg.ai/mcp
```

**Cursor** (hosted). ~/.cursor/mcp.json, or .cursor/mcp.json in a project.

```json
{
  "mcpServers": {
    "opentg": {
      "url": "https://mcp.opentg.ai/mcp"
    }
  }
}
```

**VS Code** (hosted). .vscode/mcp.json in a workspace.

```json
{
  "servers": {
    "opentg": {
      "type": "http",
      "url": "https://mcp.opentg.ai/mcp"
    }
  }
}
```

**Codex** (hosted). ~/.codex/config.toml.

```toml
[mcp_servers.opentg]
url = "https://mcp.opentg.ai/mcp"
```

**Windsurf** (hosted). ~/.codeium/windsurf/mcp_config.json.

```json
{
  "mcpServers": {
    "opentg": {
      "serverUrl": "https://mcp.opentg.ai/mcp"
    }
  }
}
```

## Alternatives

- [SocialData](https://osinttools.io/tools/socialdata/): Third-party API for public X data: send a username, post ID or search query, get profiles, posts and followers as JSON, billed per result. (Paid · Username, Name · passive)
- [xdataapi.io](https://osinttools.io/tools/xdataapi/): Read-only third-party API for public X data: profiles, posts, threads, replies, followers and search, paid in credits per item returned. (Paid · Username, Name · passive)
- [DiscordLeaks](https://osinttools.io/tools/discordleaks/): Unicorn Riot's searchable archive of leaked chat logs from extremist Discord servers and other chat platforms. (Free · Username, Name · passive)
- [Followerwonk](https://osinttools.io/tools/followerwonk/): Bio search and follower analysis for X and other networks, now run as part of the Fedica platform. (Freemium · Username, Name · passive)
- [Lyzem](https://osinttools.io/tools/lyzem/): Search engine for public Telegram channels, groups, bots and posts, with results labelled by type. (Free · Name, Username · passive)
- [Open Measures](https://osinttools.io/tools/open-measures/): Search and timeline tools over archived posts from fringe and mainstream platforms such as Telegram, 4chan, Gab and VK. (Freemium · Name, Username · passive)

All alternatives to OpenTG in one table: https://osinttools.io/tools/opentg/alternatives/

## More MCP servers

- [last30days](https://osinttools.io/tools/last30days/): Agent skill and MCP bundle that researches a person, company or topic across Reddit, X, YouTube, HN and more for the last 30 days. (Open source · Name · passive · 80,275 GitHub stars)
- [Xquik](https://osinttools.io/tools/xquik/): Paid X (Twitter) data service with a hosted MCP server for searching posts and pulling profiles, followers and replies. (Paid · Username, URL, Name · passive · 232 GitHub stars)
- [Anysite MCP](https://osinttools.io/tools/anysite-mcp/): Hosted MCP server that returns structured data from LinkedIn, Instagram, X, Reddit, YouTube, SEC EDGAR and other sites via generic tools. (Paid · Name, Username, URL, Domain · passive · 65 GitHub stars)

## Change history

- 2026-12-03: Listed in the directory.

Feed of changes to OpenTG: https://osinttools.io/tools/changes/feed.xml?tool=opentg

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
