Integrations
Integrates with CoinMarketCap API to retrieve real-time cryptocurrency price information and market data
Python Server MCP - Cryptocurrency Price Service
This project implements an MCP (Model Context Protocol) server that provides cryptocurrency price information. The server is built using Python and the MCP framework to create an API that can be consumed by different clients.
Features
- Real-time cryptocurrency price retrieval
- Environment-based configuration (development, production, staging, local)
- CoinMarketCap API integration
- Docker container deployment
Requirements
- Python 3.12+
- uv (package and virtual environment manager)
- Docker (optional, for container execution)
Installation
Using uv (recommended)
Create and activate virtual environment with uv
Install dependencies
uv sync
Configuration
- Create a
.env
file in the project root with the following variables:
- You can also create specific environment files for each environment:
.dev.env
- For development environment.staging.env
- For staging environment.prod.env
- For production environment
Usage
Local Execution
This will start the MCP server that will listen for requests through standard input/output (stdio).
Using Docker
Project Structure
Development
Adding New Tools to the MCP Server
To add a new tool to the MCP server, follow these steps:
- Define the function in the
src/__init__.py
file - Register the tool in the
main()
function - Document the tool with docstrings
Example:
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
A cryptocurrency price service that provides real-time crypto pricing information through an MCP (Model Context Protocol) framework with CoinMarketCap API integration.
Related MCP Servers
- AsecurityAlicenseAqualityReal-time cryptocurrency market data integration using CoinCap's public API, providing access to crypto prices and market information without API keysLast updated -314737TypeScriptMIT License
- AsecurityAlicenseAqualityA Model Context Protocol (MCP) server that provides comprehensive cryptocurrency analysis using the CoinCap API. This server offers real-time price data, market analysis, and historical trends through an easy-to-use interface.Last updated -313625TypeScriptMIT License
- -securityAlicense-qualityReal-time access to cryptocurrency data from the CoinMarketCap API.Last updated -266TypeScriptMIT License
- AsecurityAlicenseAqualityA Model Context Protocol (MCP) server that provides comprehensive cryptocurrency analysis using the CoinCap API. This server offers real-time price data, market analysis, and historical trends through an easy-to-use interface. Updated to use Coin Cap API v3Last updated -337TypeScriptMIT License