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:
- the tool name and how long the call took;
- whether the call failed (a yes or no flag);
- the names of the argument fields, for example
lineorlinesandservings, never their values; - the server name and version, the MCP client's name and version, and the protocol version;
- the tool's fixed description text;
- identifiers made up by the library and carried back by the calling agent as a tool argument: a conversation id and a session id derived from it. They are not derived from your name or from what you typed;
- the library name and version, and a flag asking PostHog not to look up location from the IP address.
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:
- a page view: the page address, the address of the page that linked to it, the page title, your browser name and version, operating system, device type, language, time zone and screen size, plus the standard fields PostHog's library adds, such as its version and the time. The page address may include a query string and a hash;
- a copy of the install line on the home page: only the fact that it happened, never the text;
- a click on a link to npm, the MCP registry, Apify or USDA, recorded as the destination host name only, for example
www.npmjs.com; - a view of this privacy page.
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.