Skip to main content
Glama

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

Related MCP server: SocialDataX 小红书 Xiaohongshu XHS RedNote MCP

起動

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]で直接取得できます。

A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    A
    maintenance
    Arknights PRTS Wiki MCP Server — queries the PRTS Wiki API for full-text search and article extraction, and serves auto-synced operator archives, voice lines, and story/event scripts from game data. Designed for fan-creation AI agents that need accurate lore, character profiles, and in-character dialogue references.
    9
    7
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    A lightweight MCP server that provides read-only access to Xiaohongshu (Little Red Book) data, enabling search, note details, user profiles, and trending feeds via direct HTTP APIs.
    5
    17
    MIT
  • F
    license
    A
    quality
    B
    maintenance
    Read-focused MCP server for Zhihu, enabling retrieval of pins, articles, comments, and replies, with optional limited write tools for drafting and editing answers.
    10

View all related MCP servers

Related MCP Connectors

  • MCP-native open-source Notion alternative: read & write pages, databases and kanban boards.

  • Search Stack Exchange questions, fetch Q&A threads as markdown, look up tag FAQs and user profiles.

  • Read any web page as clean Markdown for AI agents: fetch, search, metadata, links. SSRF-safe.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cyrne1-7208/HoYoLAB-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server