crypto-mcp-server
A Java MCP server that fetches the real-time crypto coin prices from the CoinGecko API
Documentation
Crypto MCP Server
This project integrates the Model Context Protocol (MCP) using a server built with Spring AI.
It fetches real-time cryptocurrency prices from the CoinGecko API and exposes the data through an MCP-compliant interface.
This enables seamless integration with AI agents, automation tools, and intelligent applications that depend on structured, real-time financial data.
See: https://github.com/modelcontextprotocol
Features
- MCP Protocol Support: Implements the MCP server protocol using Spring AI for seamless interoperability.
- Real-Time Crypto Prices: Fetches up-to-date prices for various cryptocurrencies from the CoinGecko API.
- Spring Boot Integration: Built on top of Spring Boot for easy configuration, extension, and deployment.
- Extensible: Easily add support for more cryptocurrencies or data sources.
Getting Started
Prerequisites
- Java 17 or later
- Maven
Generate the JAR package
mvn clean packageJSON for this (local) MCP server
{
"mcpServers": {
"crypto-price": {
"command": "/opt/homebrew/opt/openjdk@17/libexec/openjdk.jdk/Contents/Home/bin/java",
"args": ["-jar", "/Users/{user}/projects/crypto-mcp-server/target/crypto-0.0.1-SNAPSHOT.jar"]
}
}
}See: https://modelcontextprotocol.io/quickstart/user#2-add-the-filesystem-mcp-server
Example of prompt on Claude desktop
Learn more
- https://smithery.ai
- https://mcp.so
Frequently asked questions
What is crypto-mcp-server?
crypto-mcp-server is A Java MCP server that fetches the real-time crypto coin prices from the CoinGecko API
How do I install crypto-mcp-server?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is crypto-mcp-server open source?
Yes — it is hosted on GitHub at https://github.com/leosrdev/crypto-mcp-server.
Related MCP tools
MCP Server for Ghidra Java-based implementation. Trusted by 6400+ developers. Trusted by 6400+ developers. Trusted by 6400+ developers.
The official Java SDK for Model Context Protocol servers and clients. Maintained in collaboration with Spring AI Trusted by 2800+ developers.
A library for communication with a Minecraft client/server. Built for the Model Context Protocol to enhance AI capabilities. Java-based implementation.
Model Context Protocol Servers
Pre-indexed code knowledge graph, auto syncs on code changes, for Claude Code, Codex, Gemini, Cursor, OpenCode, AntiGravity, Kiro, CoPilot, and Hermes Agent — fewer tokens, fewer tool calls, 100% local
an open source, extensible AI agent that goes beyond code suggestions - install, execute, edit, and test with any LLM
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP