Python Server MCP - Cryptocurrency Price Service

by stevearagonsite

130 downloads
Not rated
GitHub

About

Provides real-time cryptocurrency price information using the CoinMarketCap API.

Details

Author
stevearagonsite
Downloads
130
Categories
Other, Cloud Service, Finance

- Real-time cryptocurrency price retrieval via CoinMarketCap
- Environment‑based configuration (LOCAL, DEV, STAGING, PROD)
- Docker container deployment for easy distribution
- Built with Python 3.12+ and the uv package manager
- Extensible tool‑registration system for adding new endpoints

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Python Server MCP - Cryptocurrency Price Service
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install dependencies with uv sync, configure a .env file with your COINMARKETCAP_API_KEY and ENVIRONMENT setting, then run python main.py locally or build and run a Docker container. The server communicates via stdio (MCP transport) and can be added to an MCP client’s mcp.json file.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "python server mcp - cryptocurrency price service": {
            "PythonServerMcp": {
                "command": "uv",
                "args": [
                    "venv"
                ]
            }
        }
    }
}

McpServers

{
    "PythonServerMcp": {
        "command": "uv",
        "args": [
            "venv"
        ]
    }
}

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.

Docker

Docker build:
docker build -t mcp/python-server-mcp -f Dockerfile .

Add the following to your mcp.json file:

{
"mcpServers": {
"python-server-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-p",
"8000:8000",
"-e",
"ENVIRONMENT",
"-e",
"COINMARKETCAP_API_KEY",
"mcp/python-server-mcp"
],
"env": {
"ENVIRONMENT": "PRODUCTION",
"COINMARKETCAP_API_KEY": "your-api-key",
}
}
}
}

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)

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.