H-ear MCP Server
Enables Claude to classify audio across 7,000+ sound classes, including bird species and urban noise, with tools for batch processing, webhooks, and usage tracking.
README
H-ear MCP Server
AI-powered sound classification for Claude. Identify sounds, detect noise events, and classify audio across 7,000+ sound classes — from urban noise to bird species.
H-ear connects Claude to the H-ear World audio classification API via the Model Context Protocol.
Quick Start
npx @h-ear/mcp-server --key YOUR_API_KEY
That's it. Claude now has 14 tools (classification, account, webhooks), a live status resource, and a guided classification prompt.
Tools
| Tool | Auth | Description |
|---|---|---|
classifyAudio |
Key | Classify audio from a file or URL. Async submit + poll. Large files auto-chunked. |
classifyBatch |
Key | Batch classify up to 50 files at once. |
listClasses |
None | Browse 521+ sound classes across 3 taxonomies (7,000+ including species). |
healthCheck |
None | API liveness check — status, version, deployment timestamp. |
usage |
Key | API quota: minutes used, calls today, remaining balance. |
listJobs |
Key | Recent classification job history with pagination. |
getJob |
Key | Detailed job result with all detected sound events. |
createWebhook |
Bearer | Create enterprise webhook with event/taxonomy/tier filters. Returns signing secret once. |
listWebhooks |
Bearer | List all enterprise webhook registrations. |
getWebhook |
Bearer | Get webhook details including filter config and delivery stats. |
updateWebhook |
Bearer | Update webhook URL, events, status (active/paused), or filters. |
deleteWebhook |
Bearer | Permanently delete a webhook registration. |
pingWebhook |
Bearer | Send a test.ping event to verify connectivity and signing. |
listWebhookDeliveries |
Bearer | Delivery audit trail with response status and timing. |
Plus:
- Resource
h-ear://status— live API status with taxonomies and class counts - Prompt
classify-audio— guided workflow with configurable detail level
Supported Audio
| Formats | Max Size | Max Duration |
|---|---|---|
| MP3, WAV, FLAC, OGG, M4A | 25 MB (auto-chunked above) | 10 minutes |
Files over 25 MB are automatically split into overlapping chunks using ffmpeg, classified in parallel, then merged with deduplication.
Taxonomies
| Taxonomy | Classes | Use Case |
|---|---|---|
audioset-yamnet-521 |
521 | General sound classification (default) |
audioset-panns-527 |
527 | Extended general classification |
species |
6,522 | Bird species identification |
Authentication
Get an API key from h-ear.world (Enterprise plan). Pass it via:
- Environment variable:
HEAR_API_KEY - CLI flag:
--key YOUR_KEY - OAuth 2.1 + PKCE (automatic via claude.ai Connectors Directory — handled by your MCP client)
Two tools (healthCheck, listClasses) work without authentication.
Transport
| Transport | Endpoint |
|---|---|
| stdio (npm) | npx @h-ear/mcp-server --key YOUR_KEY |
| Streamable HTTP | https://api.h-ear.world/mcp |
Documentation
- Tool Reference — all 7 tools with schemas and parameters
- Examples — real-world use cases with prompts
- Authentication — API keys, OAuth, Enterprise tiers
- Configuration — Claude Desktop, Claude Code, claude.ai setup
- Troubleshooting — common issues and solutions
Links
- npm: @h-ear/mcp-server
- npm: @h-ear/core
- H-ear World
- OpenClaw Skill (WhatsApp, Telegram, Slack, Discord, Teams)
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。