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.

评论

金融与商务 分类下的更多 MCP 服务器