mcp-finance-server-py
A minimal MCP server built with Python that exposes two example tools: one to convert a company name into a stock symbol, and another to fetch financial data from Yahoo Finance. The project focuses on learning how to build and run an MCP server—using a simple financial scenario purely as a demo use case.
Documentation
Finance MCP Server
A minimal MCP server built with Python that exposes two example tools: one to convert a company name into a stock symbol, and another to fetch financial data from Yahoo Finance. The project focuses on learning how to build and run an MCP server—using a simple financial scenario purely as a demo use case.
Installation
Development Installation
# Clone the repository
git clone https://github.com/yourusername/mcp-finance-server-py.git
cd mcp-finance-server-py
# Install in development mode
uv pip install -e .Production Installation
uv pip install finance-mcpUsage
Running the Server Directly
finance-mcpConfiguration with Claude Desktop or other MCP clients
Add this to your MCP configuration file (e.g., `claude_desktop_config.json`):
{
"mcpServers": {
"finance-mcp": {
"command": "uv",
"args": [
"--directory",
"/absolute/path/to/mcp-finance-server-py", // Update this path
"run",
"finance-mcp"
]
}
}
}Video Walkthrough

**Watch: Build Your Own MCP Server: Practical Guide with Python SDK and Cursor IDE**
This video provides context and explanations that complement the code in this repository:
- See the MCP server in action with a practical demonstration in Cursor IDE
- Understand the design decisions behind the implementation
- Learn how the different components work together
- Get insights into how AI models discover and interact with custom tools
If you're looking to understand not just the "what" but the "why" behind this MCP implementation, the video offers a guided tour through the development process and explains the reasoning behind key architectural choices.
Frequently asked questions
What is mcp-finance-server-py?
mcp-finance-server-py is A minimal MCP server built with Python that exposes two example tools: one to convert a company name into a stock symbol, and another to fetch financial data from Yahoo Finance. The project focuses on learning how to build and run an MCP server—using a simple financial scenario purely as a demo use case.
How do I install mcp-finance-server-py?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is mcp-finance-server-py open source?
Yes — it is hosted on GitHub at https://github.com/esurovtsev/mcp-finance-server-py and has 3 stars.
Related MCP tools
🙌 OpenHands: Code Less, Make More for the Model Context Protocol. Enhance AI assistants with powerful integrations. Python-based implementation.
Universal memory layer for AI Agents; Announcing OpenMemory MCP - local and secure memory management. Python-based implementation.
基于大模型搭建的聊天机器人,同时支持 微信公众号、企业微信应用、飞书、钉钉 等接入,可选择ChatGPT/Claude/DeepSeek/文心一言/讯飞星火/通义千问/ Gemini/GLM-4/Kimi/LinkAI,能处理文本、语音和图片,访问操作系统和互联网,支持基于自有知识库进行定制企业智能客服。
An LLM agent that conducts deep research (local and web) on any given topic and generates a long report with citations. Built for the Model Context Protocol to
🚀 The fast, Pythonic way to build MCP servers and clients Trusted by 19900+ developers. Trusted by 19900+ developers. Trusted by 19900+ developers.
🔥 MaxKB is an open-source platform for building enterprise-grade agents. MaxKB 是强大易用的开源企业级智能体平台。 for the Model Context Protocol. Enhance AI assistants with po
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP