mcp
MCP server from moonbanking/mcp-server
claude mcp add --transport stdio moonbanking-mcp-server npx -y @moonbanking/mcp-server \ --env MOON_BANKING_API_KEY="Bearer mb_sk_..."
How to use
The Moon Banking MCP server exposes a collection of endpoints to interact with Moon Banking data, following the MCP (Model Context Protocol) standard. It is generated from the OpenAPI specification for Moon Banking and provides tools to retrieve and filter information about banks, countries, stories, and votes, as well as global overview data. When running the server, you can tailor which tools are exposed using the --tool flag, for example to enable only specific endpoints you need. Typical usage involves authenticating with an API key via the MOON_BANKING_API_KEY environment variable and then invoking the available MCP endpoints through a client that supports the MCP protocol. The server supports common endpoints like bank_get, bank_getById, country_get, story_get, world_getOverview, and search_get, along with their variants that allow pagination, filtering, and inclusion of related data such as scores and country information.
How to install
Prerequisites:
- Node.js and npm (or npx) installed on your machine
- Access to the Moon Banking OpenAPI-based MCP server package: @moonbanking/mcp-server
Installation steps:
-
Ensure Node.js is installed. You can verify with: node -v npm -v
-
Install or run directly via npx (no global install required): export MOON_BANKING_API_KEY="Bearer your_api_key_here" npx -y @moonbanking/mcp-server
-
If you prefer to pin a version or configure for a client, you can create an MCP config JSON like: { "mcpServers": { "moonbanking-mcp": { "command": "npx", "args": ["-y", "@moonbanking/mcp-server"], "env": { "MOON_BANKING_API_KEY": "Bearer your_api_key_here" } } } }
-
For Cursor or Claude Code integrations, follow their respective setup guides and supply the same MOON_BANKING_API_KEY in the environment configuration.
Note: Replace Bearer your_api_key_here with your actual API key or token. Ensure the API key has the necessary permissions to access Moon Banking MCP endpoints.
Additional notes
Tips and known considerations:
- The API key must be provided via MOON_BANKING_API_KEY in the environment when starting the MCP server.
- Use the --tool flag to limit exposure to only the endpoints you need, e.g., --tool=bank_get --tool=bank_getById.
- Make sure to keep the MCP server up to date with the latest @moonbanking/mcp-server package to benefit from new endpoints and security fixes.
- If integrating with clients like Cursor or Claude Code, configure their respective settings pages (mcp.json or Claude config) to supply the environment variable and the npx command as shown above.
- When testing pagination endpoints (bank_get, country_get, story_get), you can adjust page sizes and filters to control the volume of data returned per request.
Related MCP Servers
zen
Selfhosted notes app. Single golang binary, notes stored as markdown within SQLite, full-text search, very low resource usage
MCP -Deepseek_R1
A Model Context Protocol (MCP) server implementation connecting Claude Desktop with DeepSeek's language models (R1/V3)
mcp-fhir
A Model Context Protocol implementation for FHIR
mcp
Inkdrop Model Context Protocol Server
mcp-appium-gestures
This is a Model Context Protocol (MCP) server providing resources and tools for Appium mobile gestures using Actions API..
dubco -npm
The (Unofficial) dubco-mcp-server enables AI assistants to manage Dub.co short links via the Model Context Protocol. It provides three MCP tools: create_link for generating new short URLs, update_link for modifying existing links, and delete_link for removing short links.