Mahonia

app.mahoniaPublished by mahonia.appOfficial publisherv2.2.0Updated Nov 21, 2026

Hiking gear lists and pack weights: make and edit lists, search a cited catalog, track your gear.

VerifiedStreamable HTTPWeb executableLocation & LifestyleProductivity & Workflow

Overview

Mahonia's hosted MCP server (mahonia.app), published by mahonia.app; no sign-in required; Streamable HTTP; 6 tools.

No AI overview yet: these facts come from the registry entry and the server itself.

Publisher
mahonia.app
Endpoint
mahonia.app
Last checked

Installation

In SourceWeft

  1. Open Mahonia in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/app.mahonia%2Fmahonia/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "mahonia": {
      "type": "http",
      "url": "https://mahonia.app/mcp"
    }
  }
}

README

Mahonia

A gear-list and pack-weight tracker for hikers. Make a packing list, see what it weighs, share it.

Lists need no sign-up: one is yours the moment you start typing, held by a private unguessable link. The gear vault is the one part that asks for an account, because "the gear I own" has to follow you across devices rather than living in one browser.

What it does

  • Weigh a pack. Base, worn and consumable totals, with the worn split (three pairs of socks, one on your feet) and a carried figure. Weights are optional — a list with none keeps its totals quiet.
  • A curated gear catalog behind the autocomplete, cited and correctable, with every value overridable per row.
  • Per-row units. Type 32.5 oz on a gram list and that row keeps ounces while the total stays in grams.
  • Calories on consumables, totalled for the list.
  • Trip dates, as calendar dates — no time, no timezone, so a trip doesn't shift when you fly.
  • Share two ways: a read-only link, and an edit link for co-planning. The edit link can be replaced if it gets out.
  • Packing mode — the same list as a checklist, for the night before.
  • A gear vault that fills itself as you build, so your kit is one pick away next time.
  • Import from LighterPack (share link or CSV) or a JSON backup; export as CSV, JSON or Markdown.
  • Recovery points: the server keeps the last few versions of every list, so a loss past undo can still be put back.

Run locally

Requires Node 26 (the pinned version — see .nvmrc).

npm install
npm run seed   # load the gear catalog into a local database
npm run dev    # http://localhost:3000

With no environment variables set, the app runs fully on your machine against a local PGlite database. Copy .env.example to .env to point at a real Postgres (Neon) and Redis (Upstash) for a production deploy.

Anything that would leave the machine degrades to the console instead of being skipped, so a fresh checkout is a working app rather than a broken one:

Unset variableWhat happens locally
RESEND_API_KEYSign-in links print to the server console instead of being emailed.
GITHUB_FEEDBACK_TOKEN / _REPO"Send feedback" (in the editor's actions menu) prints to the console and reports back that it wasn't filed.

Both fail loudly in production rather than quietly accepting input that goes nowhere.

Stack

Nuxt 4 · Vue 3 · TypeScript · Drizzle ORM · deployed on Vercel.

MCP connector

The app serves a remote MCP server at /mcp, so an AI assistant can be handed https://mahonia.app/mcp as a connector with nothing to install. Six tools, kept few on purpose so a connector shows a short permission list. Four need no sign-in: get_list reads a shared list as data or Markdown, search_catalog searches the cited gear catalog or returns one product's variants, create_list makes a list, and edit_list, holding an edit link, makes every change to an existing one in a single call: the list's title, dates and trail, its folders, new rows (into a folder, or nested under a group), changes to the rows already there (fields, folder, place, group, and the catalog link, relinked in place), and removals. Rows nest one level deep, as the site's groups do: get_list shows a group as a row with items, create_list takes the same shape, and edit_list nests a row under a parent by id. get_list gives every row and folder an id for those edits, and reads from an edit link too, by the share code in its address. A share code is the read capability and the edit link's fragment token the write one, hashed on arrival and passed only as a tool argument, so nothing new is trusted. The transport is stateless JSON-RPC over POST (MCP revisions 2025-06-18 and 2025-11-25, no sessions, no event stream, GET answers 405), hand-rolled in server/routes/mcp.post.ts with the tools in server/utils/mcp.ts; both files carry the reasoning.

Two more tools, and one more use of get_list, reach an account. get_list with no share code names the lists filed under it, each by its share code, so an assistant can open one without being handed a link, and with read-and-change access edit_list takes that share code in place of the edit link, resolved through the same claim the site uses when a signed-in owner edits a list, so the edit token still never leaves the server. get_my_gear and edit_my_gear read and change My Gear, and can link a piece to the catalog, as it is added or later. An account's lists and its gear belong to the account rather than a link, so these need the account behind the call, and there are two ways to give it. In Claude, add the URL as a connector and choose "Sign in when needed": the first call to an account tool shows a Connect card, you sign in to Mahonia with your passkey or a link, allow read-and-change, and the call goes through. That is OAuth 2.1 with Mahonia as its own authorization server (discovery under /.well-known, /authorize, /token, /revoke, /register; PKCE S256; Client ID Metadata Documents, so Claude registers nothing; hour-long access tokens with rotating refresh tokens; server/utils/oauth.ts and server/utils/oauthClients.ts carry the reasoning). A client configured from a file takes a token minted under Assistant access on /account instead, sent as Authorization: Bearer <token>. Either way only hashes are stored, the credential reaches the account's filed lists and its gear and nothing more, and it lasts until it is revoked on that page or by "Sign out everywhere". With read-and-change, create_list also files the list it makes under the account, as a signed-in browser files the lists it creates, and reports saved_to_account.

The gate is at the door, as Claude requires: a tools/call naming an account tool with no valid bearer answers 401 with a WWW-Authenticate header that points at the discovery document and asks for write (read-and-change), whichever account tool it was: Claude asks for exactly the scope a 401 names and doesn't step up on a 403, so a sign-in that asked only for read couldn't change anything until it was connected again. A read-only bearer (a read token from /account) on a tool that changes gear or a list answers 403 with insufficient_scope. edit_list called with an edit link and get_list called with a share code are not account tools; the same tools without one are. initialize, tools/list and the four list tools never ask for a credential on their own, so a connector added with no sign-in works exactly as before.

Add it to a client:

[Install in Cursor] [Install in VS Code]

  • Claude (claude.ai, Desktop, mobile): add Mahonia as a connector and choose "Sign in when needed". Lists and the catalog work at once; the first My Gear call asks you to sign in. Connectors added there are available in Claude Code too.
  • Claude Code: claude mcp add --transport http --scope user mahonia https://mahonia.app/mcp, then /mcp to sign in when a gear tool asks, or add --header "Authorization: Bearer <token>" to skip the sign-in with a token from /account (the page prints the line with your token in it).
  • Gemini CLI: gemini mcp add --transport http mahonia https://mahonia.app/mcp (-H "Authorization: Bearer <token>" for My Gear)
  • ChatGPT: Settings, Developer mode, add https://mahonia.app/mcp with "No Authentication".
  • Anything that reads an mcp.json: {"mcpServers":{"mahonia":{"url":"https://mahonia.app/mcp"}}}, plus "headers":{"Authorization":"Bearer <token>"} for My Gear.
  • A client that only speaks stdio: bridge with npx mcp-remote https://mahonia.app/mcp (--header "Authorization: Bearer <token>" for My Gear).

The server is listed in the official MCP registry as app.mahonia/mahonia; server.json is the listing, published with mcp-publisher under the domain's DNS proof. The registry never reads this repo, so a change to the listing reaches it only when it is published again (mcp-publisher login dns then mcp-publisher publish) once the change is on main; directories such as mcptry copy the registry, not the repo. Its version moves with MCP_SERVER_INFO in server/utils/mcp.ts, and a test holds the two in step.

Changelog

The changelog is GitHub Releases: one release per day that ships something, tagged by date (v2026.09.12), cut by a workflow from the entries below. When a change is user-facing, add a plain one-sentence entry as part of the same PR:

npm run changelog -- --added "Sort folders by weight."
npm run changelog -- --fixed "…" --changed "…"

Entries are grouped Added / Changed / Fixed and describe the observable change, not the implementation.

Each run writes its own file under content/changelog.d/, so entries from PRs open at the same time never collide — content/changelog.json is the settled archive, and npm run changelog:compact folds fragments into it now and then. Once a day is over (Pacific), .github/workflows/releases.yml turns it into a release; a late entry updates its day's notes.

A PR comment reminds any user-facing PR that's missing an entry — but nothing auto-fills it, so the entry is always hand-written (plain, curated prose). If a PR merges without one, that day's release just omits the change until it's backfilled. For non-user-facing work, prefix the PR title (refactor:, chore:, ci:, test:, docs:, build:) or label it skip-changelog — perf: and style: don't count, since both are things a visitor notices.

License

Code is MIT. The gear catalog data under seed/ is licensed separately — see seed/LICENSE.md.

Third-party notices for the libraries bundled into the client are in public/licenses.txt, served at /licenses.txt. The file exists because Mahonia bundles its dependencies instead of loading them from a CDN (a CDN <script> could read a list's edit token out of location.hash), which makes serving the site a redistribution of that code — and the minifier strips the banner comments those libraries ship their copyright in. Add an entry when a dependency's code starts reaching the browser; server-only packages aren't redistributed and aren't listed.

Source: README.md at commit f7e3295

Tools

6

get_list

Read a list

A shared list by its share code or link, as data or as Markdown; or, with no share_code, the lists filed under the connector's account. Data, the default: title, unit, dates, trail, totals in grams, and every folder with its rows (brand, name, variant, quantity, weight of one unit in grams, classification, note, calories, who carries it; a row with items is a group, and a nested row without…

Parametersformatshare_code

search_catalog

Search the gear catalog

Mahonia's cited gear catalog. With query: a fuzzy search by brand, product or kind of gear ("duplex", "zpacks", "quilt"), best first, each result a catalog row with its id, the cited weight in grams and whether it is verified. With product_id (a row id from a search), or brand and name: every variant of that one product (sizes, lengths, temperature ratings) with the weight and source of each. A…

Parametersnamebrandlimitqueryproduct_id

create_list

Make a new list

Creates a list and returns its edit link and share link; a repeat of the same call by an account with read-and-change access returns the list it already made instead (see again). Optionally with a title, unit, trip dates, a trail link and rows, grouped into folders; a row with items nested under it is a group (stakes under a tent, snacks under a day). Keep the edit link: it is the only way to…

Parametersunitagainitemstitlefoldersend_datetrail_urlstart_date+2 more

edit_list

Change a list

Changes a list that already exists, all of it in one call. list sets the list's own title, display unit, trip dates and trail (only the fields given; an empty string clears a date or the trail). folders renames, reorders, reclassifies or removes folders, named by id or current name; removing one removes its rows. add puts new rows on, into a folder by name (made when missing) or under a group by…

Parametersaddlistagainremoveupdatefoldersedit_linkshare_code

get_my_gear

Read My Gear

The gear the connector's account owns, most recently used first: for each piece its brand, name, variant, gear type, the kind the gear page files it under, grams for one, classification, calories, price and product link, each left out when the piece has none; unweighed marks a piece never weighed. A kit says what it holds (kit: its own weight and its items, each a piece by id, with a count) and a…

Parameterslimitqueryoffset

edit_my_gear

Change My Gear

Changes the connector's account's My Gear, in one call. add puts new pieces in; one the account already holds (same brand, name and variant) comes back as already_have and is left as it was. update changes pieces by the ids get_my_gear gives, only the fields sent, null clearing one. A piece that names a catalog_id, as it is added or later, is linked to that catalog row and takes its brand, name,…

Parametersaddremoveupdaterestore

Version history

2
  1. v2.2.0LatestNov 21, 2026
  2. v1.0.0Sep 16, 2026

Score

90% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

    Declare a license in the repository or the registry entry.

How this score is calculated