lighterpack-mcp
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.
README
lighterpack-mcp
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."
Quick start
Requires Node.js ≥20 and a LighterPack account.
npx @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", "@paladini/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_libraryto 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
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。