Skip to main content
Glama
Gibraltar Prediction Markets MCP Server

Gibraltar Prediction Markets MCP Server

by 0xJB-dev

Gibraltar Prediction Markets โ€” MCP Server

Query the Prediction Market Regulations 2026 (LN.2026/176) in plain English from Claude Desktop, Claude Code, ChatGPT, Cursor, or any MCP client. Ask a question โ€” "What must an application for authorisation include?" โ€” and get back the exact, cited regulation text instead of a guess.

Built for lawyers and regulatory professionals who want the statute inside the tools they already use.

๐Ÿ“„ Official text: Prediction Market Regulations 2026 (LN.2026/176) โ€” gibraltarlaws.gov.gi

โš–๏ธ Not legal advice. This server reproduces Gibraltar legislation for research and reference only. It is not legal advice and not an official version of the law. Always verify against the official text and consult qualified Gibraltar counsel before relying on it.


Connect your client

Client

Guide

Claude Desktop

docs/claude-desktop.md

Claude Code (CLI)

docs/claude-code.md

ChatGPT (custom connector)

docs/chatgpt.md

Cursor & other MCP clients

docs/cursor.md

Claude API / Agent SDK

docs/api-sdk.md

The law & data model

docs/concepts.md

Related MCP server: US Regulations MCP Server

Quick start

The server is hosted at https://mcp.0xjb.dev/mcp โ€” nothing to install. Connect from any MCP client:

Claude Desktop

  1. Open Settings โ†’ Connectors (under your profile menu).

  2. Click Add custom connector.

  3. Name it (e.g. Gibraltar Prediction Markets) and paste the URL: https://mcp.0xjb.dev/mcp

  4. Leave the OAuth Client ID blank โ€” no sign-in is required โ€” and click Add.

  5. In a new chat, open the tools menu (sliders icon) and check the connector is enabled, then ask away.

ChatGPT

  1. Enable developer mode: Settings โ†’ Apps & Connectors โ†’ Advanced settings โ†’ toggle Developer mode (requires a paid plan).

  2. Go to Settings โ†’ Apps & Connectors โ†’ Create (custom connector).

  3. Name it, set MCP server URL to https://mcp.0xjb.dev/mcp, authentication: None.

  4. Save, then enable the connector in a chat via the + / tools menu. ChatGPT retrieves through the server's search and fetch tools.

Claude Code (CLI)

claude mcp add --transport http gibraltar-pm https://mcp.0xjb.dev/mcp

Cursor / other MCP clients

Add a remote (streamable HTTP) MCP server with URL https://mcp.0xjb.dev/mcp โ€” see docs/cursor.md.

Local via npm (stdio)

Every client can also run the npm package locally โ€” no build, no paths:

{
  "mcpServers": {
    "gibraltar-prediction-markets": {
      "command": "npx",
      "args": ["-y", "gibraltar-prediction-markets-mcp"]
    }
  }
}
# Claude Code CLI
claude mcp add gibraltar-prediction-markets -- npx -y gibraltar-prediction-markets-mcp

For local testing before publishing, see PUBLISHING.md and the per-client guides (node dist/index.js over stdio, or npm run start:http for ChatGPT/remote).

What you can ask

  • "List the arrangement of the Prediction Market Regulations 2026."

  • "What does regulation 12 say about approving contracts?"

  • "Give me the checklist for an authorisation application."

  • "Define 'prediction market contract'."

  • "Which contracts can the Authority prohibit under regulation 14?"

  • "Can operators accept stablecoins?" (regulation 22)

Tools

Ten tools; search + fetch also satisfy ChatGPT's connector contract.

Tool

Purpose

search(query, limit?)

Ranked keyword search; returns ids for fetch.

fetch(id)

Full verbatim text by id (reg-12, schedule-2, definitions).

get_regulation(number)

A regulation, 1โ€“34, with its Part.

list_regulations()

The full arrangement of provisions.

get_part(number)

Every regulation in a Part, 1โ€“7.

get_schedule(number)

A Schedule, 1โ€“3.

get_definition(term?)

A defined term (reg 3); omit to list all.

get_application_checklist()

Schedule 1 โ€” application requirements.

get_authorisation_conditions()

Schedule 2 โ€” core conditions.

about()

Metadata, source and status of this server.

Every response carries its source citation and a not-legal-advice reminder.

Data model

One authoritative file, data/regulations.json, holds the verbatim text. Each unit is an addressable document with a stable id โ€” reg-1โ€ฆreg-34, schedule-1โ€ฆschedule-3, and definitions (the 14 defined terms of reg 3). This single shape serves every tool. Full walkthrough in docs/concepts.md.

Source

  • Law: Prediction Market Regulations 2026, LN.2026/176 โ€” subsidiary legislation under the Gambling Act 2025 (ss. 34 and 159). Commencement 13 July 2026.

  • Official text: 2026s176.pdf ยท ยฉ Government of Gibraltar, gibraltarlaws.gov.gi.

License

MIT for the server code. The legislative text is ยฉ Government of Gibraltar, reproduced for reference.

Available Tools

10 tools
aboutAbout this serverA

Return metadata about the Prediction Market Regulations 2026 and this server: citation, enabling powers, commencement, structure and source.

Inputs: no named parameters.

fetchFetch a regulation, schedule or the definitions by idA

Retrieve the full verbatim text of a document by its id (e.g. 'reg-12', 'schedule-2', 'definitions'). Ids come from search. Returns the complete provision.

Inputs: id (required).

get_application_checklistGet the authorisation application checklistA

Return the matters that must accompany an application for a prediction market authorisation (Schedule 1, per regulation 7), as a checklist.

Inputs: no named parameters.

get_authorisation_conditionsGet the core authorisation conditionsA

Return the core conditions an applicant must meet for the Authority to grant a prediction market authorisation (Schedule 2, per regulation 8).

Inputs: no named parameters.

get_definitionLook up a defined termA

Return the interpretation (regulation 3) of a defined term, e.g. 'prediction market contract', 'authorised operator', 'settlement source'. Omit the term to list all defined terms.

Inputs: term.

get_partGet an entire PartA

Return the full text of every regulation within a Part (1โ€“7) of the Prediction Market Regulations 2026.

Inputs: number (required).

get_regulationGet a regulation by numberA

Return the full verbatim text of a numbered regulation (1โ€“34) of the Prediction Market Regulations 2026, with its Part.

Inputs: number (required).

get_scheduleGet a ScheduleA

Return a Schedule of the Prediction Market Regulations 2026. Schedule 1 = matters to include in an application; Schedule 2 = core authorisation conditions; Schedule 3 = modified application of the Gambling Act 2025.

Inputs: number (required).

list_regulationsList all regulations (arrangement of provisions)A

Return the full arrangement of the Prediction Market Regulations 2026: every regulation number and title, grouped by Part, plus the three Schedules.

Inputs: no named parameters.

Tool Schema Changelog

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

Loading tool schema changelogโ€ฆ

    TDQS

    A4.1/5.0

    Scored across 10 tools

    Disambiguation5/5

    Each tool serves a distinct purpose: metadata, search, list, or retrieval of specific components (regulations, parts, schedules, definitions, checklists, conditions). No two tools overlap in functionality.

    Naming Consistency4/5

    Most retrieval tools follow a consistent 'get_' prefix pattern, but 'about', 'fetch', 'search', and 'list_regulations' break this convention. While still readable, the naming is not perfectly uniform.

    Tool Count5/5

    10 tools cover the domain of a regulatory document server comprehensively without being excessive. Each tool earns its place.

    Completeness5/5

    The tool set covers all necessary operations for a static legal document: metadata, search, listing, and retrieval of any component. There are no obvious gaps for the stated purpose.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to query Polymarket prediction markets and analyze market data through the MCP interface.
      9
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables read-only querying of JTX Markets account and market data, including balance, positions, orders, trades, funding history, and market summaries, through natural language in MCP-compatible clients.
      538 npm
      MIT