Skip to main content
Glama
Nightlife Search

Nightlife Search

by alcylu

nightlife-mcp

MCP server for nightlife event discovery backed by Supabase.

Quick Start

Production endpoint: https://api.nightlife.dev/mcp

  1. Subscribe at nightlife.dev: Starter US$5/month for 500 requests, or Pro US$19/month for 5,000. Both include advanced profile data. There is no free public API tier.

  2. Add to Claude Desktop config (claude_desktop_config.json):

{
  "mcpServers": {
    "nightlife": {
      "url": "https://api.nightlife.dev/mcp",
      "headers": {
        "x-api-key": "YOUR_API_KEY"
      }
    }
  }
}

For curl, TypeScript SDK, and other clients, see CLIENT_SETUP.md.

Related MCP server: gigora-mcp

Implemented (v0.3)

  • search_events

  • get_tonight

  • get_event_details

  • search_venues

  • get_venue_info

  • search_performers

  • get_performer_info

  • list_cities

  • list_genres

  • list_areas

  • log_unmet_request

  • create_vip_booking_request

  • get_vip_booking_status

  • cancel_vip_booking_request

  • get_vip_pricing (internal ops sessions only)

  • submit_to_guest_list

  • get_guest_list_entry_status

  • get_recommendations (v0.2, behind MCP_ENABLE_RECOMMENDATIONS=true)

  • Streamable HTTP endpoint with API-key middleware

  • Structured tool output schemas (outputSchema)

  • Deterministic tool error payloads with stable error codes

  • Runtime request/tool metrics exposed at /health

Prerequisites

  • Node.js 20+

  • Supabase project URL + service role key

Setup

cp .env.example .env
npm install

Set env vars in .env:

  • SUPABASE_URL

  • SUPABASE_SERVICE_ROLE_KEY

Optional:

  • DEFAULT_CITY (default: tokyo)

  • MCP_TOP_LEVEL_CITIES (default example: tokyo,san-francisco; controls available_cities in unsupported-city responses)

  • DEFAULT_COUNTRY_CODE (default: JP)

  • NIGHTLIFE_BASE_URL (default: https://nightlifetokyo.com)

  • MCP_HTTP_REQUIRE_API_KEY (default: true)

  • MCP_HTTP_USE_DB_KEYS (default: true)

  • MCP_HTTP_ALLOW_ENV_KEY_FALLBACK (default: true)

  • MCP_HTTP_API_KEYS (comma-separated legacy fallback keys)

  • MCP_ENABLE_RECOMMENDATIONS (default: false; enables get_recommendations)

HTTP authentication can use persistent API keys from Supabase plus quota tracking.

  1. Run SQL migration in your Supabase SQL editor:

-- copy file contents from:
-- supabase/migrations/20260219094000_mcp_api_keys.sql
  1. Ensure DB auth flags are enabled in .env:

MCP_HTTP_REQUIRE_API_KEY=true
MCP_HTTP_USE_DB_KEYS=true
MCP_HTTP_ALLOW_ENV_KEY_FALLBACK=true
  1. Create an API key record:

npm run key:create -- --name claude-desktop --tier starter --daily-quota 1000 --minute-quota 60

This prints the raw api_key once. Save it securely and use it in MCP HTTP calls.

If the DB RPC is unavailable, fallback to MCP_HTTP_API_KEYS works only when MCP_HTTP_ALLOW_ENV_KEY_FALLBACK=true.

Concierge Unmet Request Backlog

Public concierge flows can log unsupported user intents to Supabase.

Run migration:

-- copy file contents from:
-- supabase/migrations/20260226_concierge_unmet_requests.sql

Then call MCP tool log_unmet_request when no good answer exists from available nightlife data.

VIP Booking Phase 1

VIP table booking submission and status tracking are backed by Supabase.

Run migration:

-- copy file contents from:
-- supabase/migrations/20260227143000_vip_phase1_requests_and_queue.sql
-- supabase/migrations/20260228124500_add_vip_booking_enabled_to_venues.sql
-- and if already deployed before 2026-02-28:
-- supabase/migrations/20260228111000_vip_outward_language_defaults.sql
-- supabase/migrations/20260301010000_vip_table_availability_chart.sql
-- supabase/migrations/20260301114000_vip_table_chart_storage_bucket.sql
-- supabase/migrations/20260303093000_vip_dashboard_admin_edits.sql

Then call MCP tools:

  • create_vip_booking_request

  • get_vip_booking_status

  • cancel_vip_booking_request

  • get_vip_pricing (ops only: venue/date pricing, open status, zones, and layout image)

Conversation policy for create_vip_booking_request:

  • Confirm booking date/time in venue local time before submitting.

  • Use dual-date confirmation wording, especially for late-night arrivals (00:00-05:59).

  • Required confirmation template:

    • Just to confirm: you want a table for [Night Day] night ([Night Date]), arriving around [Time] on [Arrival Day], [Arrival Date] ([Timezone]). I'll submit that as [Night Day] night with [Time] arrival. Is that correct?

  • If the user gives a time like 2am without a day, ask:

    • Do you mean 2:00 AM after Thursday night (Friday morning), or after Friday night (Saturday morning)?

  • If the user changes day, regenerate confirmation before submission.

Ops-tier sessions also have internal queue tools:

  • list_vip_reservations (all outstanding reservations; default statuses: submitted, in_review, confirmed)

  • list_vip_requests_for_alerting (due alerts only)

  • mark_vip_request_alert_sent

  • claim_vip_request_after_ack

  • update_vip_booking_status (set confirmed/rejected/cancelled with audit event)

  • upsert_vip_venue_tables (write venue table definitions + chart coordinates + optional table notes + optional layout_image_url)

  • upsert_vip_table_availability (write per-date table statuses)

  • upload_vip_table_chart_image (upload chart image to storage and attach layout_image_url to venue table metadata)

To discover bookable venues first, use:

  • search_venues with vip_booking_supported_only=true

  • or get_venue_info and check vip_booking_supported

For internal venue-booking workers, claim queue tasks via DB function:

  • public.claim_next_vip_agent_task(p_agent_id text)

VIP Ops Dashboard

Internal dashboard routes:

  • GET /ops/login

  • POST /ops/login

  • POST /ops/logout

  • GET /ops/vip-dashboard

Internal admin API routes (cookie-session protected):

  • GET /api/v1/admin/vip-bookings

  • GET /api/v1/admin/vip-bookings/:id

  • PATCH /api/v1/admin/vip-bookings/:id

Required env vars:

  • VIP_DASHBOARD_ADMINS (comma-separated username:password pairs)

Optional env vars:

  • VIP_DASHBOARD_SESSION_TTL_MINUTES (default: 720)

  • VIP_DASHBOARD_SESSION_COOKIE_NAME (default: vip_dashboard_session)

Run

Stdio (local desktop clients):

npm run dev

Streamable HTTP:

npm run dev:http

For production build:

npm run build
npm start

For HTTP in production:

npm run start:http

Authenticated production smoke check:

NLT_API_KEY=... npm run smoke:prod:auth

Optional env overrides:

  • NLT_MCP_URL (default: https://api.nightlife.dev/mcp)

  • NLT_REST_BASE_URL (default: https://api.nightlife.dev/api/v1)

  • NLT_SMOKE_CITY (default: tokyo)

Debug web UI for recommendations:

MCP_ENABLE_RECOMMENDATIONS=true npm run dev:http
# open http://127.0.0.1:3000/debug/recommendations

Notes

  • Date handling supports tonight, this_weekend, YYYY-MM-DD, and YYYY-MM-DD/YYYY-MM-DD.

  • get_recommendations returns up to 10 diverse modal slots with dynamic city-aware fallback.

  • Venue and performer tools include upcoming events snapshots.

  • log_unmet_request writes unresolved user asks to public.concierge_unmet_requests.

  • VIP phase 1 writes booking submissions to public.vip_booking_requests and worker queue tasks to public.vip_agent_tasks.

  • VIP inventory writes table definitions to public.vip_venue_tables and date-specific statuses to public.vip_table_availability.

  • search_venues and get_venue_info include vip_booking_supported so clients can show exactly which venues accept VIP booking submissions.

  • vip_booking_supported is sourced from public.venues.vip_booking_enabled (separate from guest_list_enabled).

  • create_vip_booking_request only accepts venues where vip_booking_supported=true.

  • City handling is backed by public.cities (slug, timezone, and service-day cutoff).

  • Supported top-level cities are environment-configurable (for example tokyo and san-francisco) while Tokyo can remain the default.

  • Stdio transport: no API key check.

  • HTTP transport (/mcp): API key required by default (MCP_HTTP_REQUIRE_API_KEY=true).

  • API key headers:

    • Authorization: Bearer <key>

    • x-api-key: <key>

  • HTTP responses include key tier/source and rate-limit headers when DB-backed auth is active:

    • X-API-Key-Tier

    • X-API-Key-Source

    • X-RateLimit-Daily-Limit

    • X-RateLimit-Daily-Remaining

    • X-RateLimit-Minute-Limit

    • X-RateLimit-Minute-Remaining

  • Health endpoint: /health.

  • Debug page for manual tool testing: /debug/recommendations.

  • Tool errors are returned as JSON text payloads in result.content[0].text:

    • INVALID_DATE_FILTER

    • INVALID_EVENT_ID

    • UNSUPPORTED_EVENT_ID

    • EVENT_NOT_FOUND

    • INVALID_VENUE_ID

    • VENUE_NOT_FOUND

    • INVALID_PERFORMER_ID

    • PERFORMER_NOT_FOUND

    • INVALID_BOOKING_REQUEST

    • BOOKING_REQUEST_NOT_FOUND

    • BOOKING_STATUS_UPDATE_FAILED

    • VIP_TASK_NOT_AVAILABLE

    • VIP_ALERT_UPDATE_FAILED

    • VIP_CLAIM_FAILED

    • INVALID_REQUEST

    • REQUEST_WRITE_FAILED

    • DB_QUERY_FAILED

    • INTERNAL_ERROR

Contributing & CI

See CONTRIBUTING.md for the workflow and rules. AI agents read AGENTS.md. CLAUDE.md is the architecture source of truth.

Available Tools

17 tools
cancel_vip_booking_requestA

Cancel a VIP booking request. Requires booking ID plus customer email and phone to verify ownership. Works for bookings in submitted, in_review, or confirmed status.

Inputs: booking_request_id (required), customer_email (required), customer_phone (required), cancellation_reason. Returns: booking_request_id, status, last_updated_at, status_message, +5 more

create_vip_booking_requestA

Create a VIP table booking request and send it directly to the venue booking desk. The venue must have vip_booking_supported=true. Before calling this tool, always confirm booking date and arrival time in venue local time. For arrivals from 00:00 to 05:59, use the 'night + actual day' format to avoid midnight confusion. Required format: '[Night] night, [time] ([Actual Day] [time])' — e.g., 'Friday night, 2am (Saturday 2am)'. Example confirmation: 'So you're coming Friday night, 2am (Saturday 2am), table for 4 at Zouk?' If the user gives a time like 2am without a day, ask: 'Do you mean Thursday night, 2am (Friday morning), or Friday night, 2am (Saturday morning)?' If the user changes the requested day, regenerate confirmation before calling this tool.

Inputs: venue_id (required), booking_date (required), arrival_time (required), party_size (required), +5 more. Returns: booking_request_id, status, created_at, message, +4 more

get_event_detailsC

Get full details for a specific event occurrence ID (UUID).

Inputs: event_id (required). Returns: event_id, name, date, start_time, +9 more

get_guest_list_entry_statusA

Check the status of a guest list entry. Provide either entry_id or event_id + customer_email.

Inputs: entry_id, event_id, customer_email. Returns: entry_id, status, customer_name, event_name, +4 more

get_performer_infoA

Get performer details by performer ID, including social links and upcoming events snapshot.

Inputs: performer_id (required). Returns: performer_id, name, slug, bio, +7 more

get_tonightB

Get tonight's nightlife events and open VIP venues. Always check vip_venues_open — VIP clubs are open even without listed events.

Inputs: city, genre, area, limit, +1 more. Returns: city, date_filter, events, vip_venues_open, +1 more

get_venue_infoB

Get full details for a specific venue ID, including upcoming events and VIP booking support.

Inputs: venue_id (required). Returns: venue_id, name, area, address, +11 more

get_vip_booking_statusB

Fetch VIP booking status from the venue booking workflow. Requires booking request ID and matching customer email or phone.

Inputs: booking_request_id (required), customer_email, customer_phone. Returns: booking_request_id, status, last_updated_at, status_message, +5 more

get_vip_pricingA

Get VIP pricing information for a venue. Returns honest weekday and weekend minimum spend ranges, zone summaries, table chart image URL, and booking affordance.

WHEN TO CALL: When a user asks about VIP tables, VIP pricing, bottle service costs, minimum spend, or table reservations at a specific venue.

WHAT TO DO AFTER:

  • Present pricing conversationally ("Weekday minimums start around ¥100K, weekends from ¥200K")

  • Show table chart URL as a layout reference only — do not infer availability from the image

  • If booking_supported is true and user is interested, offer to submit an inquiry via create_vip_booking_request

  • Do NOT suggest specific table codes unless the user asks

  • If busy_night is true, mention the event name and that demand may be higher on that night

  • When pricing_approximate is true, use hedging language ("around", "approximately") rather than stating exact figures

When venue_open is false, the venue is closed on that specific date but general pricing ranges for open nights are still included. Present the open nights and pricing to the user.

Inputs: venue_id (required), date. Returns: venue_id, venue_name, venue_open, venue_closed_message, +15 more

list_areasA

List distinct area/neighborhood names for a given city. Use this to discover valid area filters.

Inputs: city. Returns: city, areas

list_citiesA

List all available cities with metadata. Use this to discover valid city slugs before calling other tools.

Inputs: no named parameters. Returns: cities

list_genresA

List all available genres. Use this to discover valid genre names before filtering events or venues.

Inputs: no named parameters. Returns: genres

log_unmet_requestB

Log unmet user intent when no good nightlife answer is available, for product follow-up.

Inputs: raw_query (required), channel, language, city, +3 more. Returns: request_id, status, created_at

search_eventsA

Search nightlife events. Returns events plus vip_venues_open showing VIP clubs open on the queried date even without listed events. Always check vip_venues_open before concluding nothing is happening.

Inputs: city, date, genre, area, +3 more. Returns: city, date_filter, events, vip_venues_open, +1 more

search_performersB

Search performers by city/date window with optional genre and text query filters.

Inputs: city, date, genre, query, +3 more. Returns: city, date_filter, performers, unavailable_city

search_venuesB

Search nightlife venues by city/date window and optional area, genre, text query, and VIP booking support.

Inputs: city, date, area, genre, +4 more. Returns: city, date_filter, venues, unavailable_city

submit_to_guest_listC

Submit a guest list entry for an event or venue. Provide either event_id or venue_id + service_date. Returns confirmation with door instructions and guest list benefits if available.

Inputs: customer_name (required), customer_email (required), event_id, venue_id, +6 more. Returns: entry_id, status, event_name, event_date, +3 more

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 17 tools

    Disambiguation5/5

    Each tool targets a distinct entity or action (e.g., events, venues, performers, VIP bookings, guest lists, metadata). No two tools serve overlapping purposes, and descriptions clearly differentiate them.

    Naming Consistency5/5

    All tools follow verb_noun snake_case pattern (get_, list_, search_, create_, cancel_, submit_, log_). Convention is consistent across all tools.

    Tool Count5/5

    17 tools cover the full scope of nightlife search and booking (discovery, details, VIP requests, guest lists, logging). Each tool serves a necessary function without bloat.

    Completeness5/5

    The set covers discovery (cities, areas, genres, search), details (events, venues, performers), VIP booking lifecycle (pricing, create, cancel, status), guest list (submit, status), and fallback logging. No obvious gaps for the intended use case.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Preference-aware events discovery MCP server that aggregates events, restaurants, and cultural activities across multiple sources and re-ranks them against your personal taste profile to surface things you'd actually want to do.
      1
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Live-concert discovery MCP server: search concerts, artist tour dates, festivals and shows by city. Gives AI assistants real-time access to Gigora's global live-music data.
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables browsing live event, venue, and lineup listings city by city, with optional category filtering for gigs, club nights, comedy, theatre, and talks. Also returns full detail for any single event, including dates, venue and address, on-sale window, starting price, billed artists, and highlights such as age restrictions.
      71 npm
      MIT