HoYoLAB-MCP

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.

Category
Visit Server

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_hierarchy1.1.1.1.1.1. の番号付き階層と場所を取得
  • read_hoyowiki_module — 指定したModuleだけを取得
  • read_hoyowiki_component — 指定したComponentだけを取得
  • read_hoyolab_replies — 記事返信をMarkdownと構造化データで取得

記事取得結果は、content[0].textstructuredContent.mdxに同じ完全な本文を返します。返信取得結果は、content[0].textstructuredContent.markdownにMarkdownを返し、返信単位の本文・投稿者・日時・親子関係をstructuredContent.repliesで返します。

Wikiの階層番号は1始まりです。例えば1.2.module[1].component[2]で直接取得できます。

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
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
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
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
E2B

E2B

Using MCP to run code via e2b.

Official
Featured