Topgg
FreeNot checkedA Model Context Protocol server for the Top.gg v1 API, letting AI assistants manage your Top.gg bot or server listing directly.
About
A Model Context Protocol server for the Top.gg v1 API, letting AI assistants manage your Top.gg bot or server listing directly.
README
A Model Context Protocol server for the Top.gg v1 API, letting AI assistants manage a Top.gg Discord bot, Discord server, or Roblox game listing directly.
Tools
| Tool | Description |
|---|---|
get_project |
Retrieve the project associated with your token |
update_project |
Update headline and page content (per locale) |
register_commands |
Replace registered Discord slash commands (empty clears all) |
get_votes |
Fetch paginated vote history (cursor-based) |
check_user_vote |
Check whether a specific user has voted |
post_metrics |
Submit Discord bot/server or Roblox game metrics |
post_metrics_batch |
Submit up to 100 metrics entries in one request |
create_announcement |
Post a categorized project announcement (1 per 4 hours) |
Requirements
- Node.js 22+
- A Top.gg API token (obtained from your Top.gg dashboard)
Setup
Single project
Set TOPGG_TOKEN to your API token. The project parameter on every tool is optional and can be omitted.
Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"topgg": {
"command": "npx",
"args": ["-y", "topgg-mcp"],
"env": {
"TOPGG_TOKEN": "your-token-here"
}
}
}
}
Claude Code:
claude mcp add topgg -e TOPGG_TOKEN=your-token-here -- npx -y topgg-mcp
Multiple projects
Use TOPGG_TOKEN_<NAME> for each project. The suffix becomes the name used in the project parameter (lowercased). When multiple tokens are configured, the project parameter is required on every tool call.
{
"mcpServers": {
"topgg": {
"command": "npx",
"args": ["-y", "topgg-mcp"],
"env": {
"TOPGG_TOKEN_MYBOT": "token-for-mybot",
"TOPGG_TOKEN_OTHERBOT": "token-for-otherbot"
}
}
}
}
With the above config, pass "project": "mybot" or "project": "otherbot" in every tool call.
You can also mix TOPGG_TOKEN (name: "default") with named tokens if needed.
API coverage
The server targets the Top.gg v1 REST API (https://top.gg/api/v1). All requests are authenticated with Authorization: Bearer <token>. API errors are surfaced as readable tool errors using the RFC 7807 problem details format returned by Top.gg.
| Method | Endpoint | Tool |
|---|---|---|
GET |
/projects/@me |
get_project |
PATCH |
/projects/@me |
update_project |
POST |
/projects/@me/announcements |
create_announcement |
PATCH |
/projects/@me/metrics |
post_metrics |
POST |
/projects/@me/metrics/batch |
post_metrics_batch |
PUT |
/projects/@me/commands |
register_commands |
GET |
/projects/@me/votes |
get_votes |
GET |
/projects/@me/votes/:user_id |
check_user_vote |
Rate limits (enforced by Top.gg, not this server):
- 100 requests/second globally
- 60 requests/minute for bot endpoints
- Violations result in a 1-hour block
- Announcement cooldown responses include the API's
Retry-Aftervalue in the tool error
Development
pnpm install
pnpm build # compile to dist/
pnpm typecheck # TypeScript strict check
pnpm lint # ESLint
pnpm format # Prettier
pnpm test # Vitest (no live API required)
pnpm test:coverage
Tests use fetch mocks — no TOPGG_TOKEN is needed to run them.
License
ISC
Installing Topgg
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/Paillat-dev/topgg-mcpFAQ
Is Topgg MCP free?
Yes, Topgg MCP is free — one-click install via Unyly at no cost.
Does Topgg need an API key?
No, Topgg runs without API keys or environment variables.
Is Topgg hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Topgg in Claude Desktop, Claude Code or Cursor?
Open Topgg on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Gmail
Read, send and search emails from Claude
by GoogleSlack
Send, search and summarize Slack messages
by SlackRunbear
No-code MCP client for team chat platforms, such as Slack, Microsoft Teams, and Discord.
Discord Server
A community discord server dedicated to MCP by [Frank Fiegel](https://github.com/punkpeye)
Compare Topgg with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All communication MCPs
