Skip to main content

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": {...} }
  }
}

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

audio_info_mcp-0.1.8.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

audio_info_mcp-0.1.8-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file audio_info_mcp-0.1.8.tar.gz.

File metadata

  • Download URL: audio_info_mcp-0.1.8.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for audio_info_mcp-0.1.8.tar.gz
Algorithm Hash digest
SHA256 eb79c859e98992fc2bec4f4cc56171917ebc68c6cb00468c32dcf31d9bd1ad9a
MD5 350576d8892917781bd3f01d2ed62e8b
BLAKE2b-256 70742dd9ac24b9497103e929c7ae3defa5e1b09780724dd33bf3dc0399efd7d2

See more details on using hashes here.

File details

Details for the file audio_info_mcp-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: audio_info_mcp-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 9.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for audio_info_mcp-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 5a1bd7e9d723f72e661286a343110020ee8c9c71121012d4aa9eb3959c71cd65
MD5 eeef5e7f2514f7dc32de81d21275116b
BLAKE2b-256 02a7a9d0b37ecfc3a3ae4b7e09246a2d0f6590277c0629e6f6775f96c7e99ffd

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.8 This release

2 files

0.1.7

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page