Skip to main content
Glama
webhallen-mcp

webhallen-mcp

by irony

webhallen-mcp

MCP server for interacting with Webhallen. Search products and manage shared wishlists (önskelistor) — designed for a shared office shopping list.

Uses pure HTTP calls (no browser dependency), so it works from background agents.

Tools

Tool

Auth required

Description

login

-

Log in with username/password

search_products

-

Search products by keyword (returns IDs, names, prices, stock)

get_product

-

Get details for a specific product by ID

list_wishlists

✓

List all your wishlists and their contents

get_wishlist

✓

Get contents of a specific wishlist

create_wishlist

✓

Create a new wishlist (e.g. "Kontoret Inköpslista")

add_to_wishlist

✓

Add a product to a wishlist

delete_wishlist

✓

Delete a wishlist

Related MCP server: Bring! Shopping MCP Server

Authentication

Two options:

Set WEBHALLEN_USERNAME and WEBHALLEN_PASSWORD. The server logs in automatically on first authenticated request.

Option B: Login tool

Call the login tool with username and password. The session is kept in memory for the server's lifetime.

Set WEBHALLEN_COOKIES with a webhallen_session=... cookie value extracted from a browser session. Use this if you already have a valid session and want to avoid sending credentials.

Search works without authentication. Wishlist operations require it.

Installation

Build

cd webhallen-mcp
npm install
npm run build

Configure in opencode

Add to your opencode.json:

{
  "mcp": {
    "webhallen": {
      "command": "node",
      "args": ["/path/to/webhallen-mcp/dist/index.js"],
      "env": {
        "WEBHALLEN_USERNAME": "your_username",
        "WEBHALLEN_PASSWORD": "your_password"
      }
    }
  }
}

API endpoints used

Endpoint

Method

Auth

Purpose

/api/login

POST

-

Authenticate with username/password

/api/me

GET

✓

Current user info

/api/productdiscovery/autocomplete/{query}

GET

-

Product search

/api/productdiscovery/category/{id}

GET

-

Browse by category

/api/wishlist

GET

✓

List all wishlists

/api/wishlist

POST

✓

Create wishlist

/api/wishlist/{id}

PUT

✓

Add product to wishlist

/api/wishlist/{id}

DELETE

✓

Delete wishlist

Usage examples

Ask the agent:

  • "Sök efter Nintendo Switch 2 på Webhallen"

  • "Skapa en önskelista som heter Kontoret Inköpslista"

  • "Lägg till produkt 378404 i önskelistan"

  • "Visa alla önskelistor"

Available Tools

8 tools
add_to_wishlistA

Add a product to a Webhallen wishlist. Use search_products first if you need the product ID. Use create_wishlist first if the list doesn't exist yet.

Inputs: productId (required), name, wishlistId.

create_wishlistA

Create a new Webhallen wishlist (önskelista). Use this to create a shared shopping list for the office.

Inputs: name (required).

delete_wishlistA

Delete a Webhallen wishlist and all its contents.

Inputs: wishlistId (required).

get_productA

Get details about a specific Webhallen product by ID. Useful for verifying product info before adding to a shared wishlist.

Inputs: productId (required).

get_wishlistA

Get the contents of a specific wishlist by ID. Shows all products in the shared shopping list.

Inputs: wishlistId (required).

list_wishlistsA

List all your Webhallen wishlists (önskelistor) with their IDs and contents. This shows the shared shopping lists.

Inputs: no named parameters.

loginA

Log in to Webhallen with username and password. Required before using wishlist tools. Alternatively set WEBHALLEN_USERNAME and WEBHALLEN_PASSWORD env vars.

Inputs: password (required), username (required).

search_productsA

Search for products on Webhallen by keyword. Returns product list with IDs, names, prices, and stock info. Use the product IDs with add_to_wishlist. Does not require login.

Inputs: query (required), page, categoryId.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 8 tools

    Disambiguation4/5

    Most tools are clearly separated by resource and action: product search/detail, wishlist lifecycle, and auth. The only real ambiguity is list_wishlists versus get_wishlist, since both return wishlist contents, though one is all lists and the other is a specific list; the descriptions mostly clarify this.

    Naming Consistency4/5

    All tool names use lowercase snake_case with a verb-first style. Product and wishlist CRUD tools follow a verb_noun pattern, while login and add_to_wishlist are minor deviations but still clear and predictable.

    Tool Count5/5

    8 tools is well-scoped for a Webhallen wishlist integration: auth, product lookup, and wishlist CRUD each have a clear place. There is no unnecessary duplication or bloat.

    Completeness3/5

    The surface covers login, product search/detail, and create/get/list/delete wishlists, with add_to_wishlist for populating a list. However, there is no remove_from_wishlist or update wishlist metadata, so agents cannot correct mistakes or rename lists—a notable lifecycle gap.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      B
      quality
      D
      maintenance
      Enables AI assistants to interact with Mathem.se, a Swedish online grocery store, allowing users to search for ingredients, add items to their shopping basket, and manage recipes through natural language.
      4
      2
      -
    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables agentic grocery shopping on Oda (Norway) and Mathem (Sweden) platforms through an MCP-compatible interface. Users can search for products, manage their shopping cart, and access order history using natural language commands.
      1
      MIT