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

Learn more

UBOS Asset Marketplace: MCP Server for Crypto & Stock News

In today’s fast-paced financial markets, staying ahead requires more than just intuition. You need real-time data, intelligent analysis, and the ability to react quickly to changing conditions. The UBOS Asset Marketplace MCP (Multi-Component Protocol) Server provides a cutting-edge solution for accessing and utilizing financial data, empowering you with the tools to make informed decisions.

This server acts as a bridge, connecting local AI Agents with up-to-the-minute stock prices, cryptocurrency news, and comprehensive financial analysis. By leveraging the power of MCP, LangGraph agents, and Large Language Models (LLMs), this system offers a modular and adaptable approach to financial data analysis.

Key Features and Benefits

  • Real-Time Stock Price Retrieval: Access live stock data for major companies (e.g., AAPL, TSLA) through a custom Yahoo Finance MCP server. No more relying on delayed information – get the latest prices at your fingertips.
  • Comprehensive Crypto News Aggregation: Stay informed about the rapidly evolving cryptocurrency landscape with a dedicated microservice that streams crypto news headlines. Never miss a critical market-moving event.
  • Intelligent LangGraph Agent Execution: A sophisticated ReAct-style agent, powered by LangGraph, analyzes context and intelligently determines which tools to utilize, automating complex decision-making processes.
  • Seamless Tool Integration via MCP: The MCP protocol enables effortless addition of new tools, allowing you to customize the system to meet your specific needs. Expand your analytical capabilities with ease.
  • Local LLM Backend with Ollama: Benefit from fast, local reasoning and tool selection using Qwen 1.7B, running directly on your hardware through Ollama. Ensure data privacy and minimize latency.
  • Modular Architecture: Allows users to customize and extend the functionality with their tools.

Use Cases

  • Algorithmic Trading: Automate your trading strategies by integrating the MCP Server with your existing trading platforms. Use real-time data and AI-powered analysis to execute trades with precision.
  • Financial Research: Conduct in-depth research on stocks and cryptocurrencies using the server’s data aggregation and analysis capabilities. Uncover hidden insights and identify investment opportunities.
  • Portfolio Management: Monitor your portfolio performance in real-time and make informed adjustments based on market trends and news events.
  • Risk Management: Identify and mitigate potential risks by leveraging the server’s ability to analyze financial data and detect anomalies.
  • Financial News Aggregation and Summarization: Automate the process of gathering and summarizing financial news, saving time and ensuring you stay on top of the latest developments.
  • Automated Financial Reporting: Generate automated reports on stock performance, crypto trends, and portfolio analysis.

Architecture Deep Dive

The MCP Server’s architecture is designed for flexibility, scalability, and performance:

  • Agent Framework: LangGraph provides the foundation for intelligent agent execution, enabling complex decision-making and automated workflows.
  • LLM Provider: Ollama (with Qwen 1.7B) delivers fast, local reasoning and tool selection, ensuring data privacy and minimizing latency.
  • Tool Communication Layer: LangChain MCP Adapter facilitates seamless communication between the agent and various tools, enabling effortless integration and data exchange.
  • Tool Servers: Custom Python servers (e.g., crypto_news.py, stock_news.py) provide specific functionalities, such as retrieving crypto news or stock prices.

Getting Started with the UBOS Asset Marketplace MCP Server

Follow these simple steps to get started:

  1. Clone the Repository:

    bash git clone https://github.com/ChabchoubMedAziz/mcp-crypto-stock-news.git cd mcp-crypto-stock-news

  2. Install Dependencies:

    bash pip install -r requirements.txt

  3. Get Your API Key and Set Environment:

    • Create a .env file with your credentials:

      AUTH_KEY=your_auth_key

    • Sign up on https://cryptopanic.com/developers/api/ and get your own Auth keys.

  4. Start the MCP Tool Servers Manually:

    bash python client.py

The system will:

  • Spin up MCP clients
  • Load tool definitions
  • Use the agent to respond to a prompt like: “Give me AAPL stock price”

Extending the System

Adding new tools is easy:

  1. Write a microservice tool using LangChain’s MCP decorators.
  2. Add the new server config in main.py.
  3. Restart the system.

Example client.py config:

python server_configs = { “weather_tool”: { “command”: “uv”, “args”: [“run”, “weather.py”], “transport”: “stdio” } }

Tools Available

The following tools are exposed to MCP clients:

  • income_statement(): Returns the quarterly income statement for a given stock ticker.
  • stock_info: Returns information about a given stock given it’s ticker.
  • stock_price: Returns the last known price for a given stock ticker.
  • get_crypto_news(): Fetches the latest cryptocurrency news from CryptoPanic API.

UBOS: The Full-Stack AI Agent Development Platform

The UBOS Asset Marketplace MCP Server is a powerful tool for accessing and utilizing financial data. But it’s just one piece of the puzzle.

UBOS is a full-stack AI Agent Development Platform that empowers businesses to build, orchestrate, and deploy AI Agents across all departments.

Here’s how UBOS can help you:

  • Orchestrate AI Agents: Seamlessly manage and coordinate multiple AI Agents to achieve complex tasks.
  • Connect Agents to Enterprise Data: Integrate AI Agents with your existing data sources, unlocking valuable insights and automating data-driven processes.
  • Build Custom AI Agents: Develop tailored AI Agents using your own LLM models and Multi-Agent Systems, creating solutions that perfectly fit your unique needs.

With UBOS, you can transform your business with the power of AI Agents.

Conclusion

The UBOS Asset Marketplace MCP Server provides a cutting-edge solution for accessing and utilizing financial data. Whether you’re an algorithmic trader, financial researcher, or portfolio manager, this server empowers you with the tools to make informed decisions and stay ahead of the competition. Combine it with the UBOS platform to unleash the full potential of AI Agents within your organization.

Featured Templates

View More
AI Engineering
Python Bug Fixer
119 1433
Customer service
Multi-language AI Translator
136 921
Verified Icon
AI Assistants
Speech to Text
137 1882
Customer service
AI-Powered Product List Manager
153 868
Data Analysis
Pharmacy Admin Panel
252 1957

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.