theYahia/tgstat-mcp (theYahia/tgstat-mcp) is an MCP server listed on the M8ven Trust Index. It scores 74 out of 100, grade C. It declares 16 tools. No publisher has claimed this listing.
MCP server for TGStat API that provides analytics for Telegram channels, including search, posts, statistics, mentions, and comparison across 8 tools.
Emerging. No concerning findings. Grades remain capped until the project builds reputation through adoption. Grades reflect the full trust pyramid: code, verification depth, and reputation. New projects cap at C until adoption is earned.
How we verified
Verified is a snapshot. Live keeps it current, and builds your track record.
⚡ Connect GitHub → continuous verification on every pushwhy connect →Who stands behind it
theYahia
Source: Glama
Claim it to get a verified publisher badge, a free copy of our full audit findings, and direct contact for any high-priority issues we find. Or connect your repo for our deepest verification, Live Monitored: read-only, revoke anytime. What we access →
Install from
The grade above is for the source repository. Registries can serve a different version, so we mark the ones we were not able to read.
These names and descriptions are the publisher's own, read from the source code. We print them as written. Our assessment is the findings above, not this list.
search_channelsSearch Telegram channels by query, with optional category / language / country / type filters. Returns curated channel cards.
get_channelGet a Telegram channel's profile: subscribers, category, citation index (ci_index), RKN verification. For reach/ERR use get_channel_stats.
get_channel_statsGet a channel's statistics: average post reach, ERR%, daily reach, citation index.
get_channel_mentionsFind where a channel is mentioned or forwarded by other channels and chats.
compare_channelsCompare several channels side by side on subscribers, average reach and ERR (one channels/stat lookup per channel).
list_categoriesList available channel category codes (use as the `category` filter in search).
list_countriesList available country codes (use as the `country` filter in search).
list_languagesList available language codes (use as the `language` filter in search).
get_channel_forwardsPosts from other channels that forwarded this channel's content.
get_channel_postsGet recent posts of a channel with view metrics. Supports an optional date range and pagination.
get_postGet details of a single post: views, forwards, reactions, text.
search_postsFull-text search across Telegram posts, with optional source-type / category / language / country / date filters.
get_post_statsGet a post's engagement dynamics: views, forwards and reactions over time.
get_usageShow your TGStat API usage and quota: requests / channels / words spent vs allowed, and package expiry.
get_word_mentionsTrack how often a keyword is mentioned across Telegram over time (mentions + views per period).
get_word_mentions_by_channelsBreak down keyword mentions by the channels that mention it most (channel + mention/view counts).
Disclosed vulnerabilities in this server's declared npm dependencies (via OSV). Whether each is reachable depends on the installed versions.
When Vitest UI server is listening, arbitrary file can be read and executed
Vitest: Path Traversal / Arbitrary File Read via @vitest/mocker Redirect Mock
TGSTAT_TOKENTool annotations
No tools have read-only/destructive annotations
Add readOnlyHint or destructiveHint annotations to every tool so hosts can warn users before invoking.
All four hints declared on every tool
16/16 tools missing one or more hints — search_channels (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint); get_channel (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint); get_channel_stats (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint), +13 more. OpenAI's directory rejects tools where any of the four hints are missing or non-boolean.
For every tool, set all four hints (readOnlyHint, destructiveHint, idempotentHint, openWorldHint) to explicit true/false values that match the handler’s actual behaviour.
Tool inputs are validated
9/16 tool handlers declare input schemas (56%)
Declare an inputSchema with zod/joi/yup on every tool definition.
Tool test coverage
12/16 tools referenced in tests (75%)
Write tests that reference each tool by name so every tool has at least one test.
Dev dependencies
1 critical/high in dev-only deps (does not ship to users)
Upgrade dev dependencies when convenient.
Claim the listing to review these findings one by one and send us a correction where you disagree, straight to the team. Claiming also means we tell you when the grade moves, and reach you first if we find anything urgent.
[](https://m8ven.ai/mcp/theyahia/tgstat-mcp)?variant=verified to the badge URL.Vetting this one by hand? Tool Check is an MCP that scores other MCPs. Add it once and ask Claude, ChatGPT, or any MCP client to grade a server, surface CVEs, check the publisher, and suggest safer alternatives — before you install.
https://m8ven.ai/api/mcp/tool-check