Yfinance MCP Server

The [Model Context Protocol (MCP)](https://modelcontextprotocol.io/introduction) is an open standard developed by Anthropic to enable seamless

Local serverstdioPython

What is the Yfinance MCP server?

Yfinance becomes available to MCP clients through the yfinance mcp server. The Model Context Protocol (MCP) is an open standard developed by Anthropic to enable seamless integration between Large Language Models (LLMs) and external tools, services, and data sources.

What Yfinance does

The Model Context Protocol (MCP) is an open standard developed by Anthropic to enable seamless integration between Large Language Models (LLMs) and external tools, services, and data sources.

Tools it exposes

Once connected, the assistant can call this tool directly:

  • Alternative — using Docker:

Installing the yfinance mcp server

Setup follows the standard MCP pattern: clone or install the server, then register it in your client's configuration file and restart the client. The configuration snippets on this page cover Claude Desktop, Claude Code and Cursor.

Where it fits

Cloud and DevOps servers put infrastructure on speaking terms with your assistant, so "why is this broken?" is answered from real state rather than a generic checklist. Yfinance sits in that group, and the shape of its toolset — Alternative — tells you what it is really for. Worth comparing against the other cloud devops servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.

Practical notes

  • This server runs locally, so it operates with whatever access your machine and its credentials already have. Scope that deliberately rather than by default.
  • Maintained by peidaqi, written in Python.
  • MCP clients ask for confirmation before each tool call by default. Keep that on while you learn what the yfinance mcp server actually does with your data.
  • Every entry in this directory is reviewed by hand before it goes live, and details are checked against the project's own documentation.

Available tools

ToolWhat it does
Alternativeusing Docker:

Example prompts to try

  • Use Yfinance to Alternative.

Frequently asked questions

It connects Yfinance to MCP-compatible AI assistants such as Claude and Cursor, exposing 1 tool (Alternative) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Yfinance directly.