Connector guide16-minute read38 MCP tools7 languages

Connect H&M Home to Claude via MCP: Orders and Offers

Run your shop on the H&M Home marketplace from an AI agent: orders, acceptance, tracking and shipping, incidents, offers with prices and stock, imports, messages, returns, invoices and transactions. The marketplace sells in Denmark, Finland, Germany, Italy, Poland, Portugal, Spain, Sweden and the United Kingdom; sign in with the shop API key from your H&M Home seller back office.

HCBy HelpCode teamUpdated 16 min read Open-source on GitHub

No credit card · 7-day trial · Self-host alternative available

H&M Home Marketplace

H&M Home Marketplace

Run your shop on the H&M Home marketplace from an AI agent: orders, acceptance, tracking and shipping, incidents, offers with prices and stock, imports, messages, returns, invoices and transactions. The marketplace sells in Denmark, Finland, Germany, Italy, Poland, Portugal, Spain, Sweden and the United Kingdom; sign in with the shop API key from your H&M Home seller back office.

tools

38

Region

SE

Category

E-commerce

Authentication

API Key

Required env vars

HM_HOME_API_KEY
Install in one click on Cloud

7-day free trial · No credit card

  • 7-day free trial
    No credit card required
  • GDPR & SOC 2 ready
    EU data residency, audit logs
  • Open-source on GitHub
    Open source · AGPL-3.0
  • Works with ChatGPT, Claude, Gemini
    Any MCP-compatible client

Summary

Run your shop on the H&M Home marketplace from an AI agent: orders, acceptance, tracking and shipping, incidents, offers with prices and stock, imports, messages, returns, invoices and transactions. The marketplace sells in Denmark, Finland, Germany, Italy, Poland, Portugal, Spain, Sweden and the United Kingdom; sign in with the shop API key from your H&M Home seller back office.

Guided setup

Connect H&M Home Marketplace to Claude in 2 minutes

Start a free trial on AnythingMCP Cloud, connect H&M Home Marketplace in the guided setup, then add your MCP URL to Claude. No code and no server to run.

No credit card · 7-day trial · Self-host alternative available

AnythingMCP is listed in Claude's connector directory: add it to Claude in one click (opens in a new tab), then sign in and choose which MCP servers Claude may use.

Try asking

Example prompts for H&M Home Marketplace

Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.

H&M Home Marketplace · live via MCP
Share
Opus 4.7

Claude is AI and can make mistakes. Please double-check responses.

💡 No install? Use cloud.anythingmcp.com directly. Sign in, click Connectors → H&M Home Marketplace, paste your credentials, mint an MCP API key and you're done. No Docker, no git clone, no local server.

H&M Home Marketplace + Claude

Run your shop on the H&M Home marketplace from an AI agent: orders, acceptance, tracking and shipping, incidents, offers with prices and stock, imports, messages, returns, invoices and transactions. The marketplace sells in Denmark, Finland, Germany, Italy, Poland, Portugal, Spain, Sweden and the United Kingdom; sign in with the shop API key from your H&M Home seller back office.

Prerequisites

See the full setup instructions baked into the connector (visible in the in-app store when you select the connector). The required environment variables for this connector are:

HM_HOME_API_KEY

Step 1 — Get credentials

Countries: Denmark, Finland, Germany, Italy, Poland, Portugal, Spain, Sweden and the United Kingdom. One shop sells to all nine countries, with a price per country.

Who can sell: H&M Home chooses the brands it sells next to its own range and reviews each application; it charges no setup, monthly or commission fee, the margin is agreed per brand, with invoices every two weeks and 30-day payment terms. The connector needs a seller account that H&M Home has already opened.

Setting up takes about 5 minutes.

  1. Sign in to the H&M Home seller back office: https://hmhome-prod.mirakl.net/login.
  2. In the back office open your user name (top right) > My user settings > API key and click Generate a new key (or copy the existing key). Paste it into HM_HOME_API_KEY. The key is sent as is in the Authorization header, without Bearer. Generating a new key invalidates the old one, so any other tool using it stops working.
  3. Leave HM_HOME_SHOP_ID empty. Only if your user manages several shops on H&M Home, set HM_HOME_SHOP_ID to the numeric id of the shop this connector should work on (shown on the dashboard of the back office next to Identifier or Shop ID, and returned as shop_id by hm_home_get_account). Without it your default shop is used.
  4. Install and run hm_home_get_account: it returns the shop the key belongs to.

Where to start: hm_home_get_account shows the shop behind the key (id, name, state, currency and channels). For the daily work use hm_home_list_orders with order_state_codes=WAITING_ACCEPTANCE, hm_home_list_offers for prices and stock and hm_home_list_threads for messages that wait for a reply.

Products and competing offers: hm_home_get_products looks products up in the H&M Home catalog by EAN or another reference and returns the marketplace product SKU; hm_home_list_product_offers lists the offers of every shop for given products, best price first, at about 5 calls a minute.

Order workflow: a new order waits in WAITING_ACCEPTANCE. hm_home_accept_order accepts (or refuses) every line; after the customer is debited the order moves to SHIPPING. Then hm_home_update_tracking stores the carrier and tracking number (carrier codes come from hm_home_list_carriers) and hm_home_ship_order confirms the shipment (SHIPPED). Later states are TO_COLLECT, RECEIVED, CLOSED, REFUSED and CANCELED. Use hm_home_list_orders with order_state_codes=WAITING_ACCEPTANCE for the daily to-do list and has_incident=true for open incidents; hm_home_resolve_incident closes an incident on one order line once it is solved. Documents attached to orders (delivery notes, labels, customer invoices) are listed by hm_home_list_order_documents.

Writes: confirm first. hm_home_accept_order, hm_home_update_tracking, hm_home_ship_order, hm_home_resolve_incident, hm_home_accept_return, hm_home_receive_return, hm_home_update_offers, hm_home_reply_thread, hm_home_create_order_thread and hm_home_import_products act on the live marketplace. Before each call, show the user what will change (order id and lines, tracking number, offer SKU with the old and new price or stock, the message text and recipients) and wait for a yes. Refusing an order line cancels it for good. No tool here refunds, cancels orders or moves money; do that in the back office. hm_home_import_offers can delete offers (REPLACE mode deletes every offer missing from the file), so it is installed switched off.

Updating offers (prices and stock): hm_home_update_offers (OF24) replaces the whole offer. Every field you leave out is reset: a missing quantity becomes 0, a missing discount or description is deleted. Always read the offer first (hm_home_get_offer or hm_home_list_offers with sku) and send it back complete with only the intended change: shop_sku, product_id and product_id_type (from product_references), state_code, price, quantity, leadtime_to_ship, logistic_class (its code), min_quantity_alert, description, discount, all_prices, available_started / available_ended (read as available_start_date / available_end_date) and any offer_additional_fields. Leave update_delete empty or update. The call returns an import_id; the change is applied asynchronously, so check it with hm_home_get_offer_import before reading the offer again. Condition codes for state_code come from hm_home_list_offer_conditions, logistic class codes from hm_home_list_logistic_classes.

File imports: hm_home_import_products (P41) and hm_home_import_offers (OF01) take the URL of a CSV, XLSX or XML file in the file format H&M Home asks for; the connector downloads it and uploads it to H&M Home. Track them with hm_home_list_product_imports / hm_home_get_product_import and hm_home_list_offer_imports / hm_home_get_offer_import.

Returns: hm_home_list_returns (RT11) lists return requests. Where H&M Home lets the shop decide, hm_home_accept_return accepts or refuses one in WAITING_ACCEPTANCE and hm_home_receive_return confirms the goods arrived. Refunds stay in the back office.

Messages: hm_home_list_threads lists conversations (filter with entity_type=MMP_ORDER and entity_id=<order id> for one order; entity_id without entity_type is refused), hm_home_get_thread reads one with its messages, hm_home_reply_thread answers (recipient CUSTOMER or OPERATOR, which is H&M Home) and hm_home_create_order_thread opens a new conversation on an order. Reason codes for topics come from hm_home_list_reasons; leave its locale empty unless you know the marketplace has that language (an inactive locale answers 400).

Money: hm_home_list_invoices (IV01) lists the accounting documents H&M Home issues to the shop and hm_home_list_transactions (TL02) the transaction lines (sales, commissions, refunds, payouts). If H&M Home uses Enhanced Seller Invoicing, IV01 returns no new documents; use hm_home_list_document_requests (DR11) and the transactions then.

Whole catalogue: to read every offer (a stock or price check across the catalogue, counting offers), start an export with hm_home_export_offers, poll hm_home_get_offer_export_status about once a minute until it is COMPLETED, and read the files one by one with hm_home_get_offer_export_file; include_fields keeps only the columns you need. A full export is allowed once a day; for what changed since, pass last_request_date (a differential export, at most once a minute). Do not page through every offer with hm_home_list_offers: it is meant for a few offers at a time and answers 429 when paged through a large catalogue.

Several shops: every tool takes an optional shop_id. A user who manages several shops on this marketplace (an agency, or one shop per country) can work on all of them with one install: pass the shop's id on each call and check which shop it is with hm_home_get_account and the same shop_id. Without shop_id a call uses HM_HOME_SHOP_ID, or the user's default shop when that is empty. Ask the user for the ids of their shops; the back office shows them.

Reference lists: hm_home_list_channels (country sites), hm_home_list_carriers, hm_home_list_shipping_zones, hm_home_list_shipping_methods and hm_home_list_logistic_classes change rarely; read them once per conversation.

Pagination: orders, offers, invoices and product imports page with max (at most 100) and offset. Threads, returns, transactions, document requests and offer imports return a next_page_token; pass it as page_token to get the next page (all other filters are then ignored) until it is missing.

Dates are ISO 8601, e.g. 2026-10-01T00:00:00Z; answers are in UTC.

Rate limits: Each API has its own limit and H&M Home can tighten them. Listing offers and orders is meant for interactive use, product and offer imports at most every 15 minutes, hm_home_get_account and the reference lists about once a day. A 429 carries a Retry-After header with the seconds to wait; do not retry in a loop.

Errors: 401 means the key is wrong or was replaced by a newer one, 403 that your user lacks the right for this action, 404 that the order, offer or thread does not exist for this shop or that the marketplace does not use that feature, such as returns, 400 a wrong parameter or an order in the wrong state (the message names it, e.g. ORDER_INVALID_STATE).

Step 2 — Install the adapter

curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d

Step 3 — Add the connector in Claude

Your server URL: in AnythingMCP, open MCP Servers → the server this connector is on, and copy its URL (https://cloud.anythingmcp.com/mcp/…). Use it wherever this guide shows YOUR_SERVER_ID.

Recommended path: works on claude.ai web without editing any config file.

  1. In Claude, open Plugins (older menu: Customize → Connectors → + Add).
  2. Click Add, then Add custom connector.
  3. Enter a name, e.g. H&M Home Marketplace, and the remote MCP server URL https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID, then click Continue, keep the detected settings and click Continue again.
  4. Choose Sign in now, click Add and sign in to AnythingMCP (OAuth) to allow access.

All tools below appear in your chat: start typing prompts.

Available tools

ToolWhat it does
hm_home_get_accountRead the shop behind the API key on this marketplace (A01): shop id and name, state, channels, currency, grade and approval rate, contact…
hm_home_list_ordersList orders (OR11) with their lines, customer, shipping address, prices, state and incidents. Filter by state (e.g. WAITING_ACCEPTANCE for…
hm_home_list_offersList the shop's offers (OF21): SKU, product, price and discount, all channel prices, quantity in stock, condition, lead time and whether…
hm_home_get_offerRead one offer in full by its offer id (OF22): every price field, discount, quantity, condition, logistic class, lead time and custom…
hm_home_list_offer_conditionsList the offer conditions (OF61) the marketplace accepts, e.g. new or used, with the code to put in state_code when updating offers
hm_home_list_offer_importsList offer imports and updates (OF04), from files and from hm_home_update_offers: status (WAITING, RUNNING, COMPLETE, FAILED), lines read…
hm_home_get_offer_importRead the status of one offer import or offer update (OF02) by its import_id, as returned by hm_home_update_offers or hm_home_import_offers…
hm_home_export_offersStart an export of all the shop's offers as files (OF52), the way to read the whole catalogue (every SKU with price and stock) instead of…
hm_home_get_offer_export_statusStatus of an offer export started with hm_home_export_offers (OF53): PENDING, COMPLETED or FAILED (with error.code and error.detail), and…
hm_home_get_offer_export_fileRead one file of a completed offer export (OF54): the offers with their SKU, product, quantity, prices and the other exported fields, as…
hm_home_list_product_importsList product imports (P51) with their status (WAITING, RUNNING, SENT, COMPLETE, FAILED, CANCELLED), the transformation counts and the…
hm_home_get_product_importRead the status of one product import (P42) by its import_id: import status, reason, transformation counts and the integration details…
hm_home_get_productsLook up products in the marketplace catalog by their identifiers (P31), e.g. EAN, and get the marketplace product SKU, title and category.…
hm_home_list_product_offersList the offers of every shop for given products (P11), sorted by best price, to compare your price with the competition. Give product_ids…
hm_home_list_threadsList message threads (M11) with customers and H&M Home: topic, linked order or offer, participants, last message date and since when a shop…
hm_home_get_threadRead one message thread (M10) with all its messages, senders, recipients, attachments and the linked order or offer
hm_home_list_returnsList return requests (RT11) with their state, return lines, reason, RMA, tracking and the linked order. Filter by state, order or date.…
hm_home_list_reasonsList the marketplace's reason codes (RE01): incident, cancellation, refund and message reasons, with their labels and whether the shop may…
hm_home_list_carriersList the carriers the marketplace knows (SH21) with their code, label and tracking URL. Use the code as carrier_code in…
hm_home_list_invoicesList the accounting documents H&M Home issues to the shop (IV01): invoices and credit notes with period, totals with and without tax…
hm_home_list_transactionsList the shop's transaction lines (TL02): order amounts, shipping, commissions, refunds, manual credits and payouts, with amount, type…
hm_home_list_document_requestsList accounting document requests (DR11), used when H&M Home runs Enhanced Seller Invoicing: invoices and credit notes that H&M Home or the…
hm_home_list_order_documentsList the documents attached to one or more orders (OR72): delivery notes, shipping labels, customer invoices and other files, with id, file…
hm_home_list_channelsList the marketplace's sales channels (CH11), usually one per country site, with code and label. Use the codes as channel_codes in…
hm_home_list_shipping_zonesList the active shipping zones of the marketplace (SH11) with code and label, e.g. mainland France or Corsica. Changes rarely: call it…
hm_home_list_shipping_methodsList the active shipping methods of the marketplace (SH12), e.g. standard, express or pick-up, with code, label, whether a tracking number…
hm_home_list_logistic_classesList the marketplace's logistic classes (SH31), the size or weight bands that decide shipping prices, with code and label. Use the code as…
hm_home_accept_orderAccept or refuse the lines of an order waiting for acceptance (OR21). Every line of the order must be listed. Refusing a line cancels it…
hm_home_update_trackingSet the carrier and tracking number of an order (OR23). Give carrier_code from hm_home_list_carriers, or carrier_name with carrier_url for…
hm_home_ship_orderConfirm that an order in SHIPPING has been shipped (OR24); it moves to SHIPPED and the customer is notified. Set the tracking first with…
hm_home_update_offersCreate or update offers, including price and stock (OF24). Replaces each offer completely: every field left out is reset (a missing…
hm_home_reply_threadReply in a message thread (M12) to the customer or H&M Home. The message is delivered at once and cannot be taken back: show the user the…
hm_home_create_order_threadStart a new message thread on an order (OR43) with the customer, H&M Home or both. The message is delivered at once: show the user the…
hm_home_resolve_incidentMark the open incident on one order line as resolved (OR64), once the customer's problem is solved. reason_code must be an INCIDENT_CLOSE…
hm_home_accept_returnAccept or refuse a return request in WAITING_ACCEPTANCE (RT21). Only when H&M Home handles returns in the seller back office and leaves the…
hm_home_receive_returnConfirm that the goods of an accepted return arrived at your warehouse (RT25). The return moves to RECEIVED. Acts on the live marketplace…
hm_home_import_productsSend a product file to the marketplace (P41) to create or enrich products in its catalog. file_url is the address of a CSV, XLSX or XML…
hm_home_import_offersImport an offer file (OF01) to create, update or delete offers in bulk. REPLACE mode deletes every offer that is not in the file, and…

Example prompts

  • "Which H&M Home orders are waiting for my acceptance, and from which countries?"
  • "Show the prices of my linen duvet cover SKU HMH-DUV-150 in each country."
  • "Set the stock of my ceramic vase SKU HMH-VASE-S to 40 and keep the prices."
  • "Export my catalogue and list every offer with fewer than 5 units in stock."
  • "Show the invoices H&M Home issued me in the last two weeks."

FAQ

Does it work with Claude Code as well as Claude Desktop? Yes, point both at https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID.

Where do I get the H&M Home API key, and what if I run several shops? In the H&M Home seller back office: your user name (top right), My user settings, API key, then Generate a new key (or copy the existing key). Generating a new key invalidates the old one. The key belongs to your user, not to one shop: with several shops on H&M Home, set HM_HOME_SHOP_ID to the shop the connector should use by default, or ask the AI to pass shop_id on each call and work on all your shops with one install. Without either, your default shop is used.

Who can sell on H&M Home, and which countries does it cover? H&M Home chooses the brands it sells next to its own range and reviews each application; it charges no setup, monthly or commission fee, the margin is agreed per brand, with invoices every two weeks and 30-day payment terms. The connector covers Denmark, Finland, Germany, Italy, Poland, Portugal, Spain, Sweden and the United Kingdom. One shop sells to all nine countries, with a price per country.

Can it check my whole catalogue, and can it cancel orders, refund or delete offers? Yes to the catalogue: for a stock or price check across every offer, the AI starts an export with hm_home_export_offers, waits until hm_home_get_offer_export_status reports it complete and reads the files with hm_home_get_offer_export_file (a full export once a day, changes since a date once a minute). No tool refunds or cancels an order; do that in the H&M Home back office. Refusing a line when accepting an order cancels it for good, so the AI shows you every write and waits for a yes. hm_home_import_offers installs switched off, because its REPLACE mode deletes every offer that is missing from the file; switch it on on the connector page only if the AI should use it.

Next steps

Was this guide helpful?

Connect H&M Home Marketplace to Claude in 2 minutes

Start a free trial on AnythingMCP Cloud, connect H&M Home Marketplace in the guided setup, then add your MCP URL to Claude. No code and no server to run.

Related guides

Connectors

Connect H&M Home to ChatGPT via MCP: Orders and Stock

Run your shop on the H&M Home marketplace from an AI agent: orders, acceptance, tracking and shipping, incidents, offers with prices and stock, imports, messages, returns, invoices and transactions. The marketplace sells in Denmark, Finland, Germany, Italy, Poland, Portugal, Spain, Sweden and the United Kingdom; sign in with the shop API key from your H&M Home seller back office.

Connectors

Connect H&M Home to Microsoft Copilot via MCP

Run your shop on the H&M Home marketplace from an AI agent: orders, acceptance, tracking and shipping, incidents, offers with prices and stock, imports, messages, returns, invoices and transactions. The marketplace sells in Denmark, Finland, Germany, Italy, Poland, Portugal, Spain, Sweden and the United Kingdom; sign in with the shop API key from your H&M Home seller back office.

Connectors

Connect H&M Home to Cursor via MCP: Orders and Offers

Run your shop on the H&M Home marketplace from an AI agent: orders, acceptance, tracking and shipping, incidents, offers with prices and stock, imports, messages, returns, invoices and transactions. The marketplace sells in Denmark, Finland, Germany, Italy, Poland, Portugal, Spain, Sweden and the United Kingdom; sign in with the shop API key from your H&M Home seller back office.

Connectors

Connect H&M Home to Gemini CLI via MCP: Orders

Run your shop on the H&M Home marketplace from an AI agent: orders, acceptance, tracking and shipping, incidents, offers with prices and stock, imports, messages, returns, invoices and transactions. The marketplace sells in Denmark, Finland, Germany, Italy, Poland, Portugal, Spain, Sweden and the United Kingdom; sign in with the shop API key from your H&M Home seller back office.

Connectors

Connect H&M Home to Meta Muse via MCP: Orders

Run your shop on the H&M Home marketplace from an AI agent: orders, acceptance, tracking and shipping, incidents, offers with prices and stock, imports, messages, returns, invoices and transactions. The marketplace sells in Denmark, Finland, Germany, Italy, Poland, Portugal, Spain, Sweden and the United Kingdom; sign in with the shop API key from your H&M Home seller back office.

Connectors

H&M Home MCP Server: Orders, Offers and Shipping

Run your shop on the H&M Home marketplace from an AI agent: orders, acceptance, tracking and shipping, incidents, offers with prices and stock, imports, messages, returns, invoices and transactions. The marketplace sells in Denmark, Finland, Germany, Italy, Poland, Portugal, Spain, Sweden and the United Kingdom; sign in with the shop API key from your H&M Home seller back office.