Skip to main content
Glama
@managebetcodes/mcp

@managebetcodes/mcp

@managebetcodes/mcp

Official Model Context Protocol (MCP) server for the Manage Bet Codes Public API v1, published and maintained by Manage Bet Codes (https://managebetcodes.app). This repository is the official source of the npm package @managebetcodes/mcp and of the Official MCP Registry entry app.managebetcodes/managebetcodes-mcp.

Zero runtime dependencies. Works with Claude Desktop, Cursor, Windsurf, Zed, OpenCode, and any MCP host over stdio, or connect directly to the remote Streamable HTTP endpoint at https://api.managebetcodes.app/v1/mcp.

Get an API key

Paid actions need an API key. Catalogs and usage cost 0 credits. Event search, event markets, and pick resolution spend work units against the daily cap: one per query, one per market call, and one per pick. Free accounts carry no search charge.

  1. Create a free account at https://managebetcodes.app (no card needed).

  2. Open the API dashboard at https://managebetcodes.app/dashboard/api and create a key. Keys start with mbc_live_.

  3. Every free account includes 5 API action credits for life, so you can test paid actions before buying anything.

Credit costs per action: view slip 1, slip image 2, convert 2 per target bookmaker, split 2 plus 1 per extra code created, merge per code (see mbc_merge_codes below), book 2 per code created, start tracking 1. Failed actions cost 0 credits; charges for targets that fail are refunded automatically.

More credits: buy a credit pack (1,000 credits for ₦1,199, 5,000 for ₦4,999, 15,000 for ₦12,999, packs never expire) or a plan (Developer ₦4,999 for 5,000 credits, Scale ₦9,999 for 12,000 credits, Business ₦19,999 for 30,000 credits) from the billing page after signing in. International users can also subscribe through RapidAPI: https://rapidapi.com/peacekcejenobi/api/manage-bet-codes-api

Related MCP server: mcp-odds-api

Quick Setup (stdio)

Create an API key (mbc_live_...) on the API dashboard and add this to your MCP configuration (claude_desktop_config.json or .cursor/mcp.json):

{
  "mcpServers": {
    "managebetcodes": {
      "command": "npx",
      "args": ["-y", "@managebetcodes/mcp"],
      "env": {
        "MBC_API_KEY": "mbc_live_your_key"
      }
    }
  }
}

Remote Streamable HTTP Setup

If your MCP host supports remote HTTP servers, no local package is required. The remote endpoint authenticates with the X-API-Key header (there is no Bearer token):

{
  "mcpServers": {
    "managebetcodes": {
      "url": "https://api.managebetcodes.app/v1/mcp",
      "headers": {
        "X-API-Key": "mbc_live_your_key"
      }
    }
  }
}

The endpoint answers initialize and tools/list without a key. Tool calls that spend credits need the header above.

Supported bookmakers and regions

45 bookmakers. Bookmaker keys are the values you pass as bookmaker, from_bookmaker, and target parameters.

Nigeria and international (these 29 are also the default conversion targets):

Key

Bookmaker

onexbet

1xBet (Nigeria)

onexbet_global

1xBet Global

afropari_ng

Afropari (Nigeria)

afropari_global

Afropari Global

bet9ja

Bet9ja

22bet

22Bet

betjam

BetJam

betking

BetKing

betway

Betway

betwinner

Betwinner

1xbit

1xBit

dbbet

DBbet

fastpari

Fastpari

football.com

Football.com

goldpari

Goldpari

helabet

Helabet

linebet

Linebet

luckypari

Luckypari

megapari

Megapari

melbet

Melbet

msport

MSport

paripesa

Paripesa

paripulse

Paripulse

planbet

Planbet

sportybet

SportyBet (Nigeria)

888starz

888starz

winwinbet

WinwinBet

xparibet

Xparibet

fansport

FanSport

Regional variants (full view, split, merge, and conversion support):

Key

Bookmaker

onexbet_gh

1xBet Ghana

onexbet_ke

1xBet Kenya

onexbet_tz

1xBet Tanzania

onexbet_zm

1xBet Zambia

sportybet_gh

SportyBet Ghana

sportybet_ke

SportyBet Kenya

sportybet_za

SportyBet South Africa

sportybet_tz

SportyBet Tanzania

betway_gh

Betway Ghana

betway_tz

Betway Tanzania

betway_zm

Betway Zambia

betway_mw

Betway Malawi

betway_mz

Betway Mozambique

betway_bw

Betway Botswana

msport_gh

MSport Ghana

Source-only bookmaker (you can view its codes and convert FROM it; you cannot convert TO it or book on it):

Key

Bookmaker

stake

Stake

Notes:

  • Live tracking works only on SportyBet (Nigeria and regional variants), Football.com, and Betway (Nigeria and regional variants).

  • Aliases are accepted in place of keys (for example 1xng for onexbet). Call mbc_list_bookmakers for the live list of keys, aliases, and capability flags.

Included Tools (16)

Required parameters are marked with *.

  • mbc_list_bookmakers: List all 45 bookmakers, canonical keys, aliases, and capability flags (0 credits). Parameters: none.

  • mbc_list_markets: List canonical markets and valid outcomes (0 credits). Names only; a bookmaker may list only some of them. Parameters: none.

  • mbc_get_usage: Check plan, charge_order, API credits, regular daily credits, and rate limits (0 credits). Parameters: none.

  • mbc_view_slip: Inspect a slip's games, markets, odds, scores, and kickoff times (1 credit after success). Parameters: code* (string), bookmaker* (string).

  • mbc_view_slip_image: Render a branded PNG slip image as MCP ImageContent (2 credits after success). Parameters: code*, bookmaker*.

  • mbc_convert_code: Convert 1 code to 1 to 6 target bookmakers (2 credits per successful target; failed targets refunded). Parameters: code*, from_bookmaker*, to_bookmakers* (array of bookmaker keys).

  • mbc_convert_to_all: Convert 1 code to all 29 default target bookmakers at once, or to a custom subset (2 credits per successful target). Parameters: code*, from_bookmaker*, targets (array, optional), include_card (boolean, optional).

  • mbc_bulk_convert: Bulk convert 2 to 4 source codes across selected or all bookmakers (2 credits per successful pair). Parameters: codes* (array), targets (array, optional), include_card (boolean, optional).

  • mbc_split_code: Split 1 code into 2 to 20 codes on the same bookmaker (2 credits plus 1 per extra created code). Parameters: code*, bookmaker*, method (equal, by_batches, target_odds, or custom), order (mixed or by_start_time), count (integer, for equal and by_batches), target_odds (number, for target_odds), counts (array of integers, for custom).

  • mbc_merge_codes: Merge 2 to 30 (bookmaker, code) pairs into 1 deduplicated code. Pricing: 2 credits cover the first code (one already on the target bookmaker if any); each other code adds 1 credit if it is on the target bookmaker or 2 if it is from a different bookmaker; refunded if no code is created. Parameters: pairs* (array of {bookmaker, code} objects), target (bookmaker key, optional).

  • mbc_search_events: Batch search up to 20 team or fixture queries with markets (1 work unit per query against the daily cap; costs 0 credits). Parameters: bookmaker*, queries* (array of strings, for example "Arsenal vs Chelsea"), sport (optional), include_markets (boolean, optional), market_filter (array, optional).

  • mbc_get_event_markets: List market names, then fetch one or more markets or a filtered view with live odds (1 work unit per call against the daily cap; costs 0 credits). Parameters: bookmaker*, event_id*, view (canonical or all), market (name or substring), q (substring), names_only (boolean). A bare view=all is rejected; call names_only=true first. Repeat market= to read several names in one call; the response lists the missing names in not_found.

  • mbc_resolve_picks: Validate 1 to 50 games into a 10-minute plan_id (1 work unit per pick against the daily cap; costs 0 credits). Parameters: bookmaker*, picks* (array of game objects; each pick carries event_id plus either key from mbc_get_event_markets or a canonical market and outcome, and optional line or odds), strict (boolean, optional), accept_odds_change (boolean, optional).

  • mbc_book_code: Mint a verified booking code on 1 to 6 targets from a plan_id or direct picks (2 credits per code created). Parameters: plan_id (from mbc_resolve_picks) or picks, plus bookmaker (the brand that minted a key, needed for cross-family fan-out; include team names when the target event_id differs) or to (targets), strict and accept_odds_change (optional).

  • mbc_manage_tracking: Start (1 credit), inspect, list, or stop live match tracking on SportyBet, Football.com, and Betway. Parameters: action* (start, get, list, or stop), code and bookmaker (for start), track_id (for get and stop), mode (ticket or game, for start), label, webhook_url, status (optional).

  • mbc_manage_jobs_and_history: Create, poll, or cancel async jobs (bulk jobs need a Developer, Scale, or Business plan), or query conversion and book history (reads cost 0 credits). Parameters: action*, job_payload (object, for job creation), job_id, row_id, limit, offset, status, bookmaker, target (optional filters).

Examples

View a SportyBet slip:

{ "bookmaker": "sportybet", "code": "QFXM60" }

Convert that code to Bet9ja:

{ "code": "QFXM60", "from_bookmaker": "sportybet", "to_bookmakers": ["bet9ja"] }

Split it into two codes on SportyBet:

{ "code": "QFXM60", "bookmaker": "sportybet", "method": "equal", "count": 2 }

Merge two codes onto SportyBet:

{
  "pairs": [
    { "bookmaker": "sportybet", "code": "QFXM60" },
    { "bookmaker": "bet9ja", "code": "ABC123" }
  ],
  "target": "sportybet"
}

Book games in two steps: call mbc_resolve_picks with the games, then pass the returned plan_id to mbc_book_code:

{ "plan_id": "<plan_id from mbc_resolve_picks>", "to": ["bet9ja"] }

Documentation

  • 18+ only. Betting is restricted to adults. Do not use this server if you are under the legal betting age in your jurisdiction.

  • Jurisdiction. Betting laws differ by country and region, and online betting is restricted or prohibited in some places. You are responsible for complying with the laws that apply to you. The supported bookmakers operate mainly in Nigeria, Ghana, Kenya, Tanzania, Zambia, South Africa, Malawi, Mozambique, and Botswana.

  • Utility only. Manage Bet Codes is a software utility. It does not accept bets, hold stakes or customer funds, or pay winnings. It reads booking codes, converts them between bookmakers, and creates new codes; any bet is placed by you, on the bookmaker's own platform, under that bookmaker's terms.

  • No guarantee. Odds, markets, and availability change. A converted or booked code can differ from the original slip, and nothing in this server is betting advice or a promise of profit.

  • Terms of Use: https://managebetcodes.app/terms

  • Responsible Betting: https://managebetcodes.app/responsible-betting

License

MIT. See LICENSE in this repository. The hosted API service itself is a commercial service governed by the Terms of Use above.

Available Tools

16 tools
mbc_book_codeBook a New Bet Code From Plan or PicksAInspect

Mint a new verified booking code on 1 to 6 target bookmakers from either a plan_id (from mbc_resolve_picks) or direct picks. A key pick fans out within its family directly, and across families when bookmaker names the brand that minted the key. Costs 2 credits per target code created; refunded if no code is created.

Inputs: to, picks, strict, plan_id, +2 more. Returns: code, billing, success

mbc_bulk_convertBulk Convert Multiple Bet CodesAInspect

Convert 2 to 4 source booking codes synchronously across all or selected target bookmakers in one batch (each slip's own source bookmaker is automatically excluded from its targets). Costs 2 credits per successful (code, target) pair; failed pairs cost 0 credits. For 5 to 20 source codes, use mbc_manage_jobs_and_history with action='create_job' and kind='convert'.

Inputs: codes (required), targets, include_card. Returns: pairs, slips, billing, success, +1 more

mbc_convert_codeConvert Bet Code (1 to 6 Targets)AInspect

Convert a booking code from one source bookmaker to 1 target bookmaker or a synchronous batch of up to 6 target bookmakers. Costs 2 credits per target that produces a code; failed targets are automatically refunded. To convert to all bookmakers at once (up to 29), use mbc_convert_to_all.

Inputs: code (required), to_bookmakers (required), from_bookmaker (required). Returns: source, billing, success

mbc_convert_to_allConvert One Bet Code to All BookmakersAInspect

Convert one booking code to all 29 default target bookmakers at once (up to 29 target bookmakers: SportyBet, 1xBet Global, 1xBet NG, MSport, Paripesa, 22Bet, Megapari, 888starz, Afropari NG, Afropari Global, Betwinner, Melbet, Helabet, Fastpari, Xparibet, Goldpari, 1xBit, WinWinBet, DBBet, Paripulse, BetJam, Planbet, Linebet, Luckypari, Bet9ja, BetKing, Football.com, Betway, FanSport), or pass a custom targets subset. Uses per-family concurrency lanes. Costs 2 credits per successful target code; failed targets cost 0 credits. Country variants are opt-in through the targets list.

Inputs: code (required), from_bookmaker (required), targets, include_card. Returns: pairs, slips, billing, success, +1 more

mbc_get_event_marketsGet All Markets & Odds for an EventA
Read-onlyIdempotent
Inspect

Fetch markets, lines, outcomes, and live odds for one event_id on a bookmaker. Start with names_only=true to learn the market names, then request one or more names with market= or narrow with q=. view=all adds native markets (canonical: false) and needs market= or q=. Each outcome carries a key for mbc_resolve_picks. Repeat market= to read several names in one call; the response lists the missing names in not_found. Spends 1 work unit per call against the daily cap. Costs 0 credits.

Inputs: event_id (required), bookmaker (required), q, view, +2 more. Returns: count, names, markets, event_id, +4 more

mbc_get_usageCheck API Plan, Credits & Rate LimitsA
Read-onlyIdempotent
Inspect

Read the caller's active plan, key charge_order, API credits (monthly plan plus never-expiring packs), regular daily credits, rate limit windows, and active jobs and tracks. Costs 0 credits.

Inputs: no named parameters. Returns: plan, api_credits, rate_limits, charge_order, +1 more

mbc_list_bookmakersList Supported BookmakersA
Read-onlyIdempotent
Inspect

List all 45 supported bookmakers with their canonical keys, aliases, code format hints, and capability flags (supports_book, supports_search, supports_tracking, supports_split, conversion_mode, countries). Costs 0 credits. Note: bare '1xbet' and 'afropari' are retired; use '1xng'/'1xglobal' and 'afropari_ng'/'afropari_global'.

Inputs: no named parameters. Returns: count, bookmakers

mbc_list_marketsList Canonical Betting MarketsA
Read-onlyIdempotent
Inspect

List all canonical betting markets (1X2, Over/Under, Both Teams To Score, Double Chance, Asian Handicap, European Handicap, totals) and their valid outcome names for resolving and booking games. Names only; a bookmaker may list only some of them. Costs 0 credits.

Inputs: no named parameters. Returns: count, markets

mbc_manage_jobs_and_historyManage Bulk Jobs & Query Conversion / Book HistoryBInspect

Create, inspect, list, or cancel async jobs (for >6 targets or up to 20 source codes, requires Developer/Scale/Business API plan), or query past conversion history and book history (0 credits for reads).

Inputs: action (required), limit, job_id, offset, +5 more. Returns: object

mbc_manage_trackingStart, Inspect, List, or Stop Live TrackingAInspect

Manage live match tracking for SportyBet, Football.com, and Betway slips. Actions: 'start' (costs 1 credit; mode 'ticket' fast-fails on a cut, 'game' tracks to the end), 'get' (0 credits), 'list' (0 credits), 'stop' (0 credits).

Inputs: action (required), code, mode, label, +4 more. Returns: object

mbc_merge_codesMerge 2–30 Bet Codes Into OneAInspect

Combine 2 to 30 booking codes (from the same or different bookmakers) into one deduplicated booking code on a target bookmaker. Reports any skipped, dropped, or conflicting games. Costs 2 credits for one code (one already on the target bookmaker if any); each other code adds 1 if it's on the target bookmaker or 2 if it's from a different bookmaker; refunded if no code is created.

Inputs: pairs (required), target. Returns: billing, success, target_code, selections_count

mbc_resolve_picksResolve Games Into a 10-Minute Booking PlanA
Read-onlyIdempotent
Inspect

Validate 1 to 50 games (team names or event_ids plus canonical market, outcome, and optional line/odds) on a target bookmaker and create a 10-minute plan_id for mbc_book_code. Returns per-game status ('resolved', 'ambiguous', 'not_found', 'market_missing', 'odds_changed', 'not_bookable'). Spends 1 work unit per pick against the daily cap. Costs 0 credits.

Inputs: picks (required), bookmaker (required), strict, accept_odds_change. Returns: picks, status, plan_id, summary

mbc_search_eventsSearch Bookmaker Events & FixturesA
Read-onlyIdempotent
Inspect

Search up to 20 team or head-to-head match queries ('Arsenal vs Chelsea', 'Real Madrid') on a bookmaker. Returns event IDs, kickoff times, confidence ('exact' or 'fuzzy'), and top canonical markets. Spends 1 work unit per query against the daily cap. Costs 0 credits.

Inputs: queries (required), bookmaker (required), sport, market_filter, +1 more. Returns: results

mbc_split_codeSplit Bet Code Into 2–20 CodesAInspect

Divide one booking code into 2 to 20 smaller codes on the same bookmaker so every game lands in exactly one new code. Supports 4 split methods: 'equal' (spread games evenly across codes), 'by_batches' (keep consecutive games together in each code), 'target_odds' (group games to reach a chosen combined odds per code), and 'custom' (set exact game counts per output code). Supports 2 game orders: 'mixed' (keep original slip order) and 'by_start_time' (earliest games first, latest games last). Costs 2 credits plus 1 credit per extra created code; unused parts are refunded.

Inputs: code (required), bookmaker (required), count, order, +3 more. Returns: parts, billing, success, new_codes

mbc_view_slipView Bet Slip (JSON & Text)A
Read-onlyIdempotent
Inspect

Load a booking code on a bookmaker and return all games, markets, outcomes, odds, live scores, kickoff times, and total odds. Costs 1 credit after a successful read; failed lookups cost 0 credits.

Inputs: code (required), bookmaker (required). Returns: code, status, billing, bookmaker, +2 more

mbc_view_slip_imageRender Bet Slip Image (PNG)A
Read-onlyIdempotent
Inspect

Render a branded PNG slip image for a booking code on a bookmaker. Returns an MCP ImageContent block (image/png) plus a summary. Costs 2 credits after a successful render; failed renders cost 0 credits.

Inputs: code (required), bookmaker (required). Returns: code, bookmaker, mime_type, credits_charged

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 16 tools

    Disambiguation4/5

    Most tools are cleanly partitioned by resource and action, and the three conversion paths (mbc_convert_code, mbc_convert_to_all, mbc_bulk_convert) are explicitly delimited by batch size (1→up to 6 targets, all 29 targets, 2–4 source codes). The only soft spots are the generic 'manage' catch-alls (mbc_manage_jobs_and_history vs mbc_manage_tracking) and mbc_list_markets vs mbc_get_event_markets, which an agent could momentarily conflate.

    Naming Consistency5/5

    Every tool uses the same mbc_snake_case verb_noun pattern (list_markets, convert_code, merge_codes, view_slip_image, search_events). Multi-word modifiers like bulk_convert and convert_to_all are idiomatic and do not break the convention.

    Tool Count4/5

    16 tools is at the upper edge of comfortable but each maps to a distinct conversion/slip lifecycle operation with no obviously redundant entry. The cost/work-unit annotations per tool show deliberate scoping rather than padding.

    Completeness4/5

    The surface covers discovery (markets, bookmakers, search, event markets), validation (resolve_picks), minting (book_code), transformation (convert, bulk, merge, split), output (slip view, image), plus usage, jobs, history, and tracking — a full lifecycle. Minor gaps remain: no way to cancel/invalidate a booking code or to manage plan/billing beyond read-only mbc_get_usage.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Live and pre-match sports odds from 450+ bookmakers across 34 sports, plus Polymarket and Kalshi. Events, odds, fair prices, value bets, arbitrage, historical closing lines and bet settlement for AI assistants.
      36
      730 npm
      3
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables fetching sportsbook odds, live scores, and event information across 70+ books and 30+ leagues, with tools to list sports, get scores, and discover events.
      108 npm
      1
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Provides comprehensive sports intelligence including live scores, standings, schedules, betting odds, news, highlights, and more via SSE transport.
      -
    • A
      license
      A
      quality
      B
      maintenance
      Enables MCP-compatible clients to access sports betting odds, player props, prediction markets, live previews, coverage checks, and ParlayAPI account signup through native tools.
      22
      24 PyPI
      1
      MIT