prts-mcp
The prts-mcp server provides tools for exploring Arknights (明日方舟) lore, operator data, and story content via the PRTS Wiki and official game files.
Search PRTS Wiki (
search_prts): Search for articles by keyword, returning matching titles and summaries.Read Wiki Articles (
read_prts_page): Fetch the full plain-text content of any PRTS Wiki article by title.Get Operator Archives (
get_operator_archives): Retrieve detailed profile/archive records for an operator using their Chinese in-game name (e.g., "阿米娅").Get Operator Voice Lines (
get_operator_voicelines): Retrieve all voice lines for an operator by their Chinese in-game name.Get Operator Basic Info (
get_operator_basic_info): Query an operator's class, rarity, faction, recruit tags, and talents.List Story Events (
list_story_events): Browse all story events, with optional filtering by main story chapters or activity events.List Stories in an Event (
list_stories): List all chapters within a specific event in official order.Read a Story Chapter (
read_story): Fetch full dialogue for a single story chapter, with optional narration/scene descriptions.Read a Full Activity's Story (
read_activity): Retrieve the complete transcript of an entire activity in chapter order, with pagination support for large volumes of text.
Supports deployment via Docker containers for both Python stdio and TypeScript HTTP server implementations, with auto-synced game data volumes.
Utilizes GitHub repositories (ArknightsGameData and ArknightsStoryJson) as data sources for operator archives, voice lines, and story dialogue, with automatic synchronization from GitHub Releases.
Enables TypeScript/Node.js implementation for self-hosted HTTP server deployment, providing remote access to Arknights data through streamable HTTP transport.
Provides npm package distribution for the TypeScript implementation, allowing easy installation and deployment of the HTTP server.
Provides PyPI package distribution for the Python implementation, allowing easy installation for local Claude Desktop/Claude Code integration.
Enables Python implementation for local stdio transport, providing direct integration with Claude Desktop and Claude Code for accessing Arknights data.
Enables TypeScript implementation for HTTP server deployment, providing remote access to Arknights data through streamable HTTP transport for multiple clients.
PRTS MCP Server
English
An MCP Server for Arknights fan creation (同人創作) AI agents. Powered by the PRTS Wiki MediaWiki API and auto-synced operator game data, it gives any MCP-compatible client — Claude Desktop, Claude Code, Chatbox, and more — live access to lore, operator archives, and voice lines from the world of Terra.
Implementations
This repository contains two independent implementations for different deployment scenarios:
Directory | Language | Transport | Use case |
Python 3.10+ | stdio | Local Claude Desktop / Claude Code, Docker | |
TypeScript / Node.js | Streamable HTTP | Self-hosted server, remote HTTP access |
1.0 Compatibility Matrix
Area | Python | TypeScript | 1.0 policy |
Current line |
|
| Alpha releases are cut from the same commit when possible |
MCP tools | Same public tool names and required parameters | Same public tool names and required parameters | Tool names and required parameters stay stable through 1.0 |
GameData |
|
| Custom paths disable auto-sync |
Story data |
|
| Custom zip paths disable auto-sync |
Bundled fallback data | Docker image only | Docker image and published npm package | PyPI remains data-light |
See docs/migration-0.x-to-1.0.md for the
0.x to 1.0 migration notes.
Tools
Both implementations expose the same tool set:
Tool | Description |
| Search PRTS Wiki by keyword, returns matching article titles |
| Fetch the plain-text content of a PRTS Wiki article |
| Retrieve operator archive records (Chinese name) |
| Retrieve operator voice lines (Chinese name) |
| Retrieve basic operator profile: class, rarity, faction, recruit tags, talents (Chinese name) |
| List story events; optional filter: |
| List chapters of an event in official order |
| Read full dialogue for a single chapter |
| Read a complete activity's transcript, with pagination |
Quick Start
Data Sources
PRTS Wiki API (
https://prts.wiki/api.php) — lore articles, faction info, world-building entriesArknightsGameData (
3aKHP/ArknightsGameData) — Release archive mirror ofKengxxiao/ArknightsGameData, used for operator archives, voice lines, base stats, and other game tablesArknightsStoryJson (
3aKHP/ArknightsStoryJson) — parsed story dialogue, auto-synced from GitHub Releases (zh_CN.zip)
Game data lives in the gamedata volume. Story data lives in the storyjson volume. Both are auto-synced in the background after the server starts listening.
Published Docker images and the npm package include bundled fallback game/story data prepared by CI. The PyPI package stays lightweight and does not embed these data files; it relies on startup auto-sync or user-provided data paths.
中文
明日方舟同人创作辅助 MCP Server。通过 PRTS Wiki API 和自动同步的干员数据,为 MCP 客户端(Claude Desktop、Claude Code、Chatbox 等)提供泰拉世界观检索与干员资料查询能力。
实现版本
本仓库包含两个独立实现,适用于不同的部署场景:
目录 | 语言 | 传输方式 | 适用场景 |
Python 3.10+ | stdio | Claude Desktop / Claude Code 本地接入、Docker | |
TypeScript / Node.js | Streamable HTTP | 个人服务器部署,供他人通过 HTTP 调用 |
1.0 兼容矩阵
范围 | Python | TypeScript | 1.0 策略 |
当前版本线 |
|
| Alpha 尽量从同一 commit 发布 |
MCP 工具 | 相同工具名和必填参数 | 相同工具名和必填参数 | 1.0 期间保持工具名和必填参数稳定 |
干员数据 |
|
| 自定义路径会禁用自动同步 |
剧情数据 |
|
| 自定义 zip 会禁用自动同步 |
bundled 兜底数据 | Docker 镜像 | Docker 镜像和正式 npm 包 | PyPI 继续保持轻量 |
0.x 到 1.0 的迁移说明见 docs/migration-0.x-to-1.0.md。
工具集
两个实现提供相同的工具集:
工具 | 说明 |
| 关键词搜索 PRTS 维基词条,返回匹配标题列表 |
| 读取指定词条的纯文本内容 |
| 获取干员档案资料(中文名) |
| 获取干员语音记录(中文名) |
| 获取干员基本信息:职业、稀有度、所属、招募标签、天赋(中文名) |
| 列出剧情活动,可选过滤: |
| 列出指定活动的章节(按官方顺序) |
| 读取单章完整台词 |
| 读取整个活动的完整剧情,支持分页 |
快速开始
数据源
PRTS Wiki API (
https://prts.wiki/api.php) — 世界观词条、阵营设定ArknightsGameData (
3aKHP/ArknightsGameData) —Kengxxiao/ArknightsGameData的 Release 压缩包镜像,用于干员档案、语音记录、基础信息及其他游戏表ArknightsStoryJson (
3aKHP/ArknightsStoryJson) — 剧情台词解析数据,从 GitHub Releases 自动同步(zh_CN.zip)
干员数据存放在 gamedata volume,剧情数据存放在 storyjson volume,均在服务器开始监听后于后台自动同步。
正式发布的 Docker 镜像和 npm 包会由 CI 预置 bundled 兜底数据;PyPI 包保持轻量,不内置这些数据文件,依赖启动时 auto-sync 或用户自行提供数据路径。
License
MIT
Maintenance
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/3aKHP/prts-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server