Telegram Tools (TG Toolkit) is a self-hosted OSINT and analytics platform that interacts directly with Telegram via MTProto using user accounts to overcome standard Bot API limitations. It enables comprehensive data collection by capturing commenters, indexing chat histories, and discovering linked channels and chats. Equipped with SQLite FTS5 full-text search, user dossiers, relationship graphs, and audience overlap matrices, it provides deep intelligence on Telegram ecosystems. With built-in rate-limit management, encrypted session storage, an OpenAPI-documented REST API, and an integrated MCP server, it allows AI agents like Claude Code or Cursor to seamlessly interact with your indexed Telegram intelligence.
主要功能
012 GitHub stars
02Scrapes every commenter from channels and indexes complete histories from groups, supergroups, and forum chats
03Discovers linked channels and chats through bio links, mentions, pinned channels, and posting identities
04Performs full-text search across messages, profile metadata, and attached PDF documents using SQLite FTS5
05Generates detailed user dossiers, activity heatmaps, suspicion scores, audience overlap matrices, and interactive relationship graphs
06Exposes a complete HTTP REST API and native MCP server for integration with AI assistants and workflows
使用案例
01Conducting open-source intelligence (OSINT) and investigative research on Telegram channels and chat networks
02Auditing audience overlaps, commenter engagement, and reach across related Telegram communities
03Connecting AI assistants via MCP to search, analyze, and query indexed Telegram data