Back to MCP directory
publicPublicdnsLocal runtime

BBC-News-MCP-Server-Demo

一个本地运行的MCP服务器示例,使用FastMCP和Feedparser将BBC新闻最新文章集成到Claude桌面应用中。

article

README

🚀 Hyperact 的 BBC 新闻 MCP 服务器演示

这是一个可在本地运行的 MCP 服务器示例,借助 FastMCPFeedparser,能将最新的实时 BBC 新闻 文章展示到 Claude Desktop 中。此仓库与 Hyperact 博客文章 Should I adopt MCP as part of my API Product strategy 配套。

🚀 快速开始

📦 安装指南

假设你使用的是 macOS 系统,且已安装并登录 Claude Desktop,可按以下步骤进行安装:

  1. 通过 brew 安装 uv
brew install uv
  1. 确保已安装现代的 Python 运行时环境,并固定版本,同时收集依赖项:
uv install python 3.12
uv pin python 3.12
uv venv
uv pip install .
  1. 将 MCP 服务器安装到 Claude Desktop 中:
uv run mcp install 

💻 使用示例

重启 Claude Desktop 后,你可以向它询问 "你有哪些可以使用的工具?" 和 "给我一个 BBC 头条新闻。"。

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client