Audio Info MCP
获取音频文件详细信息的 MCP 服务,提供 get_audio_info 工具。返回值为英文且 ASCII 编码。
安装
pip install audio-info-mcp
运行
audio-info-mcp
工具
get_audio_info(audio_path: str) -> str- 参数:
audio_path音频文件路径 - 返回:JSON 字符串
- 错误处理:当
audio_path为空/无效/文件不存在,返回结构化错误 JSON(不抛异常)
- 参数:
示例
{
"isError": false,
"data": {
"file_path": "C:\\Users\\user\\Music\\demo.mp3",
"format": { "format_name": "mp3", "duration": "...", "size": "...", "bit_rate": "...", "tags": {...} },
"audio_stream": { "codec_name": "mp3", "sample_rate": "44100", "channels": 2, ... },
"raw_info": { "streams": [...], "format": {...} }
}
}
Metadata
Release files for audio-info-mcp 0.1.8
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 |
|---|---|---|---|---|
| audio_info_mcp-0.1.8.tar.gz | 9.0 kB | Without provenance | Details for audio_info_mcp-0.1.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| audio_info_mcp-0.1.8-py3-none-any.whl | Python 3 | none | any | Details for audio_info_mcp-0.1.8-py3-none-any.whl |
Total release size: 18.5 kB
Release files / audio_info_mcp-0.1.8.tar.gz
| Download URL | audio_info_mcp-0.1.8.tar.gz |
|---|---|
| Size | 9.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eb79c859e98992fc2bec4f4cc56171917ebc68c6cb00468c32dcf31d9bd1ad9a
|
|
BLAKE2b-256 checksum How to use checksums |
70742dd9ac24b9497103e929c7ae3defa5e1b09780724dd33bf3dc0399efd7d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.11
|
Release files / audio_info_mcp-0.1.8-py3-none-any.whl
| Download URL | audio_info_mcp-0.1.8-py3-none-any.whl |
|---|---|
| Size | 9.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5a1bd7e9d723f72e661286a343110020ee8c9c71121012d4aa9eb3959c71cd65
|
|
BLAKE2b-256 checksum How to use checksums |
02a7a9d0b37ecfc3a3ae4b7e09246a2d0f6590277c0629e6f6775f96c7e99ffd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.11
|
Security for audio-info-mcp 0.1.8
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.