MCP.so
Sign In

Stock Price MCP Server

@ekadetov

About Stock Price MCP Server

A Simple MCP Server

Basic information

Category

Finance & Commerce

Runtime

python

Transports

stdio

Publisher

ekadetov

Config

No standard config provided

This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.

Repository

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Stock Price MCP Server?

A Model Context Protocol server that provides stock price information using the yfinance library, enabling tools to fetch prices, historical data, and compare stocks.

How to use Stock Price MCP Server?

Clone the repository, install dependencies with pip install -r requirements.txt, then run python stock_price_server.py. Use tools like get_stock_price(symbol) or resources at stock://{symbol}.

Key features of Stock Price MCP Server

  • Fetch current stock prices for any ticker
  • Retrieve historical stock data in CSV format
  • Compare prices between two stocks
  • Expose stock data via resource interface

Use cases of Stock Price MCP Server

  • Get latest price for a specific stock symbol
  • Compare two stocks for investment decisions
  • Retrieve historical data for analysis
  • Integrate stock data into AI assistants via MCP

FAQ from Stock Price MCP Server

What are the runtime dependencies?

Python 3.7+, mcp-server, yfinance, FastAPI, and Uvicorn.

How does it handle invalid ticker symbols?

Returns appropriate error messages instead of crashing.

Where does the stock data come from?

It uses the yfinance library to fetch data from Yahoo Finance.

How are market closures handled?

The server manages market closures and provides fallback price information.

Comments

More Finance & Commerce MCP servers