Pantry Grams

Privacy

The package

The Pantry Grams package runs on your computer. It makes no network calls for lookups: the USDA data is inside the package.

By default it sends nothing. On start it prints one analytics line to stderr (Node may add its own warning about its built-in SQLite being experimental): ingredient-mcp: analytics off (POSTHOG_PROJECT_TOKEN not set).

Usage counts: off unless you turn them on

If you set POSTHOG_PROJECT_TOKEN in the environment (or in an untracked .env file next to package.json), the server sends usage events to PostHog (US cloud) through @posthog/mcp. Each event for a tool call, and one event when a client connects (server and client names and versions and the protocol version, no tool name), holds:

It never sends your ingredient lines, the answers, the argument values or error text. The server removes those fields before sending, and npm run journey:analytics checks this against a local stand-in for the PostHog host.

If you turn usage counts on, each request is sent from your computer to PostHog's servers, so PostHog's own systems see the network address of that request. The package cannot hide that.

This website

The site is two static pages. They set no cookies and store nothing in your browser. They have no forms, no session recordings, no capture of keystrokes or typed text, and no person profiles.

The site counts page views with Cloudflare Web Analytics. Cloudflare, which also serves this site, adds a small script to each page, loaded from static.cloudflareinsights.com. It reports that a page was viewed, and it sets no cookies and stores nothing in your browser. Cloudflare processes this for us. This counter is separate from the optional counting described next.

The site's own optional counting (PostHog) is off unless the site operator switches it on. While it is off, the site's own files make no request to any address except the one they were served from; the only other address contacted is the Cloudflare script above.

When counting is on, the page loads PostHog's counting library from us-assets.i.posthog.com and sends events to us.i.posthog.com. PostHog (US cloud) processes them for us. Apart from the Cloudflare script above, no other address is contacted. If your browser sends the Do Not Track signal, no events are sent (the library file itself is still fetched when counting is on).

When counting is on, this is everything that is counted, and nothing else:

When counting is on, each event carries random identifiers made in your browser. They are kept in memory only and are gone when you close or reload the page.

Before counting is ever switched on, the analytics project is set to discard visitor IP addresses (a setting in the PostHog dashboard that this page cannot show). When counting is on, the request itself still reaches PostHog's servers.

This describes the page files only; it says nothing about the server that hosts them.

Hosted version on Apify

Coming soon. It will run this package, and Apify's own terms govern the Apify platform. Any counting for the hosted version will be described here before it opens.

Contact

[email protected]