topgg-mcp
Provides tools for managing Top.gg bot or server listings, including retrieving project info, updating page content (per locale), registering Discord slash commands, fetching vote history, checking user votes, submitting metrics (server count, player count, etc.), and creating announcements.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@topgg-mcpget my bot's latest votes"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
topgg-mcp
A Model Context Protocol server for the Top.gg v1 API, letting AI assistants manage your Top.gg bot or server listing directly.
Tools
Tool | Description |
| Retrieve the project associated with your token |
| Update headline and page content (per locale) |
| Replace registered Discord slash commands |
| Fetch paginated vote history (cursor-based) |
| Check whether a specific user has voted |
| Submit metrics (server count, player count, etc.) |
| Submit up to 100 metrics entries in one request |
| Post a project announcement (rate-limited to 1 per 4 hours) |
Related MCP server: StashDog MCP Server
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-mcpMultiple 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.
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
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:coverageTests use fetch mocks — no TOPGG_TOKEN is needed to run them.
License
ISC
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Paillat-dev/topgg-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server