Skip to main content
Glama
JareCoder

LounasMCP

by JareCoder

LounasMCP

A Model Context Protocol (MCP) server that scrapes daily lunch menus for restaurants located in Kauppakeskus Sello, Espoo from lounaat.info.

Built using the official Anthropic MCP Python SDK's FastMCP and BeautifulSoup4.

Features

  • get_sello_lunch_menus: Retrieve Sello restaurant lunch menus.

    • Parameter: day (optional): Query specific day (keskiviikko, torstai, etc.). Defaults to "today".

  • Flexible Transport: Natively supports both stdio and sse transports.

  • Docker Support: Ready to be packaged and run in a containerized environment (ideal for connecting to LiteLLM).

Related MCP server: Stravacz MCP Server

Setup & Running Locally

Installation

Ensure you have Python 3.10+ installed.

# Create and activate virtual environment
python -m venv .venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate

# Install package
pip install -e .

Running Server

By default, the server runs in stdio mode:

python server.py

To run in SSE mode (web server on port 8000):

python server.py --transport sse --port 8000

Running with Docker

1. Build the Docker Image

docker build -t lounas-mcp .

2. Run Options

Option A: stdio Mode (Direct Command via Docker Exec)

Your MCP client can invoke Docker directly:

docker run -i --rm lounas-mcp --transport stdio

Option B: SSE Mode (HTTP Server)

Expose the HTTP port so other containers or host services can connect via HTTP SSE:

docker run -d --name lounas-mcp -p 8000:8000 lounas-mcp --transport sse --port 8000

Connecting to LiteLLM

To integrate this MCP server with LiteLLM, you can configure the MCP settings depending on how your LiteLLM instance is running.

If your LiteLLM is running in a Docker container, run lounas-mcp in SSE mode (Option B above) on the same network. Then, add it to your LiteLLM configuration:

mcp_servers:
  lounas-mcp:
    type: sse
    url: http://lounas-mcp:8000/sse

(If LiteLLM is running on the host machine and Docker port is mapped, use http://localhost:8000/sse)

Using stdio (If LiteLLM has docker-cli access)

If your LiteLLM server runs locally and can invoke docker directly:

mcp_servers:
  lounas-mcp:
    type: command
    command: docker
    args:
      - run
      - -i
      - --rm
      - lounas-mcp
      - --transport
      - stdio

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides real-time access to menus from all six MIT Bon Appétit dining halls. It enables users to query daily or weekly schedules and filter options by specific dietary requirements such as vegan, halal, or gluten-free.
    35 npm
    1
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Provides tools to interact with the strava.cz meal ordering system, enabling users to view menus, check and place orders, and manage their canteen account.
    1
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables searching restaurants and menu items, viewing availability and full menus, and managing restaurant carts via the private Yandex.Eats web API, secured with single-user OAuth, without exposing sensitive account or location data.
    4 npm
    MIT