M

MCP Finance Server Py

A simple MCP server built with Python, providing two example tools: converting company names to stock codes and obtaining financial data from Yahoo Finance, mainly used for learning the construction and operation of MCP servers.
2.5 points
15

What is the Finance MCP Server?

This is a simple MCP server built with Python, mainly providing two financial data query functions: converting company names to stock codes and obtaining financial data from Yahoo Finance. This project is mainly used to demonstrate how to build and run an MCP server.

How to use the Finance MCP Server?

You can directly run the server by installing the Python package, or configure it in MCP clients such as Claude Desktop for use.

Applicable scenarios

Suitable for scenarios where you need to quickly query stock codes or obtain basic financial data, mainly for learning and demonstration purposes.

Main features

Convert company names to stock codesInput a company name and return the corresponding stock trading code
Query financial dataObtain the financial data of a specified company from Yahoo Finance

Advantages and limitations

Advantages
Easy to use and quickly deployable
Provide basic financial data query functions
Suitable for learning and demonstrating the principle of MCP servers
Limitations
Relatively basic functions
Dependent on the data source of Yahoo Finance
Not suitable for complex requirements in production environments

How to use

Install the server
Install the finance - mcp package via pip
Run the server
Directly run the finance - mcp command to start the server
Configure the MCP client
Add the server configuration to the MCP client configuration file

Usage examples

Query the stock code of a companyQuery the corresponding stock trading code through the company name
Obtain financial dataQuery the financial data of a specified company

Frequently Asked Questions

Which data sources does this server support?
How to modify the server port?
Is this server suitable for use in a production environment?

Related resources

Video tutorial
A practical guide video for building an MCP server
GitHub repository
Project source code
Installation
Copy the following command to your Client for configuration
Note: Your key is sensitive information, do not share it with anyone.
Featured MCP Services
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
1.7K
5 points
N
Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
160
4.5 points
G
Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
108
4.3 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
845
4.3 points
U
Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
581
5 points
F
Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
6.7K
4.5 points
M
Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
768
4.8 points
G
Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
297
4.5 points
AIbase
Zhiqi Future, Your AI Solution Think Tank
© 2025AIbase