Python Server MCP - Cryptocurrency Price Service
@stevearagonsite
Python Server MCP - Cryptocurrency Price Service について
A template repository for MCP
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"PythonServerMcp": {
"command": "uv",
"args": [
"venv"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
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.
よくある質問
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.
基本情報
「その他」の他のコンテンツ
Activepieces
activepiecesAI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
MCP Registry
modelcontextprotocolA community driven registry service for Model Context Protocol (MCP) servers.
XcodeBuildMCP
cameroncookeA Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
AutoBrowser MCP
autobrowser-aiBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
Inbox Zero AI
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
コメント