Alpaca MCP Server
@berlinbra
关于 Alpaca MCP Server
MCP Server for Alpaca Crypto API
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"alpaca-mcp-berlinbra": {
"command": "docker",
"args": [
"build",
"-t",
"mcp/alpaca",
"."
]
}
}
}工具
1Get historical bar/candle data for cryptocurrencies
概览
What is Alpaca MCP Server?
Alpaca MCP Server is a Model Context Protocol server that provides real-time access to cryptocurrency market data through the Alpaca API. It implements a standardized interface for retrieving cryptocurrency data, suitable for use with LLM clients such as Claude Desktop.
How to use Alpaca MCP Server?
Install via Docker (build image, set environment variables) or UV (clone repository, install dependencies). Configure your Claude Desktop client by adding the server to claude_desktop_config.json with your Alpaca API key and secret. Use the provided get-crypto-bars tool to fetch historical bar/candle data for cryptocurrencies.
Key features of Alpaca MCP Server
- Real-time cryptocurrency market data via Alpaca API
- Daily, weekly, and monthly time series data
- Latest crypto exchange rates
- Historical bar/candle data retrieval
- Built-in error handling and rate limit management
- Single tool
get-crypto-barscurrently available
Use cases of Alpaca MCP Server
- Fetching historical crypto prices for analysis and modeling
- Integrating live crypto market data into LLM‑based applications
- Building financial dashboards with cryptocurrency data
- Automating crypto trading strategy backtesting with historical bars
FAQ from Alpaca MCP Server
What is the Alpaca MCP Server?
It is an MCP server that provides real‑time cryptocurrency market data through the Alpaca API, designed for use with LLM clients.
What tools are available?
Currently, the server implements the tool get-crypto-bars to retrieve historical bar/candle data for cryptocurrencies.
How do I install and configure the server?
You can install via Docker (build image and set environment variables) or UV (clone repo, install dependencies). Then add the server to your Claude Desktop configuration file with your Alpaca API key and secret.
What are the prerequisites?
Python 3.12 or higher, plus the packages httpx, mcp, alpaca-py, and python-dotenv for loading environment variables.
What error handling is included?
The server handles rate limit exceeded, invalid API key, network connectivity issues, timeouts, and malformed responses, returning clear, human‑readable error messages.
其他 分类下的更多 MCP 服务器
Production-ready MCP integrations for AI applications
Klavis-AIKlavis AI: MCP integration platforms that let AI agents use tools reliably at any scale
Inbox Zero AI MCP
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
Maestro
mobile-dev-incPainless E2E Automation for Mobile and Web

Sequential Thinking
modelcontextprotocolModel Context Protocol Servers
评论