MCP server for TGStat — Telegram channel analytics, search, stats (Russia). Part of WWmcp — 46 MCP servers for emerging markets.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
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>"
}
}
}
}需要的环境变量
TGSTAT_TOKEN
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。