US Stock Data MCP Server

Created By
mingyawa year ago
Overview

what is US Stock Data MCP Server?

The US Stock Data MCP Server is a Model Context Protocol (MCP) server designed for accessing and updating US stock historical price data.

how to use US Stock Data MCP Server?

To use the server, clone the repository, install the dependencies, and start the server using the command python server.py. You can customize the data storage path using the US_STOCK_DATA_DIR environment variable.

key features of US Stock Data MCP Server?

  • 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.

use cases of US Stock Data MCP Server?

  1. Retrieving historical stock data for analysis.
  2. Keeping stock data updated automatically for research purposes.
  3. Storing and managing stock data locally for quick access.

FAQ from US Stock Data MCP Server?

  • How do I retrieve local stock data?

Use the get_local_stock_data function with the stock symbol as a parameter.

  • Can I update stock data for a specific date range?

Yes, you can specify a start date when using the update_stock_data function.

  • What happens if there is duplicate data during updates?

Duplicate data is automatically handled, keeping the latest records.

Project Info
Created At
a year ago
Updated At
a year ago
Author Name
mingyaw
Star
0
Language
Python
License
MIT license

Recommend Servers

View All
Crevio

a day ago