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 Legislative Yuan MCP Server

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.

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