# realtime-bpm-analyzer-mcp [Health: Active]

**Category:** 🎥 Multimedia Process  
**Repository:** https://github.com/dlepaux/realtime-bpm-analyzer  
**GitHub Stars:** 338  
**npm Downloads (last month):** 1338  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/realtime-bpm-analyzer-mcp

## Description
A local MCP server that gives an assistant (Claude Desktop, Claude Code, any MCP client) the BPM of audio files on your disk. Runs over stdio; the audio never leaves the machine.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "realtime-bpm-analyzer-mcp": {
    "command": "npx",
    "args": ["-y","realtime-bpm-analyzer-cli"]
  }
}
```

## Documentation

## What realtime-bpm-analyzer-mcp does

realtime-bpm-analyzer-mcp gives an MCP-compatible assistant access to BPM analysis for audio files stored on the same machine. The assistant can request the tempo of a local file and use the result in workflows such as cataloging music, checking track metadata, or comparing tempos across a collection.

The server is designed for local use. Audio is processed on the device and does not leave the machine through the server. It exposes this capability to Claude Desktop, Claude Code, and other MCP clients through the Model Context Protocol.

## How it works

Communication uses stdio rather than a network endpoint. An MCP client starts the server and exchanges requests and responses through the process input and output streams. The server reads the selected audio file from disk, passes its decoded audio to the BPM analyzer, and returns the detected tempo to the assistant.

The underlying analyzer uses two tempo-detection approaches: a default tempogram-based engine and an alternative peaks-based engine. Both examine rhythmic changes in the audio and produce a BPM reading when a tempo can be identified. Results can also include candidate half-time or double-time interpretations and a confidence value when the analysis falls within the calibrated 90–180 BPM range.

## Tools and capabilities

- Analyze the BPM of audio files on the local filesystem.
- Return a detected tempo in beats per minute.
- Keep audio processing local instead of sending files to a remote API.
- Provide tempo candidates that help distinguish half-time and double-time readings.
- Use the analyzer’s confidence information for readings within its measured tempo range.
- Run as a stdio MCP server for use with MCP-compatible clients.

The analyzer works best with music that has a steady beat. Its default tempo range is 90–180 BPM. Tracks outside that range can be interpreted at half or double their actual tempo; for example, a 70 BPM track may be reported as 140 BPM. Music without a consistent beat may produce a lower-confidence result, an incorrect reading, or no reading.

The broader analyzer supports decoded audio samples and has platform-specific support for formats handled by the relevant decoder. The MCP workflow described here operates on files available to the local server process, so the client and server need appropriate access to those paths.

## Limitations and notes

BPM detection is an estimate rather than a guarantee of the musical tempo. The documented confidence calibration applies to the 90–180 BPM benchmark range; confidence is unmeasured outside that range or when a custom tempo range is used. Half-time and double-time ambiguity is an inherent limitation for tracks whose rhythmic structure supports multiple plausible interpretations.

The server does not provide remote audio storage or cloud analysis. Its local design is useful for privacy-sensitive collections, but the MCP client must be able to start the stdio process and the process must be able to read the requested files.

_Full upstream README: https://allmcps.com/mcp/realtime-bpm-analyzer-mcp/readme_

