Kotlin Spring AI MCP server demo. Getting Cryptocurrency pricing from Binance
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"kotlin-cyrpto-price-spring-mcp-server-demo": {
"command": "<see-readme>",
"args": []
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
A demonstration project showcasing the integration of Spring AI's Model Context Protocol (MCP) server with a cryptocurrency price API service. This project allows AI models to retrieve real-time cryptocurrency information through a standardized interface.
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in finance
A Model Context Protocol server for building an investor agent
Real-time financial market data: stocks, forex, crypto, commodities, and economic indicators
MCP server that provides LLMs with tools for interacting with EVM networks
A Model Context Protocol (MCP) server that provides AI assistants with direct access to the Spreedly payments API. Enables LLMs to manage gateways, process transactions, tokenize payment methods, and more, through structured, validated tool calls.
MCP Security Weekly
Get CVE alerts and security updates for Kotlin Cyrpto Price Spring Mcp Server Demo and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A demonstration project showcasing the integration of Spring AI's Model Context Protocol (MCP) server with a cryptocurrency price API service. This project allows AI models to retrieve real-time cryptocurrency information through a standardized interface.
This project implements a Spring Boot application that serves as an MCP server, providing tools for AI models to:
The application uses the CoinGecko API to fetch real-time cryptocurrency data.
src/main/kotlin/org/gaplo917/mcpservercoinprice/
├── CoinPriceService.kt # Service for cryptocurrency data retrieval
├── McpServerCoinPriceApplication.kt # Main application class
./gradlew bootRun
The MCP server will start on the default port (typically 8080).
The application exposes the following tools for AI models:
@Tool(description = "search cryptocurrency information by user input query.")
fun searchCryptocurrency(query: String): CryptoData
@Tool(description = "get cryptocurrency market data by id. The id must be used by the return of the searchCryptocurrency tools.")
fun getMarketDataByCryptocurrencyId(id: String): CryptoMarketData
CryptoData: Contains lists of coins, exchanges, categories, and NFTsCryptoMarketData: Contains market data including tickers for a specific cryptocurrencyCoin: Represents a cryptocurrency with its ID, name, symbol, and market cap rankTicker: Contains trading information for a cryptocurrency on a specific marketThis server can be used with AI models that support the Model Context Protocol (MCP), allowing them to retrieve cryptocurrency data in a standardized way. The Spring AI MCP Server handles the communication between the AI model and the cryptocurrency service.
This project is licensed under the terms included in the LICENSE file.