MCP.so
ログイン

MCP Crypto Price Lookup Server using ALPACA API

@Adity-star

基本情報

カテゴリ

金融とコマース

トランスポート

stdio

作者

Adity-star

MCP Crypto Price Lookup Server using ALPACA API について

概要はまだありません

MCP Crypto Price Lookup Server using ALPACA API の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "mcp-crypto-server": {
      "command": "uv",
      "args": [
        "init"
      ]
    }
  }
}

MCP Crypto Price Lookup Server using ALPACA API のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is 🪙 MCP Crypto Price Lookup Server using ALPACA API?

This server provides a cryptocurrency price lookup service powered by the Alpaca API and built for integration with the Model Context Protocol (MCP). It allows AI agents and clients to fetch real-time cryptocurrency prices and market data efficiently.

How to use 🪙 MCP Crypto Price Lookup Server using ALPACA API?

Set up the environment with uv, install dependencies (mcp[cli], httpx), copy the server script, and start the server with uv run mcp_server.py. Then configure your MCP client to point to the server using the provided JSON config block, replacing absolute paths to uv and the project directory.

Key features of 🪙 MCP Crypto Price Lookup Server using ALPACA API

  • Fetches real-time crypto prices (e.g., BTC/USD, ETH/USD)
  • Accesses market data via Alpaca’s REST API
  • Serves AI agents with quick, formatted responses
  • Written in Python using FastMCP and httpx
  • Easy setup with uv package manager

Use cases of 🪙 MCP Crypto Price Lookup Server using ALPACA API

  • AI agents requesting live cryptocurrency prices
  • Integrating real-time market data into conversational interfaces
  • Automated trading or portfolio monitoring assistants

よくある質問

1

What dependencies are required?

The server requires Python, `uv`, and the packages `mcp[cli]` and `httpx`. An Alpaca API key (or, in the provided code example, a CoinGecko API key) is needed.

2

How do I configure the server in my MCP client?

Add a JSON entry to your MCP config with the `command` set to the absolute path of `uv`, and `args` including `--directory` pointing to the project folder and `run mcp_server.py`.

3

Does the server use Alpaca or CoinGecko?

The README states it uses the Alpaca API, but the included code snippet demonstrates a version using the CoinGecko API. You can modify `mcp_server.py` to use either API by adding your own tools.

4

What cryptocurrencies are supported?

Any cryptocurrency supported by the underlying API (Alpaca or CoinGecko) can be queried; the tool accepts a `crypto_id` parameter (e.g., `bitcoin`, `ethereum`).

5

What transports does the server support?

The server uses the default MCP transport (stdio) as it is started as a command-line process. No HTTP or WebSocket transport is mentioned.

コメント

「金融とコマース」の他のコンテンツ