topgg-mcp
This server lets AI assistants manage Top.gg listings (Discord bots, Discord servers, or Roblox games) via the Top.gg v1 API using the Model Context Protocol.
Retrieve project info (
get_project): Fetch details of the project associated with your API token.Update listing (
update_project): Modify the headline (3–140 chars) and page content (300–50,000 chars) with support for multiple locales (e.g.,en,de,fr,ja).Register Discord slash commands (
register_commands): Replace all slash commands for your bot project; passing an empty array clears them all.Fetch vote history (
get_votes): Retrieve paginated, cursor-based vote history starting from a specified date (up to 1 year ago).Check user vote status (
check_user_vote): Determine if a specific user has voted, with support for Top.gg and Discord ID namespaces.Submit metrics (
post_metrics): Post a single metrics update — Discord bot (server/shard counts), Discord server (member/online counts), or Roblox game (player count).Batch submit metrics (
post_metrics_batch): Send up to 100 timestamped metrics entries in a single request.Create announcements (
create_announcement): Publish categorized announcements (announcement,event,new_feature) with a title (3–100 chars) and content (10–2,000 chars), limited to one every 4 hours.
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 "Deploy 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-mcp get 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 a Top.gg Discord bot, Discord server, or Roblox game listing directly.
Tools
Tool | Description |
| Retrieve the project associated with your token |
| Update headline and page content (per locale) |
| Replace registered Discord slash commands (empty clears all) |
| Fetch paginated vote history (cursor-based) |
| Check whether a specific user has voted |
| Submit Discord bot/server or Roblox game metrics |
| Submit up to 100 metrics entries in one request |
| Post a categorized project announcement (1 per 4 hours) |
Related MCP server: Tugboat 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.
Method | Endpoint | Tool |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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:coverageTests use fetch mocks — no TOPGG_TOKEN is needed to run them.
License
ISC
Available Tools
8 toolscheck_user_voteB
Check the current vote status for a specific user on this Top.gg project.
Inputs: userId (required), source, project.
create_announcementA
Create an announcement for the current Top.gg project. Rate-limited to one announcement per 4 hours.
Inputs: title (required), content (required), project, category.
get_projectB
Retrieve the Top.gg project associated with the authenticated token.
Inputs: project.
get_votesA
Fetch a page of vote history for the current Top.gg project. For the first page, provide startDate (ISO 8601, max 1 year ago). For subsequent pages, pass the cursor returned by the previous response. An empty data array means there are no more votes.
Inputs: cursor, project, startDate.
post_metricsB
Submit a metrics payload for the current Top.gg project. Provide the fields relevant to your project type.
Inputs: project, shard_count, member_count, online_count, +2 more.
post_metrics_batchB
Submit up to 100 metrics entries in a single batch request.
Inputs: data (required), project.
register_commandsA
Replace all registered Discord slash commands for the current Top.gg bot project.
Inputs: commands (required), project.
update_projectB
Update the headline and/or page content of the current Top.gg project listing.
Inputs: project, headline, pageContent.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Each tool targets a distinct action (project info, announcement, update, commands, votes, metrics). The vote and metrics tools are clearly differentiated by single vs. batch/list, so no ambiguity.
All tool names follow a consistent verb_noun pattern with lowercase and underscores (e.g., get_project, post_metrics_batch), making them predictable and easy to understand.
Eight tools cover the essential operations for managing a Top.gg project without being excessive. The count is well-scoped for the domain.
Core operations are covered, but there are minor gaps: no delete for project or announcement, no update for announcements or commands. The set is functional but not fully comprehensive.
Maintenance
Related MCP Connectors
Deploy and manage Jade Hosting projects from AI clients. Jade account and OAuth required.
Manage DocsBot agents, knowledge sources, conversations, reporting, and teams with OAuth.
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Manage BioFlow link-in-bio pages, blocks, leads, and analytics from AI agents.
Related MCP Servers
- AlicenseBqualityFmaintenanceEnables AI assistants to manage StashDog inventory through natural language commands, supporting item management, collections, tags, smart search, and URL imports with secure authentication.11MIT

Tugboat MCP Serverofficial
AlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage Tugboat projects, previews, and repositories via the Tugboat API, supporting operations like creating, building, and deleting previews.4MIT- AlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with VoteShip feature requests, voting boards, roadmaps, and changelogs, including public board access without credentials and authenticated project administration with a project secret.MIT
- AlicenseAqualityBmaintenanceEnables AI assistants to manage a Statuser account directly, including monitoring servers, handling incidents, publishing status page updates, and configuring notifications.9987 npm24MIT