Crypto MCP Server
Fetches real-time cryptocurrency prices from the CoinGecko API.
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 package
JSON 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
Related Servers
Cloudflare MCP Server
A template for deploying a remote MCP server on Cloudflare Workers without authentication.
Remote MCP Server on Cloudflare
A self-hostable MCP server for Cloudflare Workers with OAuth login support, using Cloudflare KV for storage.
Salesforce Lite
A simple and lightweight server for connecting AI assistants to Salesforce data.
Cloudflare DNS
Manage Cloudflare DNS records for your domains.
OpenWeatherMap
Provides comprehensive weather data and forecasts using the OpenWeatherMap API.
Novita AI
Interact with the Novita AI API for image generation and other AI tasks.
CData Salesloft Server
A read-only MCP server by CData that enables LLMs to query live data from Salesloft.
Weather MCP Server
Provides real-time weather data from the US National Weather Service API.
Cloudflare MCP Server
Deploy a remote, authentication-free MCP server on Cloudflare Workers.
Remote MCP Server (Authless)
A remote MCP server deployable on Cloudflare Workers without authentication.