Bilibili Creator Research MCP
by openanysi
README.md
# Bilibili Creator Research MCP
Research Bilibili creators, published videos and audience feedback with your AI agent. Powered by [OpenAny](https://openany.si/).
[](LICENSE)
[](https://nodejs.org/)
## Quick Start
### Prerequisites
- Node.js 22 or later.
- An MCP client that supports local stdio servers.
- An OpenAny API key for data requests. Get one from [API Keys](https://openany.si/dashboard/?page=api-keys), follow the [setup guide](https://openany.si/setup.md), and review [usage and costs](https://openany.si/dashboard/?page=usage).
### Configure your client
Add this example to private client settings that use the `mcpServers` format:
```json
{
"mcpServers": {
"bilibili-creator-research-mcp": {
"command": "npx",
"args": ["-y", "@openanysi/bilibili-creator-research-mcp"],
"env": {
"OPENANY_API_KEY": "YOUR_OPENANY_API_KEY"
}
}
}
}
```
Replace the placeholder in private settings, or supply the key through your client's secret manager or inherited environment. Keep keys out of chat and repositories. For utility-only use, omit `env`.
Restart or refresh the client, then try:
- **Without an API key:** “Inspect `get_creator_profile` with `get_tool_info`, then load `creator_research` with `language: "en"`. Explain the available inputs and prices without fetching creator data.”
- **With an API key:** “Research the Bilibili UP creator with UID `<CREATOR_UID>`. Inspect current pricing, read the profile, relation statistics and one page of published videos, then summarize the observed content themes. Include source references and coverage.”
Replace angle-bracket input placeholders with real identifiers before data calls.
## Features / Use Cases
| Task | Data tools provide | Your agent can produce |
| --- | --- | --- |
| Creator research | Public profile, relation statistics and a page of uploads | A sourced account snapshot and content-theme brief |
| Video comparison | Details for selected BVIDs | A comparison of available metadata and engagement measures |
| Audience feedback | A comment page for a known AID | Recurring questions, objections and original topic ideas |
Start with a known creator UID or video BVID/AID. Your agent selects samples, decides on each page, interprets results and exports Markdown or CSV when its client supports local files.
## Example Prompts
- “Compare creators `<UID_A>` and `<UID_B>` using one upload page each. Explain differences in the sampled topics and available metrics.”
- “Compare the available metadata for these BVIDs: `<BVID_A>` and `<BVID_B>`. Keep missing values visible and account for different publication dates.”
- “For video AID `<VIDEO_AID>`, read one comment page and group questions into a source-linked brief. Separate audience observations from your topic suggestions.”
- “Use only the saved responses I supplied to draft a Markdown report. Make no new data calls.”
## Tools
The server exposes **8 tools**: five data tools and three free utility tools. Each data call makes one request.
### Data tools
| Tool | Required inputs | Optional inputs | Purpose |
| --- | --- | --- | --- |
| `get_creator_profile` | `uid` | None | Read a creator's public profile |
| `get_creator_stats` | `uid` | None | Read current account relation statistics |
| `list_creator_videos` | `uid` | `param` | Read one page of published videos |
| `get_video` | `bvid` | None | Read one video's details |
| `get_video_comments` | `aid` | `cursor` | Read one page of video comments |
All identifiers and pagination values are strings. UIDs and AIDs contain decimal digits; BVIDs start with `BV`. These identifiers identify different objects. Comments require an AID; do not supply a BVID in its place.
For uploads, pass `param` unchanged from the preceding response. For comments, pass the returned `cursor`. Omit pagination values on the first request. No page-size or date-range parameter is exposed.
### Utility tools — no API key required
| Tool | Inputs | Purpose |
| --- | --- | --- |
| `get_tool_info` | Required `tool_name` | Read current parameters, pricing and known limits |
| `get_workflow` | Required `workflow`; optional `language` | Load a task guide and output template |
| `search_openany_capabilities` | Required `query`; optional `limit` | Discover related OpenAny APIs and models |
`get_tool_info` accepts one of the five data tool names. Workflow languages are `zh` and `en`, with `zh` as the default; use `language: "en"` for English. Catalog search accepts `limit` from 1 to 10, default 5. It searches API capabilities, not Bilibili accounts or videos.
## Workflow Guides
| Guide ID | Use it for |
| --- | --- |
| `creator_research` | A known creator's account snapshot and upload sample |
| `video_comparison` | Comparing selected videos using available fields |
| `audience_feedback` | Grouping sampled comments into questions and topic ideas |
Load guides on demand. They include shared evidence and request-recovery rules, sampling steps and report templates. Your agent follows the relevant steps; loading a guide makes no data or model call.
## Example Workflow
1. Load `creator_research` in your preferred language and inspect the needed data tools with `get_tool_info`.
2. Provide a real UID and retrieve the profile, relation statistics and one upload page.
3. Select relevant BVIDs from the response and retrieve only the details needed for your question.
4. To read comments, use the corresponding AID from a checked response or your supplied input. If it is missing, return a partial brief and request the AID.
5. Have your agent save observations, source identifiers, collection times and coverage alongside its analysis.
## Limitations & Billing
- **Scope:** Known creators and videos. Profile fields, statistics and metadata vary by response. Video details and comments do not provide full-video viewing or a transcript.
- **Coverage:** Each list request reads one page. No complete-history coverage, audience demographics, historical follower growth, earnings or conversion estimates are promised.
- **Pricing:** Inspect `get_tool_info` before data calls. Requests follow current OpenAny prices and billing rules; a successful empty result may incur a charge. Analysis and writing use your client's model.
- **Recovery:** For an unclear outcome, keep the request ID and check the original request before deciding on another call. The server does not automatically retry, paginate or substitute another API.
- **Privacy:** The server runs locally; catalog queries and data-tool inputs are sent to OpenAny.
- **More capabilities:** Use `search_openany_capabilities`, or connect the [OpenAny MCP](https://mcp.openany.si/) with the [setup guide](https://openany.si/setup.md).
## Development
```sh
npm ci --ignore-scripts
npm test
npm run check
```
See [CONTRIBUTING.md](CONTRIBUTING.md) for runtime, guide, packaging and verification instructions.
## About OpenAny
[OpenAny](https://openany.si/) provides APIs and models for agents and developers. This package focuses on Bilibili creator research, video metadata comparison and audience feedback.
## License
[Apache-2.0](LICENSE).
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues