no.locl/events
README.md
# Locl MCP server
What's on and what's open in Norwegian cities, for AI assistants.
Locl ([locl.no](https://locl.no)) collects events from organisers' and venues' own calendars, and opening hours from OpenStreetMap. This MCP server lets Claude, ChatGPT, VS Code, Cursor and other MCP clients answer questions like "what's on in Bergen tonight?" with real events, times, venues and links back to the source.
| | |
|---|---|
| Endpoint | `https://locl.no/api/mcp` |
| Transport | Streamable HTTP (JSON responses, stateless) |
| Authentication | None. No account, no API key |
| Access | Read-only. The server cannot change anything |
| Registry name | `no.locl/events` in the [MCP Registry](https://registry.modelcontextprotocol.io/v0/servers?search=no.locl) |
| Cities | Oslo, Bergen, Trondheim, Stavanger, Tromsø, Kristiansand, Drammen |
Locl (locl.no) is a Norwegian guide to events and places. It is not affiliated with LOCL, Inc. (locl.com) or locl.ai.
## Kort på norsk
Locl-serveren gir KI-assistenter tilgang til hva som skjer og hva som er åpent i norske byer. Lim inn adressen `https://locl.no/api/mcp` som en egendefinert kobling (custom connector) i Claude eller ChatGPT, og velg «ingen innlogging». Du trenger ingen konto eller nøkkel hos Locl. Spør så for eksempel «Hva skjer i Trondheim i helga?». Oppskriftene per app står under.
## Connect
### Claude (claude.ai, desktop and mobile apps)
1. Open **Settings → Connectors** and choose **Add custom connector**.
2. Name: `Locl`. URL: `https://locl.no/api/mcp`.
3. Under **Authentication**, choose **No sign in**. Leave request headers empty.
4. Click **Add**. In a chat, turn Locl on under **+ → Connectors**.
On Team and Enterprise plans an owner adds the connector first. The Free plan allows one custom connector. Claude connects from Anthropic's cloud, so this works from the phone apps as well.
Source: [Get started with custom connectors using remote MCP](https://support.claude.com/en/articles/11175166-get-started-with-custom-connectors-using-remote-mcp).
### ChatGPT
1. Go to **Plugins**, press **+** and choose **Add custom MCP server**.
2. Name: `Locl`. Connection URL: `https://locl.no/api/mcp`.
3. Authentication: none.
4. Read the warning, tick the box and choose **Create as a plugin**. ChatGPT then lists the four tools.
Workspace policies on Business and Enterprise plans may decide who can add servers.
Source: [Connecting custom MCP servers in ChatGPT](https://help.openai.com/en/articles/12584461-connecting-custom-mcp-servers-in-chatgpt).
### Claude Code
```sh
claude mcp add --transport http locl https://locl.no/api/mcp
```
Add `--scope user` to make it available in every project.
### VS Code (Copilot)
Run **MCP: Add Server**, choose **HTTP**, enter `https://locl.no/api/mcp` and the ID `locl`. Or put this in `.vscode/mcp.json` ([examples/vscode-mcp.json](examples/vscode-mcp.json)):
```json
{
"servers": {
"locl": { "type": "http", "url": "https://locl.no/api/mcp" }
}
}
```
### Cursor and other clients that read `mcp.json`
Put this in `.cursor/mcp.json` in a project, or `~/.cursor/mcp.json` for all projects ([examples/mcp.json](examples/mcp.json)):
```json
{
"mcpServers": {
"locl": { "url": "https://locl.no/api/mcp" }
}
}
```
## Tools
All tools are read-only (`readOnlyHint: true`) and return both text and `structuredContent`.
| Tool | What it answers | Arguments |
|---|---|---|
| `whats_on` | Events in a city: concerts, theatre, exhibitions, film, talks, family, workshops, nightlife. Each has time, venue, address, price when known, a link to the organiser and a Locl page | `city` (required), `when`: `now`, `today` (default), `tonight` (from 16:00), `tomorrow`, `weekend` (Friday 17:00 to Sunday night), `week`; `category`, `free_only`, `limit` (1–50, default 15) |
| `open_now` | Cafés, restaurants, bars, museums, shops and parks that are open right now by their published OpenStreetMap hours. Places with unknown hours are never shown as open | `city` (required), `lat` + `lng` to sort by distance, `category`, `limit` |
| `search_venues` | Venues that may be for hire (event venues, conference centres, community halls, concert halls, theatres), with a Locl page that has a free request form | `city` (required), `type`, `query`, `guests`, `limit` |
| `list_cities` | Cities Locl covers, with their ids | none |
All times are Europe/Oslo. The full schemas are what the server returns from `tools/list`.
### Things to ask
- "What's on in Bergen tonight?"
- "Any free family events in Oslo this weekend?"
- "Which cafés near Torget in Trondheim are open now?"
- "Find a venue in Stavanger for about 80 guests."
## Try it without an AI client
```sh
sh examples/smoke-test.sh
```
The script uses only `curl`. It runs `initialize`, `tools/list` and one `whats_on` call, and prints what the server returns.
## Data and limits
- **Events** come only from organisers and venues that allow onward sharing. Every event links to its source, and the organiser has the final word on time, price and tickets. Texts and images belong to the organisers. If you want to reuse events in your own service, write to hei@locl.no.
- **Places and venues** are from OpenStreetMap, © OpenStreetMap contributors, [ODbL](https://opendatacommons.org/licenses/odbl/).
- **Freshness:** events are collected every night, four weeks ahead.
- **Rate limits:** 120 requests per minute and 5,000 per day per IP address. Every response has `RateLimit-*` headers, and you get HTTP 429 with `Retry-After` above the limit.
- **Privacy:** the server needs no login and sets no cookies. Locl does not store your questions. As for any website, the hosting provider keeps technical logs (IP address, user agent, time). See the [privacy policy](https://locl.no/personvern) (Norwegian).
## What is in this repository
The server runs on locl.no, and its code is part of the closed Locl codebase. This repository holds the public documentation, the manifest published to the MCP Registry ([server.json](server.json)), client config examples and a smoke test. It contains no secrets and no server code.
## Contact
Questions, errors in the data, or an organiser who wants to be included: hei@locl.no. Security issues: see [SECURITY.md](SECURITY.md).
More about the data (Norwegian): [locl.no/om-dataene](https://locl.no/om-dataene).