Skip to main content
Glama
ishuen

lottery-mcp

by ishuen

Lottery MCP Server

This MCP (Model Context Protocol) server enables retrieval of Taiwan lottery data for a specified month. It currently supports four games: Super Lotto 638 (威力彩), Lotto 649 (大樂透), Daily Cash 539 (今彩539), and Lotto 4D (4星彩).

Requirements

  • Python 3.9+

  • uv (Python package manager)

Related MCP server: Taiwan Tender MCP

Usage

Install uv if you don't have it:

curl -LsSf https://astral.sh/uv/install.sh | sh

Start the server:

uv run main.py

Running Locally with Claude App

To use this MCP server with Claude App, follow these steps:

  1. Open Settings > Developer in Claude App.

  2. Add or update your configuration as shown below, replacing <absolute_path_to_the_folder> with the full path to your project directory:

    {
      "mcpServers": {
        "lottery": {
          "command": "uv",
          "args": [
            "--directory",
            "<absolute_path_to_the_folder>",
            "run",
            "main.py"
          ]
        }
      }
    }
  3. After connecting, a blue running tag will appear next to your server name in the Local MCP servers list.

  4. Access the server's tools by clicking the Search and tools button in the chat interface.

This confirms the MCP server is running and integrated with Claude App.

Troubleshoot

A
license - permissive license
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    B
    maintenance
    Provides comprehensive access to Taiwan's Legislative Yuan data including bills, committees, gazettes, meeting records, interpellations, laws, legislators, and IVOD recordings through the Legislative Yuan API v2.
    Last updated
    39
    5
    MIT
  • F
    license
    A
    quality
    -
    maintenance
    Enables users to search and retrieve detailed information about Taiwan government procurement tenders through the Government Electronic Procurement System API. It supports searching tenders by keyword, category code, date, and government unit.
    Last updated
    6
  • A
    license
    -
    quality
    B
    maintenance
    An open-source MCP server that aggregates Taiwan public data sources (data.gov.tw, TWSE, MOEA, CWA, etc.) and exposes them through the Model Context Protocol, enabling AI agents to query Taiwan data with a single configuration line.
    Last updated
    1
    Apache 2.0

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ishuen/lottery-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server