DouYuSearcher MCP Server

DouYuSearcher MCP Server

A lightweight MCP server that allows querying and searching for Douyu live streaming room information by room ID or keywords, returning results in Markdown format.

Category
Visit Server

README

DouYuSearcher MCP Server

Python License Status

一个轻量级的 MCP 服务器,支持通过斗鱼房间ID或关键词搜索获取斗鱼直播房间信息。

功能特性

  • 房间信息查询:通过 get_room(room_id) 工具,输入斗鱼房间ID,获取详细房间信息(包括头像、分区、主播、状态、热度等)。
  • 关键词搜索房间:通过 search_rooms(keyword) 工具,输入关键词,搜索相关斗鱼房间。
  • Markdown 表格输出:所有信息均以美观的 Markdown 表格形式返回,支持图片展示。 image

安装方法

前置条件

  • Python 3.10+
  • pip

安装步骤

  1. 克隆本仓库:
    git clone https://github.com/LokerL/douyu-mcp-py.git
    cd douyu-mcp-py
    
  2. 安装依赖:
    uv install
    

使用方法

运行和测试

  • Windows下直接运行:
    ./inspector.cmd
    

工具说明

工具:get_room(room_id)

根据斗鱼房间ID获取房间详细信息。

  • 参数room_id(整数,斗鱼房间ID)
  • 返回:Markdown 表格,包含头像、房间ID、分区名、房间名、主播名、房间状态、热度、房间封面图、房间链接。
  • 示例输出
    | 名称          | 信息             |
    |----------------|-------------------|
    | 头像           | ![Avatar](https://example.com/avatar.jpg) |
    | 房间ID         | 12345   |
    | 分区名         | 英雄联盟 |
    | 房间名         | 斗鱼最强 |
    | 主播名         | 张三 |
    | 房间状态       | 直播中 |
    | 热度           | 123456 |
    | 房间封面图     | ![Room Thumb](https://example.com/thumb.jpg) |
    | 房间链接       | [Link](https://www.douyu.com/71415) |
    

工具:search_rooms(keyword)

通过关键词搜索斗鱼房间,返回第一个相关房间信息。

  • 参数keyword(字符串,搜索关键词)
  • 返回:Markdown 表格,包含分区名、是否直播、关键词、主播昵称、房间ID。
  • 示例输出
    | 名称          | 信息             |
    |----------------|-------------------|
    | 分区名         | 英雄联盟 |
    | 是否直播       | 直播中 |
    | 关键词         | 英雄联盟 |
    | 主播昵称       | 张三 |
    | 房间 ID       | 123456 |
    

许可证

MIT License. 详见 LICENSE

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