✨ From vibe coding to vibe deployment. UBOS MCP turns ideas into infra with one message.

Learn more

UBOS Asset Marketplace: Tushare_MCP - Your AI-Powered Financial Data Assistant

In today’s fast-paced financial landscape, access to reliable and comprehensive data is paramount. The UBOS Asset Marketplace introduces Tushare_MCP, an intelligent stock data assistant powered by the Model Context Protocol (MCP), designed to provide seamless access to financial data for AI agents and applications. This tool, built upon the robust Tushare financial data interface, empowers users to leverage AI for in-depth financial analysis, informed decision-making, and strategic investment.

What is Tushare_MCP?

Tushare_MCP is a finance MCP tool that acts as a bridge between AI models and Tushare’s extensive financial data. It encapsulates a suite of functionalities accessible through standardized HTTP API interfaces, making it easy to integrate with various AI IDEs and applications. By leveraging the Model Context Protocol (MCP), Tushare_MCP enables AI agents to understand the context of financial queries, retrieve relevant data, and perform sophisticated analyses.

Key Features and Capabilities

Tushare_MCP offers a rich set of features tailored to meet the diverse needs of financial analysts, researchers, and AI developers:

  • Comprehensive Stock Data: Access fundamental stock information, real-time market data (daily, indicators), and historical price movements. The tool supports intelligent search by stock code or name.
  • In-Depth Financial Analysis: Retrieve detailed financial statements, including profit and loss statements, balance sheets, and cash flow statements. Query critical financial metrics for comprehensive performance evaluation.
  • Extensive Index and Market Data: Access basic information, constituent stocks, and global index data for major market indices, providing a broad view of market trends.
  • Shareholder and Company Fundamentals: Obtain shareholder information (number of shareholders, top 10 shareholders), daily equity market capitalization, and details of share pledge.
  • Hotlist and Thematic Data (Powered by hotlist.py):
    • KPL (KaiPanLa) Data: Access lists of concept themes (filterable by date, code, name), constituent stocks (filterable by date, theme code, stock code), and lists of stocks hitting limit up/down, stocks that opened the limit, stocks with natural limit ups, and stocks with competitive bidding.
    • Daily Limit Up/Down Statistics: Obtain detailed statistics on stocks hitting limit up (U), limit down (D), and stocks that opened the limit (Z) each day.
    • THS (TongHuaShun) Data: Access lists of sector indices (concepts, industries, regions), constituent stocks of concept sectors, daily market data for sector indices, and TongHuaShun App hotlist data (hot stocks, concept sectors, ETFs).
    • Eastmoney Data: Query daily concept sector data (filterable by code, name, date range) and daily constituent stocks of concept sectors.

Use Cases

Tushare_MCP empowers a wide range of use cases in the financial domain:

  • AI-Driven Financial Analysis: Integrate Tushare_MCP with AI models to automate financial analysis, identify investment opportunities, and manage risk.
  • Algorithmic Trading: Develop algorithmic trading strategies based on real-time market data and historical trends accessed through Tushare_MCP.
  • Financial Research: Conduct in-depth financial research using Tushare_MCP’s comprehensive data to uncover insights and trends.
  • Portfolio Management: Monitor and manage investment portfolios using real-time data and analytics provided by Tushare_MCP.
  • Robo-Advisory: Build robo-advisory platforms that provide personalized investment advice based on data-driven insights from Tushare_MCP.
  • Hot Trend Identification: Pinpoint trending stocks and sectors using the hotlist data for timely investment decisions.
  • Cross-Platform Validation: Confirm stock selection potential by cross-referencing data from multiple reputable sources.

Integrating Tushare_MCP with UBOS

UBOS (UBOS.tech) is a full-stack AI Agent Development Platform that enables businesses to orchestrate AI Agents, connect them with enterprise data, build custom AI Agents with their own LLM models, and create Multi-Agent Systems. Tushare_MCP seamlessly integrates with UBOS, extending the platform’s capabilities for financial applications.

By integrating Tushare_MCP into the UBOS platform, users can:

  • Connect AI Agents to Financial Data: Enable AI Agents built on UBOS to access real-time and historical financial data through Tushare_MCP.
  • Automate Financial Workflows: Automate tasks such as data retrieval, analysis, and report generation using AI Agents and Tushare_MCP.
  • Build Custom Financial AI Agents: Develop specialized AI Agents for financial analysis, trading, and portfolio management using UBOS and Tushare_MCP.
  • Orchestrate Multi-Agent Systems: Create complex financial workflows by orchestrating multiple AI Agents that interact with Tushare_MCP and other data sources.

Getting Started with Tushare_MCP

To begin using Tushare_MCP, follow these simple steps:

  1. Prerequisites:

    • Python 3.8+
    • Tushare Account and API Token (Register at Tushare Pro Token Application Page)
  2. Installation:

    • Clone the repository: bash git clone cd

    • Create and activate a virtual environment (recommended): bash python -m venv venv source venv/bin/activate # Linux/macOS

      venv/Scripts/activate # Windows

    • Install dependencies: bash pip install -r requirements.txt

  3. Configure Tushare Token:

    • Using a .env file (recommended):

      • Create a .env file in the project root directory.

      • Add the following line, replacing <Your TUSHARE_TOKEN> with your actual token:

        TUSHARE_TOKEN=

    • Using environment variables:

      • Set the TUSHARE_TOKEN environment variable before running server.py. bash export TUSHARE_TOKEN=“” # Linux/macOS

        set TUSHARE_TOKEN=“” # Windows (cmd)

        $env:TUSHARE_TOKEN=“” # Windows (PowerShell)

  4. Start the service: bash python server.py

  5. Add the corresponding Servers in the MCP service of your AI IDE software (such as Cursor or Trae).

Example Configuration for MCP-Compatible AI IDEs:

{ “mcpServers”: { “Tushare_mcp”: { “url”: “https://tushare-mcp.onrender.com/sse”, “type”: “sse” }, “hotlist_mcp”: { “url”: “https://hotlist-mcp.onrender.com/sse”, “type”: “sse” } } }

Why Choose Tushare_MCP?

  • Comprehensive Data Coverage: Access a wide range of financial data, including stock data, financial statements, index data, and hotlist trends.
  • Seamless Integration: Easily integrate Tushare_MCP with AI agents, applications, and the UBOS platform through standardized APIs.
  • Real-Time Data: Leverage real-time market data to make informed decisions and react quickly to market changes.
  • Cost-Effective: Reduce the time and resources required to collect and analyze financial data.
  • Enhanced Decision-Making: Improve the accuracy and efficiency of financial analysis and decision-making with AI-powered insights.

Conclusion

Tushare_MCP on the UBOS Asset Marketplace provides a powerful tool for financial analysts, researchers, and AI developers. By providing seamless access to comprehensive financial data and enabling AI-driven analysis, Tushare_MCP empowers users to unlock valuable insights, make informed decisions, and gain a competitive edge in the financial markets. Integrate Tushare_MCP with UBOS today and experience the future of AI-powered financial analysis.

Featured Templates

View More
Data Analysis
Pharmacy Admin Panel
252 1957
Verified Icon
AI Assistants
Speech to Text
137 1882
AI Assistants
Talk with Claude 3
159 1523
AI Assistants
AI Chatbot Starter Kit v0.1
140 913
AI Engineering
Python Bug Fixer
119 1433

Start your free trial

Build your solution today. No credit card required.

Sign In

Register

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.