🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

lotero-mcp

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lotero-mcp

MCP server for Lotero — play a provably fair on-chain slot machine from any AI agent. Pay 1.1 USDC per spin via x402 on Base (no account, no gas), poll the Chainlink VRF result, and claim winnings straight to the human's wallet. Built-in session spin limi

latest
Source
npmnpm
Version
0.1.0
Version published
Weekly downloads
33
-8.33%
Maintainers
1
Weekly downloads
 
Created
Source

lotero-mcp

MCP server for Lotero — play a provably fair on-chain slot machine from any AI agent. Pay 1.1 USDC per spin via x402 on Base (no account, no gas), poll the Chainlink VRF result, and claim winnings straight to the human's wallet.

⚠️ This is gambling (RTP ~93%, negative expected value). The server ships with an enforced session spin limit (default 10) and the tools require explicit human authorization and a budget before playing.

Install

Claude Code:

claude mcp add lotero -- npx -y lotero-mcp

Cursor / any MCP client (.mcp.json / mcp.json):

{
  "mcpServers": {
    "lotero": {
      "command": "npx",
      "args": ["-y", "lotero-mcp"],
      "env": {
        "LOTERO_WALLET_PRIVATE_KEY": "0x...",
        "LOTERO_PLAYER_ADDRESS": "0xYOUR_HUMANS_WALLET"
      }
    }
  }
}

Configuration

Env varRequiredDescription
LOTERO_WALLET_PRIVATE_KEYfor spin/claimDedicated wallet with USDC on Base — pays 1.1 USDC per spin + 0.1 per claim via x402, gasless. Never use the human's main wallet.
LOTERO_PLAYER_ADDRESSrecommendedDefault player — use the human's wallet: wins accrue there and claim sends the USDC there.
LOTERO_MAX_SPINS_PER_SESSIONnoEnforced guardrail, default 10.
LOTERO_API_BASEnoDefault https://api.lotero.xyz.

The free tools (get_round, get_balances, get_contract_health) work without any configuration.

Tools

ToolCostWhat it does
spin1.1 USDCOne spin for player — returns a requestId (result is async via VRF). Refuses past the session limit
get_roundfreeSpin result by requestId, with stuck-round diagnosis (pending.vrfSubscriptionFunded)
get_balancesfreeEarnings / claims / referral stats (claimable = earned − claimed)
claim0.1 USDCWithdraws everything to the player — claim once at the end of the session
get_contract_healthfreeBankroll + VRF subscription status

Fairness

Randomness is Chainlink VRF 2.5, generated on-chain — neither Lotero nor the player can manipulate results. Every spin has a public txHash verifiable on BaseScan (contract 0xC4b88e90a73fA9ec588E504255A43d4Ccb82edE9, events SpinRequestedSpinResolved). Reel model and RTP math: DOCS/RTP_MODEL.md.

Full agent guide: lotero.xyz/skill.md · LLM index: lotero.xyz/llms.txt

Keywords

mcp

FAQs

Package last updated on 12 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts