HopBase MCP Server
Read-only HopBase AI gateway tools: models, limits, docs search, balance and usage for your API key.
HopBase scores 66 (Good), licensed MIT. It can be reached as a remote MCP endpoint. It declares 6 tools. Filed under AI and memory. GitHub shows 0 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
66 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade A
90/100 for listing completeness. Lost points: short README, short summary.
How quality is graded
Where the 66 comes from
22 + 20 + 0 + 10 + 4 + 10 = 66. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Remote auth: API key required. Get a key or token from the provider first, then add it as a header in your client config. How remote auth works
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "hopbase-ai-hopbase-mcp": { "url": "https://api.hop-base.com/mcp" } }}
Environment variables
This server does not declare environment variables.
Tools6Tool docs quality grade B
All capabilitiesget_balancetoolAccount balance and this key's spend-cap usage, in USD
get_key_infotoolKey name, groups, spend cap, concurrency cap, expiry, and status
get_model_limitstoolFor one model ID: whether this key can call it, plus the endpoints, request parameters, and limits documented for it, with links to the source pages
get_usagetoolRequests, tokens, and billed cost for this key; last 7 days by default, up to 92 days
list_modelstoolModels this key can call, with effective prices
search_docstoolThe docs sections that best match a query (model ID, parameter name, error code), each with URL and snippet; lang selects en, zh-cn, zh-tw, es or ja
About
HopBase MCP server
HopBase is an AI gateway that serves Claude, GPT, Gemini, DeepSeek and other text, image and video models through one base URL. This MCP server lets a coding agent look up what its HopBase API key can do: which models it can call, their limits, its balance and its usage.
- Endpoint:
https://api.hop-base.com/mcp - Transport: Streamable HTTP, stateless, POST only (one JSON-RPC message per request; no SSE stream or batch requests)
- Authentication:
Authorization: Bearer <key>orx-api-key: <key>, with the same API key you use for model calls. Required to call a tool; listing the tools needs no key - Scope: read-only; every result covers only the key in use
This is a hosted service and its source is not published. This repository holds the MCP registry manifest (server.json) and client configs.
Tools
| Tool | Returns |
|---|---|
list_models | Models this key can call, with effective prices |
get_model_limits | For one model ID: whether this key can call it, plus the endpoints, request parameters, and limits documented for it, with links to the source pages |
search_docs | The docs sections that best match a query (model ID, parameter name, error code), each with URL and snippet; lang selects en, zh-cn, zh-tw, es or ja |
get_balance | Account balance and this key's spend-cap usage, in USD |
get_key_info | Key name, groups, spend cap, concurrency cap, expiry, and status |
get_usage | Requests, tokens, and billed cost for this key; last 7 days by default, up to 92 days |
get_model_limits and search_docs read the published docs and refresh at most once an hour. The linked docs page is authoritative: a limit missing from a result does not mean there is none.
Setup
You need a HopBase API key: create one in the console and export it as HOPBASE_API_KEY.
Claude Code
claude mcp add --transport http hopbase https://api.hop-base.com/mcp \
--header "Authorization: Bearer $HOPBASE_API_KEY"
The shell expands the variable when you run the command, so the key is saved in your local Claude Code configuration. For a shared project configuration, put examples/claude-code.mcp.json in the project as .mcp.json instead; Claude Code expands ${HOPBASE_API_KEY} at startup, so the file holds no key.
Cursor
Save examples/cursor.mcp.json as .cursor/mcp.json in the project, or as ~/.cursor/mcp.json for every project:
{
"mcpServers": {
"hopbase": {
"url": "https://api.hop-base.com/mcp",
"headers": { "Authorization": "Bearer ${env:HOPBASE_API_KEY}" }
}
}
}
Other clients
Any client that supports remote Streamable HTTP servers with a custom header can connect: point it at the endpoint and send the Authorization header above.
Good to know
- The key decides what MCP sees.
list_modelsandget_model_limitssee only the groups of the key you configure. To inspect another model family, add its group to the key, or register a second server entry with a key that includes it. - Model calls do not go through MCP. Keep inference on the regular API endpoints (
https://api.hop-base.com/v1: OpenAI Chat Completions and Responses, Anthropic Messages, native Gemini, and the image and video task endpoints). - Calling a tool needs a key. The handshake (
initialize) andtools/listanswer without credentials, so clients and directories can discover the tools;tools/callwithout a key returns 401.
Links
- Coding-agent guide and MCP docs: https://hop-base.com/en/docs/getting-started/ai-agent
- Docs: https://hop-base.com/en/docs
- Machine-readable integration contract: https://hop-base.com/llms.txt
- Support: support@hop-base.com
License
The files in this repository are released under the MIT License.
Frequently asked questions
What is HopBase MCP Server?
Read-only HopBase AI gateway tools: models, limits, docs search, balance and usage for your API key.
How do I install HopBase MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. HopBase MCP Server connects to the remote endpoint https://api.hop-base.com/mcp, so there is nothing to install locally.
Is HopBase MCP Server free and open source?
Yes. HopBase MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does HopBase MCP Server support remote (HTTP) connections?
Yes. HopBase MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
What tools does HopBase MCP Server provide?
HopBase MCP Server provides 6 tools, including get_balance, get_key_info, get_model_limits, and get_usage. See the full tool list for descriptions and parameters.
How is HopBase MCP Server's trust score calculated?
HopBase MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.