Skip to main content

Maitabi MCP Server (Python)

An MCP (Model Context Protocol) server written in Python using FastMCP for searching and extracting mountain bus tour, alpine trekking, and general tour information from Maitabi (まいたび - 毎日新聞旅行 / 毎日あるぺん号) (www.maitabi.jp, bus.maitabi.jp, & api.bus.maitabi.jp).

Docker Hub Repository: phonhay103/maitabi-mcp-server

Tools Provided

Mountain Bus Tours (毎日あるぺん号 - bus.maitabi.jp)

  • list_filters: Fetch available filter options, departure areas, tour styles, mountain lodges, and tour counts for mountain bus tours.
  • list_district_groups: Fetch area/district groups and tour counts for mountain bus tours.
  • search_tours: Search mountain bus tours with full filter support (departure, month, day, area, style, return date, bus seat, lodges, keyword, course code).
  • get_tour_detail: Fetch complete bus tour details, schedules, comments, and pricing by course_no.

General Travel & Trekking Tours (毎日新聞旅行 - www.maitabi.jp)

  • search_general_tours: Search general Mainichi Travel tours across categories (travel_type: 1=Domestic Mountain Climbing/Trekking, 2=Domestic Travel/Hiking, 3=Mountain Bus, 4=Overseas Mountain Climbing/Trekking, 5=Overseas Travel) with keyword, date, and pagination filters.
  • get_general_tour_detail: Fetch complete tour details, itinerary, meal condition, guide info, points of interest, and booking links for general tours by courseNo.
  • get_tour_calendar: Fetch monthly departure schedule calendar and tour matrix on www.maitabi.jp for a given year and month.

Development & Usage via Makefile

make help          # Show available Makefile targets
make install       # Install dependencies using uv
make dev           # Run the MCP server locally over stdio
make dev-http      # Run the MCP server locally over Streamable HTTP (Port 8000)
make test          # Run test suite
make docker-build  # Build 2-stage Docker image (Python 3.14)
make docker-push   # Build & push Docker image to Docker Hub (phonhay103/maitabi-mcp-server)
make build         # Build Python package wheel & sdist
make publish       # Publish package to PyPI for uvx execution

Running via Docker Image (Docker Hub)

docker pull phonhay103/maitabi-mcp-server:latest
docker run -i --rm phonhay103/maitabi-mcp-server:latest

Running via uvx (Zero-setup)

From PyPI (once published):

uvx maitabi-mcp-server

From Git repository directly:

uvx --from git+https://github.com/phonhay103/maitabi-mcp-server.git maitabi-mcp-server

Configuration for MCP Clients

Claude Desktop / Pi / Cursor Configuration

Add the following to your MCP client settings (e.g. claude_desktop_config.json):

Using uvx (PyPI / Zero Setup):

{
  "mcpServers": {
    "maitabi": {
      "command": "uvx",
      "args": ["maitabi-mcp-server"]
    }
  }
}

Using Docker (Public Image):

{
  "mcpServers": {
    "maitabi": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "phonhay103/maitabi-mcp-server:latest"
      ]
    }
  }
}

Using uv locally:

{
  "mcpServers": {
    "maitabi": {
      "command": "uv",
      "args": [
        "run",
        "--directory",
        "/path/to/maitabi-mcp-server",
        "maitabi-mcp-server"
      ]
    }
  }
}

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

maitabi_mcp_server-0.1.0.tar.gz (133.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

maitabi_mcp_server-0.1.0-py3-none-any.whl (14.1 kB view details)

Uploaded Python 3

File details

Details for the file maitabi_mcp_server-0.1.0.tar.gz.

File metadata

  • Download URL: maitabi_mcp_server-0.1.0.tar.gz
  • Upload date:
  • Size: 133.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for maitabi_mcp_server-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2681a01568e28dabe43bb188ee726bcda49417d5139719a0ae6b405e9489aa86
MD5 121936be28cf96d3082c400392c7f38f
BLAKE2b-256 e39679899f596766b5d1df9c353d50a0feb617cfd279bf6d22ddad3197764dd7

See more details on using hashes here.

Provenance

The following attestation bundles were made for maitabi_mcp_server-0.1.0.tar.gz:

Publisher: pypi-publish.yml on phonhay103/maitabi-mcp-server

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file maitabi_mcp_server-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for maitabi_mcp_server-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0c5b165a668a1f430c046ff5c1bef51cef1353d8e1a0bcee5a3f1f42ead030ac
MD5 6cf6d44bc3baa104d6f15c91ea68d8b5
BLAKE2b-256 ce6c86967bdccc1ee71163769c13df3702991b038e451cd8f9dd03426aad87f9

See more details on using hashes here.

Provenance

The following attestation bundles were made for maitabi_mcp_server-0.1.0-py3-none-any.whl:

Publisher: pypi-publish.yml on phonhay103/maitabi-mcp-server

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page