copark-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
copark-mcp
Unofficial MCP server and CLI for CoPark guest parking permits (gæstetilladelser).
CoPark only offers an app and a web portal for ordering guest permits. This project talks to the same API as the web portal, so you can order permits from Claude or any other MCP client, check your history, or book them on a schedule from cron. Useful if you have cleaners, a babysitter or family visiting on a regular basis.
Not affiliated with CoPark or Giant Leap. The API is undocumented and may change without notice.
What it can do
MCP tool | CLI | What it does |
|
| Orders a guest permit, starting now, for a plate or a saved name |
|
| Saves a plate under a name, checks it against the vehicle register |
|
| Saved plates with names, aliases and car descriptions |
|
| Deletes a saved plate |
|
| Currently active permits |
|
| Past guest permits, newest first |
|
| Guest permits per month and per plate (with saved names), plus how many are left if you set a monthly limit |
| Car description for a Danish plate | |
|
| Permit products on your account |
Your guest permit product is found automatically. If your account has more than one (for example
2-hour and 24-hour permits), set COPARK_GUEST_PRODUCT_ID to the one you want; copark-mcp products
lists them.
Related MCP server: weconnect_mvp
Saved plates
Save the plates you use often under a name, then order by name:
copark-mcp save cleaners AB12345 "rengøringen"
copark-mcp save parents CD67890 "mom and dad" "mor og far"
copark-mcp order cleanersFrom Claude, just say "save my parents' plate CD67890" and later "get a guest permit for mom and dad". The server matches names and aliases exactly (ignoring case); the tool descriptions tell the model to check the saved list and map looser wording to the right name, and to ask when it's unsure. If a name isn't found, the error lists the saved names so the model can pick the right one.
Saved plates live in ~/.config/copark-mcp/plates.json on the machine running the server,
never in the repository. History and usage are labelled with saved names.
Requirements
A CoPark account that can order guest permits on the web portal, copark-permit.giantleap.no, with a password. If you don't have a password, use "Glemt adgangskode" on that page.
The first time you order on the web, CoPark may ask for your name, email and address. Order one permit through the web portal by hand first so those are saved to your profile.
Python 3.10+ and uv (or pip).
Install
uv tool install git+https://github.com/dromi/copark-mcp
copark-mcp setupsetup asks for your CoPark login (your mobile number; Danish numbers as 8 digits, other
countries with a country code like +46) and, optionally, how many guest permits your association
allows per month. It writes them to ~/.config/copark-mcp/env (permissions 600) on that machine,
tests the login and finds your guest product. Nothing is stored in the repository. Run setup
again to change anything.
Check it works:
copark-mcp list
copark-mcp usageYou can skip setup and use environment variables instead; they take precedence over the file.
See env.example for all settings.
Use it from an MCP client
Local (stdio), e.g. Claude Desktop or Claude Code:
{
"mcpServers": {
"copark": { "command": "copark-mcp" }
}
}On a server (HTTP). copark-mcp --http 8766 serves streamable HTTP on 127.0.0.1:8766.
To run it as a service, see deploy/copark-mcp.service:
cp deploy/copark-mcp.service ~/.config/systemd/user/
systemctl --user daemon-reload && systemctl --user enable --now copark-mcp
loginctl enable-linger "$USER"The server has no authentication of its own. Keep it on localhost or your LAN, or put it behind a
proxy that adds auth. If you need to reach it from the internet (for example to add it as a
custom connector in Claude), setup gives it a long random URL path (COPARK_MCP_PATH), which
works as a shared secret. Claude's custom connectors don't accept URLs with a port number, so
serve it on the default HTTPS port. With Tailscale Funnel, mount it under its secret path (this
coexists with anything else you serve on the same machine):
P=$(grep COPARK_MCP_PATH ~/.config/copark-mcp/env | cut -d= -f2)
tailscale funnel --bg --set-path "$P" "http://127.0.0.1:8766$P"
# connector URL: https://<machine>.<tailnet>.ts.net<COPARK_MCP_PATH>Set COPARK_MCP_ALLOWED_HOSTS (asked by setup) to that public hostname, e.g.
machine.tailnet.ts.net, so the server only answers requests addressed to it. Without it the
host check is off. Behind a proxy, the MCP SDK's default localhost-only check would answer
421 Invalid Host header.
Book permits on a schedule
No LLM is needed for a fixed schedule; cron and the CLI are enough.
# Every Monday at 07:30
30 7 * * 1 ~/.local/bin/copark-mcp order cleaners >> ~/copark.log 2>&1
# Every third Tuesday: cron can't count weeks, so check the ISO week number.
# Change "-eq 0" to 1 or 2 to shift which week it fires.
30 7 * * 2 [ $(( $(date +\%V) \% 3 )) -eq 0 ] && ~/.local/bin/copark-mcp order cleaners >> ~/copark.log 2>&1Limitations
Permits start immediately. CoPark doesn't support future start dates for guest permits (a future start is echoed back, but the end is still counted from now), so order on the day.
Password login only. If CoPark requires SMS verification for your account, login fails with a clear message. The SMS endpoints are listed below if someone wants to add that.
Monthly limits aren't exposed by CoPark. Limits are set by each housing association and don't appear in the API, so set
COPARK_MONTHLY_LIMITyourself to track what's left.Free permits only by default. Ordering refuses products that cost money unless
COPARK_ALLOW_PAID=1.No cancel command yet.
Development
uv venv && uv pip install -e '.[dev]'
pytestThe tests run offline against a mocked API.
API notes
CoPark is a white label of Giant Leap's Parko platform. Base URL
https://copark-permit.giantleap.no/api/; every call sends X-GLTLocale: da_DK_copark, and
authenticated calls send X-Token: <token>.
Call | Purpose |
| Login, returns |
| SMS login (not implemented) |
| Parking areas on the account |
| Products in an area |
| Price quote |
| Place the order (body: |
| Active permits |
| Full history, paged |
| Plate lookup |
| Cancel (seen in the web app, untested) |
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server wrapping the Tesla Fleet API and TeslaMate API
MCP server for mandates, delegation, policy-gated execution, credential grants, and audit.
Linux server administration over OAuth MCP: shell, Docker, systemd, files and monitoring.
Related MCP Servers
- AlicenseAqualityCmaintenanceMCP server for fetching Danish electricity spot prices (DK1/DK2) using the free elprisenligenu.dk API, providing tools to get current price, cheapest hours, and price summaries.4MIT
- AlicenseAqualityCmaintenanceA developer-focused server that exposes information from VW vehicles via a Model Context Protocol (MCP) interface. This project is designed for integration, automation, and experimentation with connected car data.33CC BY-SA 4.0
- FlicenseNot gradedqualityDmaintenanceLocal MCP server for checking council bin collection dates from a residential address.-
- AlicenseNot gradedqualityCmaintenanceMCP server and CLI for host and container operations, enabling Docker and Compose control, SSH, host inspection, logs, ZFS, and safe file transfer. It exposes flux and scout MCP tools with parity from the original TypeScript server.2AGPL 3.0