Get the FREE Ultimate OpenClaw Setup Guide →

bitcoin

MCP server from kirtiapte/bitcoin-mcp-server

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio kirtiapte-bitcoin-mcp-server java -jar /path/to/bitcoinn-mcp-server/target/bitcoinn-mcp-server-0.0.1-SNAPSHOT.jar

How to use

This MCP server exposes an LLM-accessible interface for tracking Bitcoin prices via CoinGecko APIs. It acts as a bridge between your language model and live price data, enabling natural language queries like 'What is the current price of Bitcoin?' or 'Show me the 24-hour price trend.' The server is built on the Spring AI MCP framework and serves capabilities through a standardized protocol so that compatible AI agents can discover and invoke its price-tracking functions without direct API integration. To use it, deploy the Java-based MCP server and point your MCP client at the server URL; the client will then be able to request price data, historical price points, and simple analytics provided by the CoinGecko-backed data source weaved into the MCP interface.

How to install

Prerequisites:

  • Java (JDK 8+)
  • Maven or the provided Maven wrapper (mvnw)
  • Access to the project source or a built JAR as specified in the configuration

Step-by-step:

  1. Install Java JDK on your machine or server.

    • Verify: java -version
  2. Build the MCP server from source (if you have the repository):

./mvnw clean package

(If you are using a pre-built JAR, skip this step and use the provided JAR path in the configuration.)

  1. Confirm the JAR artifact exists at the path specified in mcp_config:
ls -l /path/to/bitcoinn-mcp-server/target/bitcoinn-mcp-server-0.0.1-SNAPSHOT.jar
  1. Run the MCP server using the configuration example provided in the README:
java -jar /path/to/bitcoinn-mcp-server/target/bitcoinn-mcp-server-0.0.1-SNAPSHOT.jar
  1. Point your MCP client to the server URL and begin invoking its capabilities. If needed, adjust environment variables like JAVA_HOME or additional JVM options for memory constraints.

Additional notes

Tips and considerations:

  • Ensure the CoinGecko API access is not blocked by network policies; the server relies on CoinGecko endpoints for price data.
  • If you update the Jar, remember to restart the MCP server to load the new code.
  • Use clear capability names in your MCP client configuration to map to specific Bitcoin data queries (e.g., current price, 24h change, price history).
  • If you encounter port or binding issues, verify firewall rules and that the MCP server is reachable from the client environment.
  • The sample configuration uses a descriptive server name (bitcoin-mcp-server); you can rename it to your preference as long as your MCP client uses the same key.
  • For deployment on cloud or container platforms, package the JAR into your deployment artifacts and adjust the command accordingly (e.g., docker run java -jar ...).

Related MCP Servers

Sponsor this space

Reach thousands of developers