MCP.so
Sign In

Python Server MCP - Cryptocurrency Price Service

@stevearagonsite

About Python Server MCP - Cryptocurrency Price Service

A template repository for MCP

Config

Add this server to your MCP-compatible client using the configuration below.

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

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Python Server MCP - Cryptocurrency Price Service?

An MCP (Model Context Protocol) server that provides real-time cryptocurrency price information using the CoinMarketCap API. It is built with Python and the MCP framework, designed for clients that need structured crypto price data.

How to use Python Server MCP - Cryptocurrency Price Service?

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.

Key features of Python Server MCP - Cryptocurrency Price Service

  • 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

Use cases of Python Server MCP - Cryptocurrency Price Service

  • Integrate live crypto prices into AI‑powered assistants or chatbots
  • Provide structured price data to automated trading or alerting systems
  • Serve as a backend for personal finance dashboards that track multiple coins
  • Use as a reference MCP server implementation for learning or prototyping

FAQ from Python Server MCP - Cryptocurrency Price Service

What are the requirements to run this server?

Python 3.12+ and uv for package/virtual environment management. Docker is optional but required for container execution.

How do I configure the CoinMarketCap API key?

Create a .env file in the project root with COINMARKETCAP_API_KEY=your_api_key_here. Optionally set ENVIRONMENT to LOCAL, DEV, STAGING, or PROD.

How do I run the server locally?

Ensure dependencies are installed (uv sync), then run python main.py. The server listens on stdio for MCP requests.

How can I build and run this server with Docker?

Build the image with docker build -t mcp/python-server-mcp -f Dockerfile ., then run it interactively with docker run -i --rm mcp/python-server-mcp. Add the container configuration to your client’s mcp.json.

How can I add a new tool to the server?

Define the tool function in src/__init__.py, register it using the @server.add_tool decorator in main(), and document it with docstrings.

Frequently asked questions

What are the requirements to run this server?

Python 3.12+ and `uv` for package/virtual environment management. Docker is optional but required for container execution.

How do I configure the CoinMarketCap API key?

Create a `.env` file in the project root with `COINMARKETCAP_API_KEY=your_api_key_here`. Optionally set `ENVIRONMENT` to LOCAL, DEV, STAGING, or PROD.

How do I run the server locally?

Ensure dependencies are installed (`uv sync`), then run `python main.py`. The server listens on stdio for MCP requests.

How can I build and run this server with Docker?

Build the image with `docker build -t mcp/python-server-mcp -f Dockerfile .`, then run it interactively with `docker run -i --rm mcp/python-server-mcp`. Add the container configuration to your client’s `mcp.json`.

How can I add a new tool to the server?

Define the tool function in `src/__init__.py`, register it using the `@server.add_tool` decorator in `main()`, and document it with docstrings.

Comments

Basic information

Category

Other

License

GPL-3.0

Transports

stdio

Publisher

stevearagonsite

More Other MCP servers