Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
Your own AI agent, running 24/7 with QwikClaw logoYour own AI agent, running 24/7 with QwikClaw

QwikClaw sets up and runs an always-on OpenClaw agent for you. One click, no config files, no server setup.

Deploy now
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 47,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

A MCP server that supports searching for Bilibili content. Provides LangChain integration examples and test scripts.

README.md

Bilibili MCP

![English](README-en.md) ![中文文档](README.md) ![日本語](README-ja.md) ![Trust Score](https://archestra.ai/mcp-catalog/34892002__bilibili-mcp-js)

简介

这是一个基于 Model Context Protocol (MCP) 的 B站视频搜索服务器。该服务器提供了简单的 API 接口,允许用户搜索 B站 的视频内容。提供LangChain调用示例、测试脚本。

鸣谢

功能特点

  • 搜索B站视频内容简介列表
  • 获取B站热门内容(综合热门、入站必刷、排行榜、全站音乐榜)
  • 获取B站视频详情信息(支持BV号或AV号)
  • 获取UP主信息(基本信息、粉丝数、关注数等)
  • 番剧时间表(时间范围内的番剧播出信息)

系统要求

  • Node.js >= 20.12.0

AI工具使用配置

以Trae为例 ![](./imgs/config.png)

npm package

感谢HQHC发布的npm包 ``json { "mcpServers": { "bilibili-search": { "command": "npx", "args": ["bilibili-mcp-js"], "description": "B站视频搜索 MCP 服务,可以在AI应用中搜索B站视频内容。" } } } ``

本地编译使用

需要编译之后才可以使用.

先npm run build然后这里改成你build之后的dist文件夹路径,"args": ["d:\\your-path\\bilibili-mcp-js\\dist\\index.js"] ``json { "mcpServers": { "bilibili-search": { "command": "node", "args": ["d:\\your-path\\bilibili-mcp-js\\dist\\index.js"], "description": "B站视频搜索 MCP 服务,可以在AI应用中搜索B站视频内容。" } } } ``

快速开始

如果要运行langchain例子,请先配置llm模型,修改.\example.ts文件。

const llm = new ChatOpenAI({
  modelName: "gpt-4o-mini",
  temperature: 0,
  openAIApiKey: "your_api_key", // 替换成你模型的密钥
  configuration: {
    baseURL: "https://www.api.com/v1", // 替换成你模型的API地址
  },
});

bun:

# 安装依赖
bun i
# stdio 模式
bun index.ts
# streamable http 模式
TRANSPORT=remote bun index.ts
TRANSPORT=remote PORT=8888 bun index.ts
# 测试脚本
bun test.js
# MCP Inspector
bun run inspector
# 运行langchain例子
bun build:bun
bun example.ts

npm:

# 安装依赖
npm i
# stdio 模式
npm run start
# streamable http 模式
TRANSPORT=remote npm run start
TRANSPORT=remote PORT=8888 npm run start
# 测试脚本
npm run test
# MCP Inspector
npm run inspector
# 运行langchain例子
npm run build
node dist/example.js

截图

![](./imgs/test-01.png) ![](./imgs/test-02.png)

Hosted deployment

A hosted deployment is available on Fronteir AI.

See related servers & alternatives →

Related MCP servers

Browse all →

Related guides

Hand-picked reading to help you choose and use Search servers.