---
name: bpmkeyfinder
description: Use BPMKeyFinder's MCP server, CLI, and Markdown docs for Camelot Wheel harmonic mixing lookups, BPM-to-milliseconds delay/reverb/LFO calculations, half/double-time BPM verification, and decoding BPMKeyFinder /r/ share links.
---

# BPMKeyFinder Agent Skill

BPMKeyFinder (`https://bpmkeyfinder.app`) provides browser-local audio BPM & key analysis plus programmatic tools for AI agents and developers via **MCP**, **CLI**, and **Markdown (`.md`) endpoints**.

## 1. Connect via MCP (Recommended)

Add the Streamable HTTP MCP server to Claude Code, Cursor, Windsurf, or Antigravity:

```json
{
  "mcpServers": {
    "bpmkeyfinder": {
      "url": "https://bpmkeyfinder.app/api/mcp"
    }
  }
}
```

### Available MCP Tools

| Tool | Input | Output |
| --- | --- | --- |
| `camelot_compatible_keys` | `{ "key": "8A" }` or `{ "key": "A minor" }` | Selected key + 5 compatible DJ transitions (`0`, `-1`, `+1`, `A↔B`, `+2`) |
| `bpm_to_ms` | `{ "bpm": 126 }` | `1/1`–`1/64` straight/dotted/triplet ms, LFO Hz, Room/Plate/Hall reverb presets |
| `bpm_half_double` | `{ "bpm": 87, "genre": "DnB" }` | Half-time (`÷2`), original (`1×`), double-time (`×2`), genre recommendation |
| `decode_share_link` | `{ "tokenOrUrl": "https://bpmkeyfinder.app/r/..." }` | Decoded BPM, musical key, Camelot code, energy, danceability, reliability, duration |

### Quick cURL Test

```bash
curl -s https://bpmkeyfinder.app/api/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"camelot_compatible_keys","arguments":{"key":"8A"}}}'
```

## 2. Run via CLI (Zero Dependencies, Node.js 18+)

```bash
# Camelot compatible keys
curl -fsSL https://bpmkeyfinder.app/cli.mjs | node - camelot 8A
curl -fsSL https://bpmkeyfinder.app/cli.mjs | node - camelot "F minor" --json

# BPM to milliseconds (Delay / Reverb / LFO Hz)
curl -fsSL https://bpmkeyfinder.app/cli.mjs | node - bpm-to-ms 126 --json

# Half-time / double-time check
curl -fsSL https://bpmkeyfinder.app/cli.mjs | node - half-double 87 --genre dnb

# Decode a BPMKeyFinder /r/<token> share link
curl -fsSL https://bpmkeyfinder.app/cli.mjs | node - decode https://bpmkeyfinder.app/r/<token>
```

## 3. Read Any Page as Markdown

Append `.md` to any URL (supports `/zh/` and `/ja/` prefixes):
- `https://bpmkeyfinder.app/llms.txt`
- `https://bpmkeyfinder.app/index.md`
- `https://bpmkeyfinder.app/camelot-wheel.md`
- `https://bpmkeyfinder.app/bpm-to-ms.md`
- `https://bpmkeyfinder.app/blog.md`
- `https://bpmkeyfinder.app/blog/camelot-wheel-harmonic-mixing-guide.md`
