34892002/bilibili-mcp-js
FreeNot checkedA MCP server that supports searching for Bilibili content. Provides LangChain integration examples and test scripts.
About
A MCP server that supports searching for Bilibili content. Provides LangChain integration examples and test scripts.
README
简介
这是一个基于 Model Context Protocol (MCP) 的 B站视频搜索服务器。该服务器提供了简单的 API 接口,允许用户搜索 B站 的视频内容。提供LangChain调用示例、测试脚本。
鸣谢
- LangChain 示例代码参考自 mcp-langchain-ts-client
功能特点
- 搜索B站视频内容简介列表
- 获取B站热门内容(综合热门、入站必刷、排行榜、全站音乐榜)
- 获取B站视频详情信息(支持BV号或AV号)
- 获取UP主信息(基本信息、粉丝数、关注数等)
- 番剧时间表(时间范围内的番剧播出信息)
系统要求
- Node.js >= 20.12.0
AI工具使用配置
以Trae为例

npm package
感谢HQHC发布的npm包
{
"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"]
{
"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
截图

Hosted deployment
A hosted deployment is available on Fronteir AI.
Installing 34892002/bilibili-mcp-js
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/34892002/bilibili-mcp-jsFAQ
Is 34892002/bilibili-mcp-js MCP free?
Yes, 34892002/bilibili-mcp-js MCP is free — one-click install via Unyly at no cost.
Does 34892002/bilibili-mcp-js need an API key?
Yes, it requires environment variables: TRANSPORT. Unyly injects them into the config during install.
Is 34892002/bilibili-mcp-js hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install 34892002/bilibili-mcp-js in Claude Desktop, Claude Code or Cursor?
Open 34892002/bilibili-mcp-js on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Playwright
Browser automation, scraping, screenshots
by MicrosoftPuppeteer
Browser automation and web scraping.
by modelcontextprotocolopentabs-dev/opentabs
Plugin-based MCP server + Chrome extension that gives AI agents access to web applications through the user's authenticated browser session. 100+ plugins with a
by opentabs-devrobhunter/agentdeals
1,500+ developer infrastructure deals, free tiers, and startup programs across 54 categories. Search deals, compare vendors, plan stacks, and track pricing chan
by robhunterhlydecker/ucsc-genome-mcp
MCP server to interact with the UCSC Genome Browser API, letting you find genomes, chromosomes, and more.
by hlydeckerachiya-automation/safari-mcp
Native Safari browser automation for AI agents with 80+ tools. No Chrome dependency, optimized for Apple Silicon with 60% less CPU overhead.
by achiya-automationagent-infra/mcp-server-browser
Browser automation capabilities using Puppeteer, both support local and remote browser connection.
by bytedanceaparajithn/agent-scraper-mcp
Web scraping MCP server for AI agents. 6 tools: clean content extraction, structured scraping with CSS selectors, full-page screenshots via Playwright, link ext
by aparajithnapireno/DOMShell
Browse the web using filesystem commands (ls, cd, grep, click). 38 MCP tools map Chrome's Accessibility Tree to a virtual filesystem via a Chrome Extension.
by apirenoautomatalabs/mcp-server-playwright
An MCP server for browser automation using Playwright
by Automata-Labs-teamCompare 34892002/bilibili-mcp-js with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All browse MCPs
