HoYoLAB-MCP
Provides read-only access to HoYoLAB and HoYoWiki APIs, enabling search and retrieval of posts, wiki entries, and article content converted to Markdown.
README
HoYoLAB read-only MCP server
公開HoYoLAB/HoYoWiki APIを読み取り専用のMCPツールとして提供します。記事本文はMDX風Markdownへ変換し、HTML、Quill Delta、旧形式のJSON本文、段落、表、画像、動画を扱います。
ライセンスは GNU AGPL v3以降 です。
セットアップ
npm install
npm test
実APIを使ったMCP疎通確認:
npm run mcp:check
崩壊:スターレイルとゼンレスゾーンゼロを含む複数ゲームの全ツールを実APIで確認するには次を実行します。
npm run mcp:check:games
起動
stdio MCPサーバーとして起動します。
npm run mcp:server
MCPクライアント設定例:
{
"mcpServers": {
"hoyolab": {
"command": "node",
"args": ["/absolute/path/to/hoyolab-mcp/scripts/mcp-server.mjs"],
"cwd": "/absolute/path/to/hoyolab-mcp"
}
}
}
HoYoLABの公開読み取りAPIは通常認証情報を必要としません。必要に応じて.envへ次の値を設定できます。
HOYOLAB_LANGUAGE=ja-jp
HOYOLAB_GAME_ID=2
HOYOLAB_API_TIMEOUT_MS=20000
MCPツール
search_hoyolab_posts— HoYoLAB記事を検索search_hoyowiki— 記事とHoYoWikiエントリを検索read_hoyolab_article— 記事全文をMDX風Markdownで取得read_hoyowiki_entry— Wikiエントリ全体を番号付きMarkdownで取得get_hoyowiki_hierarchy—1.、1.1.、1.1.1.の番号付き階層と場所を取得read_hoyowiki_module— 指定したModuleだけを取得read_hoyowiki_component— 指定したComponentだけを取得read_hoyolab_replies— 記事返信をMarkdownと構造化データで取得
記事取得結果は、content[0].textとstructuredContent.mdxに同じ完全な本文を返します。返信取得結果は、content[0].textとstructuredContent.markdownにMarkdownを返し、返信単位の本文・投稿者・日時・親子関係をstructuredContent.repliesで返します。
Wikiの階層番号は1始まりです。例えば1.2.はmodule[1].component[2]で直接取得できます。
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.
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.
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.
Neon Database
MCP server for interacting with Neon Management API and databases
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.
E2B
Using MCP to run code via e2b.