Runoob MCP Server
Enables users to search, retrieve, and browse tutorials from Runoob (菜鸟教程), including listing categories and hot tutorials.
README
Runoob MCP Server 📚
一个用于查询菜鸟教程资料的 MCP (Model Context Protocol) 服务器。
功能特性
- 🔍 搜索教程: 搜索菜鸟教程网站上的教程内容
- 📖 获取教程详情: 获取指定教程的详细内容
- 📋 列出分类: 列出菜鸟教程的所有分类
- 🎯 热门教程: 获取热门教程列表
安装
方式一:使用 pip 安装
cd runoob-mcp-server
pip install -e .
方式二:使用 uvx (推荐)
uvx install runoob-mcp-server
配置 VSCode 使用
1. 安装 Claude Desktop 或其他支持 MCP 的客户端
确保你已安装支持 MCP 的客户端,如:
- Claude Desktop
- Continue (VSCode 扩展)
- Cursor
2. 配置 MCP 服务器
Claude Desktop 配置
编辑配置文件:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
添加以下配置:
{
"mcpServers": {
"runoob": {
"command": "python",
"args": ["/path/to/runoob-mcp-server/src/runoob_mcp_server/__init__.py"]
}
}
}
VSCode + Continue 扩展配置
在 VSCode 中安装 Continue 扩展,然后编辑 ~/.continue/config.json:
{
"models": [...],
"mcpServers": [
{
"name": "runoob",
"transport": {
"type": "stdio",
"command": "python",
"args": ["/path/to/runoob-mcp-server/src/runoob_mcp_server/__init__.py"]
}
}
]
}
3. 重启客户端
配置完成后,重启 Claude Desktop / VSCode / Cursor 即可使用。
可用工具
1. runoob_search - 搜索教程
搜索菜鸟教程网站上的内容。
参数:
query(string): 搜索关键词limit(number, 可选): 返回结果数量,默认 10
示例:
搜索 Python 教程
2. runoob_get_tutorial - 获取教程详情
获取指定教程的详细内容。
参数:
url(string): 教程的 URL
示例:
获取 https://www.runoob.com/python3/python3-tutorial.html 的内容
3. runoob_list_categories - 列出分类
列出菜鸟教程的所有分类。
4. runoob_hot_tutorials - 热门教程
获取热门教程列表。
参数:
category(string, 可选): 分类名称,如 "Python", "Java" 等
使用示例
在 Claude Desktop 或支持 MCP 的客户端中:
用户: 帮我搜索 Python 基础教程
AI: [调用 runoob_search 工具] 找到以下教程...
用户: 获取 Python3 教程的详细内容
AI: [调用 runoob_get_tutorial 工具] 这是 Python3 教程的内容...
开发
# 安装开发依赖
pip install -e ".[dev]"
# 运行测试
pytest tests/
许可证
MIT License
Recommended Servers
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.
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.
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.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
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.
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.
Neon Database
MCP server for interacting with Neon Management API and databases
E2B
Using MCP to run code via e2b.
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.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.