prts-mcp

prts-mcp

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.

Category
访问服务器

README

PRTS MCP Server

PyPI npm License: MIT

Language / 语言: English | 中文


<a id="english"></a>

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/ Python 3.10+ stdio Local Claude Desktop / Claude Code, Docker
ts/ TypeScript / Node.js Streamable HTTP Self-hosted server, remote HTTP access

Tools

Both implementations expose the same tool set:

Tool Description
search_prts(query, limit) Search PRTS Wiki by keyword, returns matching article titles
read_prts_page(page_title) Fetch the plain-text content of a PRTS Wiki article
get_operator_archives(operator_name) Retrieve operator archive records (Chinese name)
get_operator_voicelines(operator_name) Retrieve operator voice lines (Chinese name)
get_operator_basic_info(operator_name) Retrieve basic operator profile: class, rarity, faction, recruit tags, talents (Chinese name)
list_story_events(category?) List story events; optional filter: main (main story) or activities
list_stories(event_id) List chapters of an event in official order
read_story(story_key, include_narration) Read full dialogue for a single chapter
read_activity(event_id, include_narration, page, page_size) Read a complete activity's transcript, with pagination

Quick Start

  • Local stdio (Python / Docker) → see python/
  • HTTP server (TypeScript / Docker) → see ts/

Data Sources

  • PRTS Wiki API (https://prts.wiki/api.php) — lore articles, faction info, world-building entries
  • ArknightsGameData (Kengxxiao/ArknightsGameData) — operator archives, voice lines, base stats
  • ArknightsStoryJson (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 on server startup.


<a id="中文"></a>

中文

明日方舟同人创作辅助 MCP Server。通过 PRTS Wiki API 和自动同步的干员数据,为 MCP 客户端(Claude Desktop、Claude Code、Chatbox 等)提供泰拉世界观检索与干员资料查询能力。

实现版本

本仓库包含两个独立实现,适用于不同的部署场景:

目录 语言 传输方式 适用场景
python/ Python 3.10+ stdio Claude Desktop / Claude Code 本地接入、Docker
ts/ TypeScript / Node.js Streamable HTTP 个人服务器部署,供他人通过 HTTP 调用

工具集

两个实现提供相同的工具集:

工具 说明
search_prts(query, limit) 关键词搜索 PRTS 维基词条,返回匹配标题列表
read_prts_page(page_title) 读取指定词条的纯文本内容
get_operator_archives(operator_name) 获取干员档案资料(中文名)
get_operator_voicelines(operator_name) 获取干员语音记录(中文名)
get_operator_basic_info(operator_name) 获取干员基本信息:职业、稀有度、所属、招募标签、天赋(中文名)
list_story_events(category?) 列出剧情活动,可选过滤:main(主线)或 activities(活动)
list_stories(event_id) 列出指定活动的章节(按官方顺序)
read_story(story_key, include_narration) 读取单章完整台词
read_activity(event_id, include_narration, page, page_size) 读取整个活动的完整剧情,支持分页

快速开始

  • 本地 stdio 接入(Python / Docker) → 见 python/
  • HTTP 服务部署(TypeScript / Docker) → 见 ts/

数据源

  • PRTS Wiki API (https://prts.wiki/api.php) — 世界观词条、阵营设定
  • ArknightsGameData (Kengxxiao/ArknightsGameData) — 干员档案、语音记录、基础信息
  • ArknightsStoryJson (3aKHP/ArknightsStoryJson) — 剧情台词解析数据,从 GitHub Releases 自动同步(zh_CN.zip)

干员数据存放在 gamedata volume,剧情数据存放在 storyjson volume,均在服务器启动时自动同步。


License

MIT

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选