CNBC News Scrape MCP

CNBC News Scrape MCP

An MCP server for scraping and retrieving CNBC news content.

Category
Visit Server

README

CNBC News Scrape MCP

CNBC News Scrape MCP 是一个基于 Java 21、Spring Boot 和 Spring AI MCP 的本地 MCP Server,用于抓取 CNBC 财经新闻,并可通过腾讯云机器翻译将新闻内容翻译为中文。

Glama 当前可能显示 This server cannot be installed。这是因为本项目是本地 stdio MCP Server,不是 Glama 托管的一键安装服务。请到 GitHub 原仓库下载源码并在本地构建运行。

GitHub 原仓库

  • Repository: https://github.com/cascas2010/CNBC-News-Scrape-MCP
  • Source directory: back/
  • Runtime: Java 21
  • Transport: stdio

功能

  • scrapeOriginalNews: 抓取 CNBC 财经新闻原文,返回标题和正文。
  • translateCNBCNews2Chinese: 抓取 CNBC 财经新闻,并使用腾讯云机器翻译翻译为中文。

环境要求

  • JDK 21+
  • Maven 3.8+
  • 可访问 CNBC 网站的网络环境
  • 腾讯云机器翻译凭据,用于中文翻译工具

下载与构建

git clone https://github.com/cascas2010/CNBC-News-Scrape-MCP.git
cd CNBC-News-Scrape-MCP/back
mvn clean package

构建完成后,JAR 文件位于:

back/target/back-0.0.1-SNAPSHOT.jar

MCP 客户端配置

在 SpringAi的客户端中添加如下配置。请把 PATH_TO_REPO 替换为你本地仓库路径。

{
  "mcpServers": {
    "cnbc-financial-news-scrape-mcp-server": {
      "command": "java",
      "args": [
        "-Dspring.ai.mcp.server.stdio=true",
        "-Dspring.main.web-application-type=none",
        "-Dlogging.level.root=OFF",
        "-jar",
        "PATH_TO_REPO/CNBC-News-Scrape-MCP/back/target/back-0.0.1-SNAPSHOT.jar"
      ],
      "env": {
        "TENCENT_TRANSLATE_SECRET_ID": "your_tencent_secret_id",
        "TENCENT_TRANSLATE_SECRET_KEY": "your_tencent_secret_key",
        "TENCENT_TRANSLATE_REGION": "ap-guangzhou"
      }
    }
  }
}

腾讯云翻译环境变量必须配置!不配置将无法运行。

测试截图

MCP Server 配置示例:

MCP Server 配置示例

连接 LLM 后的测试结果:

测试结果截图 1

测试结果截图 2

注意事项

  • 本项目抓取 CNBC 页面内容,使用时请遵守 CNBC 的网站条款和当地法律法规。
  • 翻译功能依赖腾讯云机器翻译 API,调用可能产生费用。
  • 建议先在本地 MCP 客户端中验证 JAR 路径和环境变量,再在 AI 客户端中使用。

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured