Bluetooth

v1.0.0Developer Toolsstable

bluetooth-mcp-server for Claude AI

bluetoothmcpai-integration
Share:
21
Stars
0
Downloads
0
Weekly
0/5

What is Bluetooth?

Bluetooth is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to bluetooth-mcp-server for claude ai

bluetooth-mcp-server for Claude AI

This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • bluetooth-mcp-server for Claude AI

Use Cases

Control Bluetooth devices through Claude AI.
Hypijump31

Maintainer

LicenseMIT
Languagepython
Versionv1.0.0
UpdatedApr 8, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx bluetooth

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Bluetooth

The Bluetooth MCP Server exposes Bluetooth device scanning and discovery capabilities to Claude AI through a two-component Python architecture — a REST API server (run.py) that interfaces with the local Bluetooth adapter, and an MCP server (bluetooth_mcp_server.py) that bridges the MCP protocol to that API. It supports both BLE (Bluetooth Low Energy) and Classic Bluetooth scanning, with flexible filtering by device name or type and automatic recognition of common device categories including smart TVs and routers. Developers and home-automation enthusiasts use it to let Claude query nearby Bluetooth devices, retrieve manufacturer data, and work with device characteristics in natural language.

Prerequisites

  • Python 3.7 or later
  • A Bluetooth adapter accessible to the operating system (built-in or USB)
  • Administrator or sudo privileges (required for raw Bluetooth scanning on most platforms)
  • An MCP-compatible client such as Claude Desktop
  • ngrok or equivalent tunnel if exposing the local API server to Claude Desktop over HTTP
1

Clone the repository

Clone the bluetooth-mcp-server repository to your local machine.

git clone https://github.com/Hypijump31/bluetooth-mcp-server.git
cd bluetooth-mcp-server
2

Create a virtual environment and install dependencies

Set up an isolated Python environment and install all required packages from requirements.txt.

python -m venv venv
source venv/bin/activate  # Windows: venv\Scripts\activate
pip install -r requirements.txt
3

Configure environment variables

Copy the example environment file and edit it to match your system configuration. Check the .env.example file for the exact variable names required.

cp .env.example .env
# Edit .env with your preferred editor
4

Start the Bluetooth API server

Run the API server in the first terminal. It starts a local REST endpoint on port 8000 that handles raw Bluetooth operations.

python run.py
5

Start the MCP server

In a second terminal (with the venv activated), start the MCP server that bridges Claude to the Bluetooth API.

source venv/bin/activate
python bluetooth_mcp_server.py
6

Expose and configure for Claude Desktop

If using Claude Desktop, expose the local API with ngrok and configure the MCP connection. For stdio-based setups, point the command directly at bluetooth_mcp_server.py.

# Expose API server via ngrok (for HTTP transport)
ngrok http 8000

# Or for stdio: add to claude_desktop_config.json
{
  "mcpServers": {
    "bluetooth": {
      "command": "python",
      "args": ["/path/to/bluetooth-mcp-server/bluetooth_mcp_server.py"]
    }
  }
}

Bluetooth Examples

Client configuration

Claude Desktop configuration running the Bluetooth MCP server as a stdio process using the Python executable in the virtualenv.

{
  "mcpServers": {
    "bluetooth": {
      "command": "/path/to/bluetooth-mcp-server/venv/bin/python",
      "args": ["/path/to/bluetooth-mcp-server/bluetooth_mcp_server.py"]
    }
  }
}

Prompts to try

Example prompts that use the Bluetooth scanning tools to discover and inspect nearby devices.

- "Scan for nearby Bluetooth devices and list them with their signal strength"
- "Search for BLE devices only and filter for anything that looks like a fitness tracker or wearable"
- "Scan for Bluetooth devices and tell me if any TV or media device is in range"
- "Find all Bluetooth devices nearby and group them by manufacturer"

Troubleshooting Bluetooth

Bluetooth scanning returns no devices or a permission denied error

Bluetooth scanning requires elevated privileges on most operating systems. Run the API server with sudo on Linux/macOS (sudo python run.py) or ensure your user is in the 'bluetooth' group. On macOS, grant Bluetooth permissions to Terminal in System Settings → Privacy & Security → Bluetooth.

The MCP server cannot connect to the Bluetooth API on port 8000

Both processes must be running simultaneously — run.py (API server) and bluetooth_mcp_server.py (MCP bridge) in separate terminals. Confirm the API is up by running 'curl http://localhost:8000/health' before starting the MCP server.

Claude Desktop fails to start the MCP server process

Use the full absolute path to the Python executable inside the virtual environment (e.g. /path/to/bluetooth-mcp-server/venv/bin/python) in the command field. The virtualenv Python has all the required Bluetooth libraries installed; the system Python may not.

Frequently Asked Questions about Bluetooth

What is Bluetooth?

Bluetooth is a Model Context Protocol (MCP) server that bluetooth-mcp-server for claude ai It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Bluetooth?

Follow the installation instructions on the Bluetooth GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Bluetooth?

Bluetooth works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Bluetooth free to use?

Yes, Bluetooth is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Developer Tools MCP Servers

Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "bluetooth": { "command": "npx", "args": ["-y", "bluetooth"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Bluetooth?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides