crypto-stocks-mcp
Provides real-time and historical stock price data for Coinbase and other crypto-related stocks, enabling tracking and analysis of blockchain investment opportunities
Provides real-time and historical stock price data for MicroStrategy and other crypto-related stocks, enabling tracking and analysis of blockchain investment opportunities
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@crypto-stocks-mcp show me the latest price for Coinbase"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Crypto Stocks MCP
An MCP server that tracks real-time data for major crypto-related stocks to help AI agents analyze blockchain investment opportunities.
Features
List Crypto Stocks: Retrieve a list of crypto-related stocks (e.g., Coinbase, MicroStrategy) in a table format.
Real-Time Prices: Fetch the latest price for a specific stock, including ticker, company name, price, and timestamp.
Historical Data: Access historical stock prices and trading volumes for a specified number of days.
Query Prompts: Generate natural language prompts for querying stock information.
Related MCP server: crypto-portfolio-mcp
Installation
Prerequisites
Python 3.10 or higher
uv (recommended) or
pipfor dependency management
Setup
Clone the Repository:
git clone https://github.com/kukapay/crypto-stocks-mcp.git cd crypto-stocks-mcpInstall Dependencies:
Using
uv(recommended):uv syncInstall to Claude Desktop:
Install the server as a Claude Desktop application:
uv run mcp install main.py --name "Crypto Stocks"Configuration file as a reference:
{ "mcpServers": { "Crypto Stocks": { "command": "uv", "args": [ "--directory", "/path/to/crypto-stocks-mcp", "run", "main.py" ] } } }Replace
/path/to/crypto-stocks-mcpwith your actual installation path.
Usage
Example Interactions
Using an MCP-compatible client (e.g., Claude Desktop or MCP Inspector):
List All Stocks:
Prompt:
Show me all crypto-related stocks.
Result:
+----------+-------------------------------------+ | Ticker | Name | +==========+=====================================+ | COIN | Coinbase Global Inc. | | MSTR | MicroStrategy Incorporated | | MARA | Marathon Digital Holdings | | ... | ... | +----------+-------------------------------------+Get Real-Time Price:
Prompt:
What's the latest price for Coinbase?
Result:
+----------+-----------------------+---------+----------------------------+ | Ticker | Name | Price | Timestamp | +==========+=======================+=========+============================+ | COIN | Coinbase Global Inc. | 200.50 | 2025-08-07T17:15:00.123456| +----------+-----------------------+---------+----------------------------+Fetch Historical Data:
Prompt:
Show me the historical prices for MicroStrategy over the past 30 days.
Result:
+------------+---------+----------+ | Date | Close | Volume | +============+=========+==========+ | 2025-07-08 | 195.20 | 1200000 | | 2025-07-09 | 198.50 | 1300000 | | ... | ... | ... | +------------+---------+----------+Use Query Prompt:
Call the
stock_queryprompt withCOIN:Get the latest price and historical data for Coinbase Global Inc. (COIN).
License
This project is licensed under the MIT License. See the LICENSE file for details.
Available Tools
3 toolsget_historical_pricesA
Fetch historical stock prices for the given ticker over the specified number of days in a table format.
Args:
ticker (str): The stock ticker symbol (e.g., 'COIN' for Coinbase).
days (int, optional): Number of days for historical data (default: 30).
Returns:
str: An ASCII table string containing the date, closing price, and volume for the specified stock.
Returns an error message if the ticker is invalid.
Inputs: ticker (required), days. Returns: result
get_stock_listB
Return a list of available crypto-related stocks in a table format.
Returns:
str: An ASCII table string containing the ticker and name of crypto-related stocks.
Inputs: no named parameters. Returns: result
get_stock_priceA
Get real-time price for a specific stock in a table format.
Args:
ticker (str): The stock ticker symbol (e.g., 'COIN' for Coinbase).
Returns:
str: An ASCII table string containing the ticker, company name, current price, and timestamp.
Returns an error message if the ticker is invalid.
Inputs: ticker (required). Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose: get_historical_prices retrieves past data over a time range, get_stock_list provides available stocks, and get_stock_price gives current real-time data. There is no overlap in functionality that could cause confusion.
All tool names follow a consistent verb_noun pattern with snake_case: get_historical_prices, get_stock_list, and get_stock_price. This uniformity makes the tool set predictable and easy to understand.
With only 3 tools, the set feels thin for a crypto-stocks domain, lacking operations like search, update, delete, or more advanced analytics. However, it covers basic read operations adequately, placing it at the borderline of being under-scoped.
The tool set is significantly incomplete for a crypto-stocks server. It only provides read operations (get/list) with no ability to create, update, or delete data, and misses essential features like portfolio management, alerts, or detailed financial metrics, which are typical in this domain.
Maintenance
Related MCP Connectors
Unlock the power of real-time cryptocurrency data with our Crypto Price Insights MCP server.
Official Intrinio MCP server. US stock prices, options and fundamentals for AI agents.
Trading MCP server for AI agents, with live market data, account reads and controlled execution.
MCP server connecting AI agents to non-custodial staking data across 130+ networks.
Related MCP Servers
- AlicenseAqualityDmaintenanceAn MCP server that delivers cryptocurrency sentiment analysis to AI agents.547MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server for tracking and managing cryptocurrency portfolio allocations, enabling AI agents to query and optimize portfolio strategies in real time.10MIT
- AlicenseBqualityDmaintenanceAn MCP server that provides cryptocurrency project data to AI agents11MIT
- AlicenseAqualityDmaintenanceThe first blockchain & cryptocurrency MCP server that connects AI agents to Ethereum, Solana, Bitcoin, and cryptocurrency markets.939 npmMIT