US Stock Data MCP Server

US Stock Data MCP Server

us_stock_mcp_server•bymingyaw

An MCP server that stores US stock historical price data locally and supports retrieving and updating it.

License: Not specified•Runtime: Awaiting documentation review•Category: finance crypto

WHAT IT DOES

  • •Provides a get_local_stock_data tool that retrieves locally stored historical data for a stock symbol.
  • •Provides an update_stock_data tool that updates stock data from a configurable start date.
  • •Exposes a resource URI per symbol providing local historical price data.
  • •Stores stock data in CSV format locally and supports automatic updates from Yahoo Finance.

BEST FOR

  • •Retrieving historical OHLCV data for US stock symbols from a local store.
  • •Keeping local stock history refreshed from Yahoo Finance with atomic data writes.

ABOUT US_STOCK_MCP_SERVER

US Stock Data MCP Server is cataloged as an MCP server attributed to mingyaw. An MCP server that stores US stock historical price data locally and supports retrieving and updating it. It is categorized under finance crypto. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for US Stock Data MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What data fields are stored for each stock?

Stored records include date, open, high, low, close, and volume.

How are duplicate records and frequent API requests handled during updates?

Duplicates are automatically handled by keeping the latest records, and a 5-second delay is applied between update operations.

Upstream README

View this exact version on GitHub

README.md · cd3080191f0b · Fetched 2026-11-13 12:06:46 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

US Stock Data MCP Server

A Model Context Protocol (MCP) server designed for accessing and updating US stock historical price data.

Features

  • Local Data Storage: Store stock data in CSV format locally for quick access
  • Automatic Updates: Support for automatic stock data updates from Yahoo Finance
  • Safe Data Writing: Use temporary files to ensure atomic and secure data writing
  • Flexible Time Range: Customizable start date for data updates

Installation

  1. Ensure Python 3.x is installed
  2. Clone this repository
  3. Install dependencies:
pip install -r requirements.txt

Usage

1. Start the Server

python server.py

The default data storage path after server startup is: ~/Library/Application Support/us-market-data/data

You can customize the data storage path using the US_STOCK_DATA_DIR environment variable.

2. Available Features

MCP Tools

  1. get_local_stock_data

    • Function: Retrieve local stock historical data
    • Parameters:
      • symbol: Stock symbol, e.g., 'AAPL', 'MSFT'
  2. update_stock_data

    • Function: Update stock data
    • Parameters:
      • symbol: Stock symbol, e.g., 'AAPL', 'MSFT'
      • start_date: Start date in YYYY-MM-DD format, defaults to 2015-01-01

MCP Resources

  • Resource URI: usstock://{symbol}/historical
    • Function: Provide local US stock historical price data
    • Parameters:
      • symbol: Stock symbol

Data Format

The stored stock data includes the following fields:

  • Date: Trading date
  • Open: Opening price
  • High: Highest price
  • Low: Lowest price
  • Close: Closing price
  • Volume: Trading volume

Dependencies

  • mcp: MCP protocol implementation
  • pandas: Data processing and analysis
  • yfinance: Yahoo Finance data retrieval
  • pydantic: Data validation and settings management

Notes

  1. Duplicate data is automatically handled during updates, keeping the latest records
  2. A 5-second delay is implemented between update operations to avoid frequent API requests
  3. All data operations include error handling to ensure service stability

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for US Stock Data MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/us_stock_mcp_server)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related finance crypto MCP Servers

Alternative and complementary servers in the same category

View all in finance crypto →
USA Spending MCP Server
usaspending-mcp-server•thsmale

A stateless streamable HTTP MCP server for interacting with the official source of government spending data.

Repository stats unavailable
Finance & Analytics
Fortnox MCP server — More AI
more-ai-chatgpt-claude-mcp-fortnox•amor3

A hosted, remote MCP server for Fortnox that lets AI assistants answer questions from a company's bookkeeping and propose changes for approval before writing them.

0
Finance & Analytics

OptimistFi is a read-only remote MCP server that provides perpetual futures market data, perps prop firm rules and pricing, and US equity investment research.

Repository stats unavailable
Finance & Analytics