MCP server for TGStat — Telegram channel analytics, search, stats (Russia). Part of WWmcp — 46 MCP servers for emerging markets.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add tgstat --env TGSTAT_TOKEN='<TGSTAT_TOKEN>' -- npx -y @theyahia/tgstat-mcp~/.codex/config.toml
[mcp_servers.tgstat]
command = "npx"
args = ["-y", "@theyahia/tgstat-mcp"]
env = { TGSTAT_TOKEN = "<TGSTAT_TOKEN>" }
# codex mcp add tgstat --env TGSTAT_TOKEN='<TGSTAT_TOKEN>' -- npx -y @theyahia/tgstat-mcp~/.cursor/mcp.json
{
"mcpServers": {
"tgstat": {
"command": "npx",
"args": [
"-y",
"@theyahia/tgstat-mcp"
],
"env": {
"TGSTAT_TOKEN": "<TGSTAT_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"tgstat": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@theyahia/tgstat-mcp"
],
"env": {
"TGSTAT_TOKEN": "<TGSTAT_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"tgstat": {
"command": "npx",
"args": [
"-y",
"@theyahia/tgstat-mcp"
],
"env": {
"TGSTAT_TOKEN": "<TGSTAT_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"tgstat": {
"command": "npx",
"args": [
"-y",
"@theyahia/tgstat-mcp"
],
"env": {
"TGSTAT_TOKEN": "<TGSTAT_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"tgstat": {
"command": "npx",
"args": [
"-y",
"@theyahia/tgstat-mcp"
],
"env": {
"TGSTAT_TOKEN": "<TGSTAT_TOKEN>"
}
}
}
}Environment variables
TGSTAT_TOKEN
Replace the placeholders with your own credentials and keep them out of version control.