Skip to main content
Glama
lighterpack-mcp

lighterpack-mcp

by paladini

lighterpack-mcp

CI npm JSR License: MIT Node >=20

An MCP server that lets AI agents create and manage LighterPack packing lists — add gear, track weights, organize categories, and share lists, all through natural conversation.

Unofficial. This project is not affiliated with or endorsed by LighterPack. It talks to LighterPack's own web API (the same one lighterpack.com's browser client uses) — see Architecture below.

What is this?

LighterPack is a free tool backpackers and travelers use to plan and share packing lists — tracking item weights, prices, and categories to optimize what they bring. This MCP server exposes LighterPack's list/category/item model as ~35 tools, so an MCP-compatible AI agent (Claude Desktop, Claude Code, etc.) can build and edit packing lists on your behalf: "Create a 3-day backpacking list with a Shelter category containing my tent and rain jacket, mark the jacket as worn, and give me a share link."

Related MCP server: Jilebi

Quick start

Requires Node.js ≥20 and a LighterPack account.

npm / npx:

npx lighterpack-mcp

JSR (Deno):

deno run -A jsr:@paladini/lighterpack-mcp

Add it to your MCP client's config (example for Claude Desktop, claude_desktop_config.json):

{
  "mcpServers": {
    "lighterpack": {
      "command": "npx",
      "args": ["-y", "lighterpack-mcp"],
      "env": {
        "LIGHTERPACK_USERNAME": "your-username",
        "LIGHTERPACK_PASSWORD": "your-password"
      }
    }
  }
}

Configuration

Env var

Required

Default

Description

LIGHTERPACK_USERNAME

Yes

—

Your LighterPack account username.

LIGHTERPACK_PASSWORD

Yes

—

Your LighterPack account password.

LIGHTERPACK_BASE_URL

No

https://lighterpack.com

Point at a self-hosted LighterPack instance (it's open source too).

One account per server instance — there's no tool to switch accounts mid-session, by design.

Tool reference

Weights are always in grams at the tool boundary (weight / weightUnit inputs, weightGrams outputs), regardless of what unit LighterPack's own UI happens to display. Internally LighterPack always stores weight in milligrams, so nothing is lost either way.

Library / account

Tool

Description

get_account_info

Signed-in username plus list/category/item counts and library-wide settings.

refresh_library

Force a re-fetch from LighterPack, discarding the local cache.

set_total_unit

Unit LighterPack's UI uses to display list totals.

set_item_unit

Default unit LighterPack's UI pre-fills for new items.

set_currency_symbol

Currency symbol shown next to prices (1-4 chars).

Lists

Tool

Description

create_list

Create a new, empty packing list.

list_lists

Summary of every list (name, category count, totals).

get_list

Full detail for one list: categories, items, computed totals.

rename_list

Rename a list.

set_list_description

Set a list's description.

set_list_optional_fields

Toggle optional columns: images, price, worn, consumable, list description, pack weight.

copy_list

Duplicate a list (categories copied, items shared with the original).

delete_list

Delete a list (fails if it's the only one).

generate_share_link

Mint a public read-only share link (lighterpack.com/r/<code>).

Categories

Tool

Description

add_category

Add a category to a list.

rename_category

Rename a category.

set_category_color

Set or clear a category's swatch color.

remove_category

Remove a category (fails on a list's last category unless force).

reorder_categories

Set a list's category display order.

Items

Tool

Description

add_item_to_category

Add a new item to a category, or link an existing item (shared item).

update_item

Patch name, description, price, weight, link, or image URL.

remove_item_from_category

Unlink an item from one category (keeps the item elsewhere).

delete_item

Delete an item everywhere it's referenced. Cannot be undone.

fork_item

Detach a shared item into an independent copy for one list.

set_item_image_url

Point an item at an external image URL.

upload_item_image

Upload a local/binary photo (JPEG/PNG/WebP, 5MB max) and attach it.

Item flags (per category placement)

Tool

Description

set_item_quantity

Set exact quantity.

increment_item_quantity / decrement_item_quantity

Adjust quantity by N (floored at 0).

set_item_worn

Mark worn/not worn (auto-clears consumable — they're mutually exclusive).

set_item_consumable

Mark consumable/not consumable (auto-clears worn).

set_item_star

Set the favorite/priority level: 0 (none) to 3 — LighterPack's star is a 3-level rating, not a plain flag.

Batch / composite

Tool

Description

add_items_batch

Add several items to one category in a single save round-trip.

create_list_with_items

Scaffold a whole list — categories and items — in one call.

batch_update_items

Apply field and/or flag edits across many items in one call.

Deliberately out of scope: account registration/deletion, password/email changes, and password recovery — high-risk, low-value for an agent to hold.

Architecture

LighterPack has no granular REST API — there's no "create list" or "add item" endpoint. Instead, a user's entire library (every list, category, and item) is a single JSON document, synced via POST /saveLibrary with an optimistic-concurrency token (sync_token). That fetch → mutate → save cycle, the sync_token retry logic, and the business rules (worn/consumable exclusivity, id sequencing, shared items, etc. — ported from LighterPack's own open-source client) all live in @paladini/lighterpack, a standalone TypeScript SDK this server depends on. This repo is intentionally thin: src/tools/* just registers each MCP tool (Zod input schema + agent-facing description) and calls the corresponding SDK method (lp.lists.*, lp.categories.*, lp.items.*, lp.batch.*), returning the SDK's already-formatted view objects (weights in grams, computed totals, etc.) as the tool result.

Limitations

  • No realtime push — if you (or someone else) edits the list on lighterpack.com while an agent session is open, call refresh_library to pick up the change.

  • One LighterPack account per server instance.

  • Account creation/deletion and credential changes are intentionally not exposed as tools.

Contributing

Contributions are welcome! See CONTRIBUTING.md for dev setup, testing, and how to add a new tool.

License

MIT

Available Tools

35 tools
add_categoryAdd a category to a listD

Inputs: listId (required), name, color.

add_items_batchAdd multiple items to a category at onceA

Adds several items to one category in a single save round-trip — much more efficient than calling add_item_to_category repeatedly.

Inputs: items (required), categoryId (required).

add_item_to_categoryAdd an item to a categoryB

Adds a new item to a category, or — if existingItemId is given — links an already-existing item into this category as a shared item (editing it later updates every category it appears in).

Inputs: categoryId (required), qty, url, name, +9 more.

batch_update_itemsUpdate multiple items at onceA

Applies field edits (name/description/price/weight/url/imageUrl) and/or flag edits (qty/worn/consumable/star) across many items in a single save round-trip.

Inputs: updates (required).

copy_listCopy a packing listA

Duplicates a list and its categories. The copy references the SAME item rows as the original (shared items — editing one updates both); use fork_item afterwards to detach a specific item.

Inputs: listId (required), newName.

create_listCreate a packing listC

Creates a new, empty packing list.

Inputs: name, description.

create_list_with_itemsCreate a whole list with categories and items at onceB

Scaffolds a complete new list — categories and their items — in a single save round-trip.

Inputs: name (required), categories (required), description.

decrement_item_quantityDecrease an item's quantityA

Decreases quantity, floored at 0 (never negative).

Inputs: itemId (required), categoryId (required), by.

delete_itemDelete an item entirelyA

Deletes an item from the library and unlinks it from every category/list that references it. This cannot be undone.

Inputs: itemId (required).

delete_listDelete a packing listA

Deletes a list and all its categories. Fails if this is the only remaining list in the account. Items that are also referenced by other lists are left intact.

Inputs: listId (required).

fork_itemFork a shared itemA

Detaches a shared item into an independent copy for one specific list, so future edits to the original no longer affect this list's copy.

Inputs: itemId (required), listId (required).

get_account_infoGet LighterPack account infoA

Returns the signed-in username and a summary of the whole library: how many lists, categories, and items exist, plus library-wide settings (units, currency symbol).

Inputs: no named parameters.

get_listGet a packing listA

Returns full detail for one packing list: every category, every item (with weight, price, qty, worn/consumable/star flags), and computed totals.

Inputs: listId (required).

increment_item_quantityIncrease an item's quantityD

Inputs: itemId (required), categoryId (required), by.

list_listsList all packing listsA

Returns a summary (name, category count, total weight/price) of every packing list in the account.

Inputs: no named parameters.

refresh_libraryRefresh library from LighterPackA

Forces a re-fetch of the entire library from the LighterPack server, discarding the local cache. Use this if you suspect the data changed elsewhere (e.g. the user editing lighterpack.com directly) mid-session.

Inputs: no named parameters.

remove_categoryRemove a categoryA

Removes a category from a list. Fails if it's the list's last category unless force is true.

Inputs: listId (required), categoryId (required), force.

remove_item_from_categoryRemove an item from one categoryA

Unlinks an item from a single category. The item row itself (and its placement in any other category) is untouched. Use delete_item to remove it everywhere.

Inputs: itemId (required), categoryId (required).

rename_categoryRename a categoryD

Inputs: name (required), categoryId (required).

rename_listRename a packing listD

Inputs: name (required), listId (required).

reorder_categoriesReorder a list's categoriesA

Sets the display order of a list's categories. categoryIds must contain exactly the list's existing category ids, just reordered.

Inputs: listId (required), categoryIds (required).

set_category_colorSet or clear a category colorA

Sets a category's swatch color (hex, e.g. "#ff8800"). Omit color to clear it and let LighterPack auto-assign one.

Inputs: categoryId (required), color.

set_currency_symbolSet currency symbolA

Sets the currency symbol (1-4 characters, e.g. "$", "€", "R$") shown next to prices.

Inputs: symbol (required).

set_item_consumableMark an item as consumable/not consumableA

Worn and consumable are mutually exclusive: setting consumable=true automatically clears worn on this item placement.

Inputs: itemId (required), categoryId (required), consumable (required).

set_item_image_urlSet an item's image from a URLA

Points an item at an externally-hosted image URL (no upload involved). Use upload_item_image instead to upload a local/binary image.

Inputs: itemId (required), imageUrl (required).

set_item_quantitySet an item's quantityD

Inputs: qty (required), itemId (required), categoryId (required).

set_item_starSet an item's star/favorite levelB

Sets the star level for this item placement: 0 = unstarred, 1 = favorite, up to 3 (LighterPack's star is a 3-level rating, not a plain on/off flag).

Inputs: star (required), itemId (required), categoryId (required).

set_item_unitSet default unit for new itemsA

Sets the unit LighterPack's own UI pre-fills when a person adds a new item there. Items you add through this MCP server always take an explicit weight_unit per call, so this only affects lighterpack.com's own editing UI.

Inputs: unit (required).

set_item_wornMark an item as worn/not wornC

Worn and consumable are mutually exclusive: setting worn=true automatically clears consumable on this item placement.

Inputs: worn (required), itemId (required), categoryId (required).

set_list_descriptionSet a packing list descriptionD

Inputs: listId (required), description (required).

set_list_optional_fieldsToggle a list's optional columnsA

Toggles which optional columns show for a list: item images, prices, worn, consumable, list description, and total pack weight. Only the keys you pass are changed.

Inputs: fields (required), listId (required).

set_total_unitSet list total display unitA

Sets the unit LighterPack's own UI uses to display list totals (oz/lb/g/kg). This does not affect the units this MCP server reports back to you — tool responses always use grams.

Inputs: unit (required).

update_itemUpdate an item's fieldsA

Patches any subset of an item's own fields — name, description, price, weight, link (url), or image URL. This is how you rename an item, change its price, or add a link. Only the fields you pass are changed. Note the item may be shared across multiple categories/lists; this updates it everywhere it appears.

Inputs: itemId (required), url, name, price, +4 more.

upload_item_imageUpload a photo for an itemA

Uploads a local image file (JPEG/PNG/WebP, 5MB max) to LighterPack and sets it as the item's photo. Provide either filePath (read from disk) or imageBase64 (raw base64-encoded bytes) plus mimeType.

Inputs: itemId (required), filePath, mimeType, imageBase64.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    C2.8/5.0

    Scored across 35 tools

    Disambiguation4/5

    Most tools target distinct resource-action pairs with clear descriptions. Minor overlap exists between update_item (which can set imageUrl) and set_item_image_url, but the latter is dedicated to that purpose. Batch tools are clearly named and serve a different use case.

    Naming Consistency4/5

    Tool names follow a consistent verb_noun pattern with underscores, using imperative verbs throughout. Slight deviations like 'list_lists' instead of 'get_lists' and 'generate_share_link' instead of 'create_share_link' are minor and do not undermine the overall predictable style.

    Tool Count2/5

    With 35 tools, the server is over-scoped for its domain. Many micro-tools (set_item_worn, set_item_consumable, set_item_star) could be consolidated into a single update operation, and batch tools add further redundancy. The count exceeds the reasonable range for a packing-list manager.

    Completeness5/5

    The tool surface covers the complete lifecycle of lists, categories, and items, including creation, retrieval, update, deletion, duplication, sharing, image handling, quantity adjustments, flag toggles, and batch operations. Library settings and account info are also addressed, leaving no obvious dead ends.

    Maintenance

    ActivityMaintained
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      MCP server that gives AI agents full control over grocery lists, todos, and packing lists. Your AI creates lists, adds items, checks them off, and shares with family/friends.
      4
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      A plugin-based MCP server that enables AI assistants to interact with external systems through custom tools, resources, and prompts.
      4
      AGPL 3.0
    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server with real AI capabilities (OpenAI/Anthropic) for natural language understanding, multi-step planning, and autonomous task execution, enabling intelligent file analysis, weather-based planning, and more.
      ISC
    • A
      license
      Not graded
      quality
      D
      maintenance
      A production-ready MCP server that gives an LLM agent standalone-equivalent control over a Mineflayer Minecraft bot — movement, mining, crafting, inventory, combat, containers, chat, and much more — exposed as 110 strongly-typed tools across 23 groups, with full bot lifecycle management and dual (poll + push) event streaming.
      129 npm
      10
      MIT