bluelink-mcp
bluelink-mcp lets AI assistants inspect Hyundai/Kia vehicles and, if writes are enabled, send remote commands.
List vehicles on the account.
Read last-reported status (battery/fuel, range, charging, climate, locks, doors, windows, tyres, warnings, charging schedule) without waking the car.
Wake the car for live status/refresh, rate-limited.
Get location when enabled, trips, daily energy usage, and command results.
Lock doors.
Start/stop climate with temperature, duration, defrost, heated rear window/mirrors, steering wheel, and seat settings.
Start/stop charging; set AC/DC charge limits; set AC charging current.
Start/stop high-voltage battery conditioning (EVs, europe-cci).
Open/close charge port.
Set scheduled charging and departure schedules.
Close all windows.
Flash hazard lights; sound horn and flash lights.
Provides tools for interacting with Hyundai Bluelink, enabling AI assistants to check vehicle status (battery/fuel, range, charging, climate, locks, doors, windows, tyres, warnings), retrieve location and trips, and optionally send commands like lock/unlock, start/stop climate, start/stop charging, set charge limits, and flash hazard lights.
Works with Kia Connect accounts to provide similar vehicle status, location, trip, and energy usage data, and optionally execute remote commands such as locking, climate control, and charging management.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@bluelink-mcp Is my car locked and charged? What's the range?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
bluelink-mcp
Talk to your Hyundai or Kia.
An open-source Model Context Protocol server for Hyundai Bluelink and Kia Connect (formerly UVO). It lets Claude and other AI assistants check your car's charge, fuel, range, locks and location, and, if you allow it, pre-heat the cabin, lock the doors or start charging.
Quick start · Documentation · Tool reference · Contributing
It's built on hyundai_kia_connect_api, the library behind the Home Assistant Kia/Hyundai integration. Hyundai and Kia work in most regions, and Genesis in some; see Compatibility. The name and settings say Bluelink (BLUELINK_*), but they cover Kia Connect too: for a Kia, set BLUELINK_BRAND=kia.
"Is the car charged, and is it locked?" The Santa Fe is at 80% (about 52 km of electric range, 610 km total with fuel) and finished charging at 06:10. All doors are locked and the windows are closed. Bluelink last heard from it 25 minutes ago.
"Warm the EV6 up for 15 minutes." Done. The Kia confirmed it, so the cabin is heating to 21 °C for 15 minutes. It's at 64%, so there's plenty of charge for that.
This is an unofficial project and isn't affiliated with Hyundai, Kia or Genesis. Their APIs are undocumented and change without notice.
Tools
Tool | What it does | Needs |
| Vehicles on the account | |
| Last reported battery/fuel, range, charging, climate, locks, doors, windows, tyres, warnings and charging schedule. Doesn't wake the car. | |
| Wakes the car for live data. Rate limited (see below). | |
| Latitude/longitude, map link and optional address | location |
| A day's trips, or a month's summary | |
| Daily energy use for driving, climate, electronics and battery care | |
| Result of an earlier command | |
| Lock the doors | writes |
| Close all four windows (there is no tool to open them) | writes |
| Pre-condition the cabin: temperature, duration, defrost, heated rear window/mirrors and steering wheel, seats | writes |
| Start or stop charging | writes |
| AC/DC charge limits (EVs; most plug-in hybrids don't support this) | writes |
| Warm or cool the high-voltage battery (EVs, | writes |
| Limit the AC charging current (100, 90 or 60%) | writes |
| Open or close the charge port door | writes |
| Scheduled off-peak charging, and the two departure times with their pre-conditioning | writes |
| Flash the hazards to find the car | writes |
| Sound the horn and flash the hazards | writes |
| Unlock the doors | writes + unlock |
Every tool takes an optional vehicle (name, VIN or ID). You can leave it out if the account has one car.
Related MCP server: connected-vehicle-health
Quick start
You need a Hyundai Bluelink or Kia Connect account that works in the app, and uv or Docker. On Claude Desktop you need neither: see below. The defaults are for a Hyundai in Europe. For a Kia, add BLUELINK_BRAND=kia, and outside Europe set BLUELINK_REGION.
Claude Desktop extension
Download bluelink-mcp-<version>.mcpb from the latest release and open it, or drag it onto Settings → Extensions in Claude Desktop. Fill in your login, region and brand, and choose what Claude may do. One bundle works on macOS, Windows and Linux: Claude Desktop installs Python and the dependencies itself. See Claude Desktop.
Claude Code with uv (stdio)
git clone https://github.com/mattoddie/bluelink-mcp && cd bluelink-mcp
claude mcp add bluelink \
-e BLUELINK_USERNAME=you@example.com \
-e BLUELINK_PASSWORD='your-password' \
-e BLUELINK_PIN=1234 \
-e BLUELINK_ALLOW_WRITES=true \
-- uv run --directory "$PWD" bluelink-mcpFor a Kia, add -e BLUELINK_BRAND=kia. Other stdio clients use the same command (uv run --directory /path/to/bluelink-mcp bluelink-mcp) with the same environment variables.
Docker (Streamable HTTP)
cp example.env .env # fill in BLUELINK_* (BLUELINK_BRAND=kia for a Kia) and a random MCP_AUTH_TOKEN (openssl rand -hex 32)
docker compose up -d
claude mcp add --transport http bluelink http://<docker-host>:8080/mcp \
--header "Authorization: Bearer <MCP_AUTH_TOKEN>"Then ask "How's the car doing?"
bluelink-mcp is also listed in the MCP Registry as io.github.mattoddie/bluelink-mcp, so clients that browse the registry can install the Docker image (over stdio) or the Claude Desktop bundle from there.
Configuration
All settings are environment variables; example.env lists and explains them. BLUELINK_PASSWORD, BLUELINK_PIN and MCP_AUTH_TOKEN can also be read from files with BLUELINK_PASSWORD_FILE, BLUELINK_PIN_FILE and MCP_AUTH_TOKEN_FILE.
Variable | Default | |
| Your Bluelink or Kia Connect app login (required) | |
| Your app PIN. Europe needs it for remote commands. | |
|
|
|
|
|
|
|
| Response language (Europe) |
|
| Register |
|
| Decimal places of latitude/longitude to return (4 is about 10 m) |
|
| Add a street address to the location via OpenStreetMap (needs location) |
|
| Register the command tools |
|
| Also register |
| Record every command and live refresh as JSON Lines: a file path, or | |
|
| Minimum gap between |
|
| Minimum gap before sending the same command to the same car again |
|
| How long a status read is reused |
|
| Wait after Bluelink rejects a login before trying again |
|
| Login token cache. Set it empty to turn caching off. |
|
|
|
|
|
|
|
| HTTP listen address |
| Bearer token clients must send (at least 16 characters). Required for | |
| Optional Host header allow-list for DNS rebinding protection | |
| Origins browser-based clients may use, when |
Which region and brand?
In the UK and the rest of Europe, start with europe, the classic Bluelink and Kia Connect Europe service. Some newer Hyundais and Kias use the CCI/"OneApp" backend instead. If login or status fails with europe, try europe-cci.
Not every brand is available everywhere. New Zealand is Kia only, and Brazil is Hyundai only. See the compatibility table.
Being kind to your car (and your account)
Reads come from Bluelink, not the car.
bluelink_get_vehicle_statusreturns what the car last uploaded, which happens when it is switched off, while charging and after commands. Checklast_updated_at.Waking the car costs something.
bluelink_refresh_vehicle_statusmakes the car's modem report in. Done often, this drains the 12V battery, and Hyundai and Kia limit API calls per day in Europe. It is rate limited per car (BLUELINK_MIN_REFRESH_MINUTES).Logins are cached. Repeated password logins can get an account temporarily blocked, so the server keeps the token in
BLUELINK_TOKEN_FILE(mode0600). The file contains your session tokens (not your password or PIN), so treat it like a password. After Bluelink rejects a login the server discards the cache and waitsBLUELINK_LOGIN_RETRY_MINUTESbefore trying again.Commands are slow. They travel over the mobile network and usually take 20–60 s. With
wait=true(the default), the tool waits up to about 60 s for the car to confirm, then returnspendingwith anaction_idto check later; other tools keep working meanwhile.timeoutmeans the car didn't answer, not necessarily that nothing happened.
Safety
The server is read-only unless you set BLUELINK_ALLOW_WRITES=true, and bluelink_unlock_vehicle needs its own BLUELINK_ALLOW_UNLOCK=true switch. Unlocking also needs your confirmation on the server side (see Unlocking), and each command is rate limited per car. Tools carry MCP annotations (read-only, destructive) so clients can ask before running them, and BLUELINK_AUDIT_LOG records every command in an audit log. In HTTP mode every request needs the bearer token, so don't expose the port to the internet without TLS in front of it.
Documentation
From nothing to your first question | |
Claude Code, Claude Desktop, VS Code, Cursor, Codex, stdio | |
Every setting, and choosing a region and brand | |
Example questions, cached vs live data, commands | |
Every tool and argument | |
Running it well |
Development
uv sync
uv run pytest
uv run ruff check . && uv run ruff format --check .The tests use a fake vehicle manager, so they need no car account or network. See Development and the contributing guide.
License
Available Tools
23 toolsbluelink_close_charge_portClose the charge portA
Close the charging port door. EVs and plug-in hybrids with a motorised port door, in Europe, Australia, New Zealand, China and India.
Inputs: wait, vehicle. Returns: object
bluelink_close_windowsClose the windowsA
Close all four side windows, e.g. when the user left one open and rain is coming. There is deliberately no tool to open them. Not every car has remote window control; not available in the USA or Canada.
Inputs: wait, vehicle. Returns: object
bluelink_flash_hazard_lightsFlash hazard lightsA
Flash the hazard lights briefly, e.g. to find the car in a car park. Not available in Canada or for Kia in the USA.
Inputs: wait, vehicle. Returns: object
bluelink_get_command_statusGet command statusBRead-only
Check whether an earlier remote command succeeded (pending, success, failed, timeout).
Inputs: action_id (required), vehicle. Returns: object
bluelink_get_energy_usageGet daily energy usageARead-only
Get daily electric energy use (Wh) split into driving, climate, electronics and battery care, plus regenerated energy and distance, newest day first, as {total, returned, items}. EVs and PHEVs in some regions.
Inputs: hours, vehicle. Returns: object
bluelink_get_tripsGet tripsARead-only
Get driving history: trips for a day, or a month's summary with trip counts per day. Not every region supports this (Europe does).
Inputs: date, vehicle. Returns: object
bluelink_get_vehicle_locationGet vehicle locationBRead-only
Get where the car is parked (latitude/longitude, and an address if geocoding is on).
Inputs: vehicle. Returns: object
bluelink_get_vehicle_statusGet vehicle statusARead-only
Get the car's last reported state: battery and fuel, range, charging, climate, locks, doors, windows, tyres, warnings and charging schedule. Does not wake the car.
Inputs: vehicle. Returns: object
bluelink_list_vehiclesList vehiclesARead-only
List the vehicles on the account, as {total, returned, items}.
Inputs: no named parameters. Returns: object
bluelink_lock_vehicleLock the carB
Lock the car's doors.
Inputs: wait, vehicle. Returns: object
bluelink_open_charge_portOpen the charge portA
Open the charging port door, ready to plug in. EVs and plug-in hybrids with a motorised port door, in Europe, Australia, New Zealand, China and India.
Inputs: wait, vehicle. Returns: object
bluelink_refresh_vehicle_statusRefresh vehicle status from the carA
Wake the car and fetch live state, then return it like bluelink_get_vehicle_status. Uses a little 12V battery and API quota, so it is rate limited.
Inputs: vehicle. Returns: object
bluelink_set_charge_limitsSet charge limitsA
Set the maximum charge level. Mainly for EVs; many plug-in hybrids don't support it.
Inputs: ac_percent (required), dc_percent (required), wait, vehicle. Returns: object
bluelink_set_charging_currentSet the AC charging currentA
Limit the current the car draws when AC charging, e.g. to go easy on a weak household socket or circuit. Recent EVs in Europe, Australia, New Zealand, China and India.
Inputs: percent (required), wait, vehicle. Returns: object
bluelink_set_charging_scheduleSet the charging scheduleA
Change the car's scheduled (off-peak) charging: on or off, and the off-peak window. Settings left out keep their current values, read from the car's last reported state; the result shows the whole schedule that was sent. EVs and plug-in hybrids in Europe, Australia, New Zealand, China and India.
Inputs: wait, vehicle, off_peak_end, off_peak_only, +2 more. Returns: object
bluelink_set_departure_scheduleSet a departure timeA
Change one of the car's two departure times: when it repeats, and whether to pre-condition the cabin (and charge) to be ready by then. Settings left out keep their current values, read from the car's last reported state; the result shows the departure that was sent. On some cars the climate settings are shared by both departures. EVs and plug-in hybrids in Europe, Australia, New Zealand, China and India.
Inputs: slot (required), days, time, wait, +5 more. Returns: object
bluelink_sound_horn_and_flash_lightsSound the horn and flash the lightsA
Sound the horn and flash the hazard lights for a short while, e.g. to find the car. It is loud and can disturb people nearby, so only do this when the user asks for the horn; to just find the car, prefer bluelink_flash_hazard_lights. Not available in Canada or for Kia in the USA.
Inputs: wait, vehicle. Returns: object
bluelink_start_battery_conditioningStart battery conditioningA
Start warming (or cooling) the high-voltage battery, so it charges faster and the car has more range when it's cold. Uses energy from the battery, or from the charger when plugged in. EVs in europe-cci only.
Inputs: wait, vehicle. Returns: object
bluelink_start_chargingStart chargingA
Start charging now (the car must be plugged in). Overrides a charging schedule.
Inputs: wait, vehicle. Returns: object
bluelink_start_climateStart climate controlB
Start pre-conditioning the cabin (heating or cooling). Seat settings only apply to cars that support them. On a plug-in hybrid this runs from the high-voltage battery.
Inputs: wait, defrost, vehicle, temperature, +7 more. Returns: object
bluelink_stop_battery_conditioningStop battery conditioningB
Stop conditioning the high-voltage battery. EVs in europe-cci only.
Inputs: wait, vehicle. Returns: object
bluelink_stop_chargingStop chargingC
Stop charging.
Inputs: wait, vehicle. Returns: object
bluelink_stop_climateStop climate controlC
Stop cabin pre-conditioning.
Inputs: wait, vehicle. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 23 tools
Every tool targets a distinct resource+action, and the two potentially confusable pairs are explicitly separated: bluelink_get_vehicle_status reads cached state while bluelink_refresh_vehicle_status wakes the car and is documented as rate limited, and bluelink_sound_horn_and_flash_lights tells the agent to prefer bluelink_flash_hazard_lights when the horn isn't requested. Start/stop, open/close and set_* pairs map cleanly to opposite operations.
All 23 tools use the same bluelink_<verb>_<noun> snake_case pattern with a uniform server prefix. Verbs are used predictably (list/get/refresh for reads, start/stop and open/close for opposing pairs, set_ for configuration, flash/sound for one-shot actions).
23 tools is on the heavy side of the ideal range, but the domain (remote vehicle control across many regions and models) genuinely requires this many distinct commands. Each tool maps to a real, non-duplicated capability, so very little pruning would be possible without losing function.
Coverage is broad (status, location, trips, energy, charging, climate, schedules, windows, lights), but bluelink_lock_vehicle has no unlock counterpart, which is a notable lifecycle gap for a car-control server. The missing window-open tool is deliberately documented, so that one is a design choice rather than a hole.
Maintenance
Related MCP Connectors
Control your Tesla from your AI assistant - climate, charging, access, and security.
Tesla data for your AI: battery, range, charging, tires, alerts, history. Controls off by default.
AI for your car: check charge, start climate, lock/unlock, open trunk via Tesla Fleet API. OAuth.
Tesla Fleet API for AI: send navigation destinations, read battery and location, run car commands.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI assistants to control and monitor Tesla vehicles via natural language through the Tessie API, supporting battery, climate, security, charging, and more.611MIT
- FlicenseAqualityDmaintenanceExposes a connected-vehicle OBD-II/telematics platform to AI agents, enabling vehicle health scoring, live data queries, DTC decoding, maintenance prediction, and gated remote commands via a pluggable data layer.9-
- AlicenseAqualityAmaintenanceA Model Context Protocol server that connects Claude to your own Kia vehicle through the Kia Owners API, enabling vehicle status, location, odometer, EV charge state, and confirm-gated commands for doors, climate, and charging.1690 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables an assistant to check a Tesla vehicle's status and lock it through signed Vehicle Command Protocol messages, including automatic nightly locking, while keeping status reads non-waking and state-changing actions confirmation-gated.MIT