切韵TTS 查字与拟音 MCP Server(qieyun-tts-mcp)
查询汉字的切韵音系转写、《广韵》释义与中古音韵地位,获取单字拟音朗读音频,按声母韵母反查小韵辖字。数据来自「切韵TTS」(qieyun-tts.com,作者 cinix)的官方公开 API。
解决什么问题
中古音研究里"查音韵地位、看《广韵》释义、听拟音"分散在多处:韵书工具查地位与释义,拟音音频要自己开网页合成。切韵TTS把字表(基于 poem《广韵字音表》与 unt《王三》小韵全表)、切韵/唐代双转写、《广韵》释义与单字拟音音频整合在一处。本工具将其免费查字端点封装为 MCP,供音韵研究与古籍整理中的智能体直接调用。
工具
lookup_meaning — 查字
| 参数 | 类型 | 说明 |
|---|---|---|
chars |
string | 待查询汉字文本(≤50 字符;简化字大多不在字表中,请用繁体) |
返回每字全部读音条目:切韵转写、唐代转写、【声母|韵母及等第|声调】+《广韵》释义+反切、常用度;多音字全列出。
char_audio — 单字拟音试听
| 参数 | 类型 | 说明 |
|---|---|---|
zi |
string | 单个汉字(建议繁体) |
include_base64 |
boolean(可选) | true 时附带 base64 音频数据 |
返回该字首读音的切韵转写与对应 MP3 音频(保存为本地文件并返回路径)。多音字如需其他读音音频,先用 lookup_meaning 查看转写。
reverse_lookup — 声母韵母反查
| 参数 | 类型 | 说明 |
|---|---|---|
initial |
string | 声母转写(如 p、ʦ)或汉字名(如 幫、見) |
final |
string | 韵母转写(如 uŋ、ɨɑŋ) |
返回该声母韵母组合所辖各声调小韵的转写与汉字列表。
list_models — 模型与音色清单
返回 VITS 模型(廌言系列)与 RVC 音色清单。
lookup_invite — 邀请码额度查询
查询切韵TTS邀请码的状态与剩余时长(GPU 在线合成按实际音频时长扣除额度)。
synthesize — 转写文本合成拟音(需邀请码)
| 参数 | 类型 | 说明 |
|---|---|---|
text |
string | 切韵转写文本(如「pʉuŋ tuŋ」),先用 lookup_meaning 查字获得 |
invite_code |
string | 切韵TTS邀请码(愛發電购买) |
vits_model_name |
string(可选) | 廌言v1.6/v1.5/v1.4,默认廌言v1.6 |
rvc_model_name |
string(可选) | RVC 音色(GPU 在线时可用),缺省为基础音色 |
speed |
number(可选) | 语速 0.5-2.0,默认 1.0 |
将切韵转写文本合成为中古音拟音 MP3(保存为本地文件并返回路径);相同参数缓存复用,不重复消耗额度。
说明
- 查字、单字音频、反查、模型清单为免费端点;整段文本合成(synthesize)需邀请码(愛發電购买,支持作者),合成走官方 API 免除人机验证,GPU 在线按实际音频时长扣除额度。
- 本项目为非官方封装,仅调用切韵TTS帮助页明文公开的 API;带进程内缓存与本地音频文件缓存,请保持低频率使用。
- 字表数据版权归切韵TTS及原典整理者(poem、unt 等)所有,释义仅供核对参考,引用请查核原书。
- 已在数字人文智慧平台(dh.cckb.cn)登记分发。
安装(公共 PyPI)
uvx qieyun-tts-mcp
MCP 客户端配置(stdio):
{
"mcpServers": {
"qieyun-tts-mcp": {
"command": "uvx",
"args": ["qieyun-tts-mcp"]
}
}
}
许可
MIT
Metadata
Release files for qieyun-tts-mcp 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| qieyun_tts_mcp-0.2.1.tar.gz | 12.2 kB | Without provenance | Details for qieyun_tts_mcp-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| qieyun_tts_mcp-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for qieyun_tts_mcp-0.2.1-py3-none-any.whl |
Total release size: 24.5 kB
Release files / qieyun_tts_mcp-0.2.1.tar.gz
| Download URL | qieyun_tts_mcp-0.2.1.tar.gz |
|---|---|
| Size | 12.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
04e5ae311c278145fc7a2b0d619c2489399ac620051fa92344d1b8f2fa5a3a88
|
|
BLAKE2b-256 checksum How to use checksums |
88f6dde231854449cf47e89709982bacf0575579f1acd47b55d86cd5b4c7b615
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Release files / qieyun_tts_mcp-0.2.1-py3-none-any.whl
| Download URL | qieyun_tts_mcp-0.2.1-py3-none-any.whl |
|---|---|
| Size | 12.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
76d8ddbad76b67a898cfeed5808cd7a2c8acb65f02d53be51e7385a7642714e7
|
|
BLAKE2b-256 checksum How to use checksums |
3ae1de17ce0ca36d2f784b9f6c6b89e53aa941343654a368f04381e52dc743f8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Security for qieyun-tts-mcp 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.