Gibraltar Prediction Markets MCP Server
Enables querying the Gibraltar Prediction Market Regulations 2026 in plain English via MCP clients, returning exact cited regulation text.
README
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 |
Quick start
The server is hosted at https://mcp.0xjb.dev/mcp โ nothing to install. Connect from any MCP client:
Claude Desktop
- Open Settings โ Connectors (under your profile menu).
- Click Add custom connector.
- Name it (e.g.
Gibraltar Prediction Markets) and paste the URL:https://mcp.0xjb.dev/mcp - Leave the OAuth Client ID blank โ no sign-in is required โ and click Add.
- In a new chat, open the tools menu (sliders icon) and check the connector is enabled, then ask away.
ChatGPT
- Enable developer mode: Settings โ Apps & Connectors โ Advanced settings โ toggle Developer mode (requires a paid plan).
- Go to Settings โ Apps & Connectors โ Create (custom connector).
- Name it, set MCP server URL to
https://mcp.0xjb.dev/mcp, authentication: None. - Save, then enable the connector in a chat via the + / tools menu. ChatGPT retrieves through the server's
searchandfetchtools.
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.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.