INKEEDecoder MCP Server
Search INKEEDecoder cosmetic product and ingredient data over MCP.
INKEEDecoder scores 66 (Good), licensed Apache-2.0 and written in TypeScript. It installs as a local process. It declares 8 tools. Filed under Uncategorized. GitHub shows 0 stars. Package registries report about 69 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
66 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: apache-2.0.
License, quality and maintenance
Quality: Grade A
90/100 for listing completeness. Lost points: short summary, no docs link.
How quality is graded
Where the 66 comes from
22 + 20 + 0 + 10 + 4 + 10 = 66. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "knorby-inkeedecoder-mcp": { "command": "npx", "args": [ "-y", "@knorby/inkeedecoder-mcp@0.2.2" ], "env": { "INKEEDECODER_BASE_URL": "", "INKEEDECODER_REQUEST_INTERVAL_MS": "", "INKEEDECODER_TIMEOUT_MS": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
INKEEDECODER_BASE_URL | Optional | Override the site base URL (for mirrors). |
INKEEDECODER_REQUEST_INTERVAL_MS | Optional | Minimum milliseconds between requests (floor applies to the live site). |
INKEEDECODER_TIMEOUT_MS | Optional | Per-request timeout in milliseconds. |
Tools8Tool docs quality grade C
All capabilitiesA brand and its catalogue.
An ingredient page: what it does, INKEEDecoder's rating, irritancy/comedogenicity, and optional CosIng data, long-form writeup, and references.
An ingredient function (for example emollient) and the ingredients filed under it.
The reverse of a product page: which products contain a given ingredient.
A product page: brand, description, ingredient list, hashtags, plus optional sections you opt into.
Connectivity and configuration check. Sends no request to the site.
Search products and ingredients by name. Returns both tabs, or one tab with tab for a single request per page.
Advanced product search: filter by ingredients a product must contain (include) or must not contain (exclude).
About
@knorby/inkeedecoder-mcp
An MCP (Model Context Protocol) server for INKEEDecoder — the community-run database of cosmetic products and ingredients, formerly known as INCIDecoder.
It wraps @knorby/inkeedecoder-client
and exposes it to MCP hosts: search for products and ingredients, read a
product's ingredient list, look up what an ingredient does and how it is rated,
and follow the links between them. Runs locally over stdio, needs no API key,
and is installable with npx.
Not affiliated with INKEEDecoder. This project reads publicly available pages the same way a browser does. Data is user-submitted and may be incomplete or out of date; it is not medical advice.
Tools
| Tool | What it does |
|---|---|
inkeedecoder_search | Search products and ingredients by name. Returns both tabs, or one tab with tab for a single request per page. |
inkeedecoder_search_products | Advanced product search: filter by ingredients a product must contain (include) or must not contain (exclude). |
inkeedecoder_get_product | A product page: brand, description, ingredient list, hashtags, plus optional sections you opt into. |
inkeedecoder_get_ingredient | An ingredient page: what it does, INKEEDecoder's rating, irritancy/comedogenicity, and optional CosIng data, long-form writeup, and references. |
inkeedecoder_get_ingredient_products | The reverse of a product page: which products contain a given ingredient. |
inkeedecoder_get_brand | A brand and its catalogue. |
inkeedecoder_get_ingredient_function | An ingredient function (for example emollient) and the ingredients filed under it. |
inkeedecoder_ping | Connectivity and configuration check. Sends no request to the site. |
Every tool is read-only and idempotent. Every list is paginated: a response
tells you whether another page exists, and you ask for it with page. Results
are bounded — when one has to be shortened, the text says so.
Verbose sections (long_descriptions, skim_table, tooltips, details,
proof) are off by default because a single product's ingredient writeups can
fill a context window on their own.
Installing
With an MCP host
{
"mcpServers": {
"inkeedecoder": {
"command": "npx",
"args": ["-y", "@knorby/inkeedecoder-mcp"]
}
}
}
From a local checkout, point at the built entrypoint instead:
{
"mcpServers": {
"inkeedecoder": {
"command": "node",
"args": ["/absolute/path/to/inkeedecoder-mcp/dist/index.js"]
}
}
}
Config file locations vary by host: claude_desktop_config.json,
.cursor/mcp.json, .vscode/mcp.json, or claude mcp add on the CLI. There
is no API key to configure — the server reads public pages.
One-click in Claude Desktop
Every release ships an MCPB bundle —
inkeedecoder-mcp-<version>.mcpb — attached to its
GitHub Releases page.
Download it and open it with Claude Desktop (macOS or Windows) to install
with a single click.
Configuration
Every variable is optional. The defaults read inkeedecoder.com politely.
| Variable | Default | Purpose |
|---|---|---|
INKEEDECODER_BASE_URL | https://inkeedecoder.com | Site to read. Point it at a mirror or a locally archived copy. |
INKEEDECODER_REQUEST_INTERVAL_MS | 1000 | Minimum spacing between requests, across tool calls. Values below the default apply only to mirrors — reads of inkeedecoder.com itself keep at least the default. |
INKEEDECODER_TIMEOUT_MS | 30000 | Abandon a request that takes longer than this. 0 disables the timeout. |
Pass them through the host's env block. The server never reads a .env file.
Links and identifiers
Every id argument accepts any of three shapes:
- a slug —
squalane,the-ordinary-retinol-1-in-squalane(the last segment of the page URL) - a site path —
/ingredients/squalane - a URL —
https://inkeedecoder.com/ingredients/squalane
URLs from incidecoder.com work too. INCIDecoder renamed itself to INKEEDecoder after a trademark dispute with PCPC, the body that owns the INCI nomenclature (see inkeedecoder.com/new-name); it is the same site and the same database, and the old URLs redirect. This server accepts both hosts, keeps only the path, and fetches it from the configured base URL — so a stale link pasted from an old chat transcript still resolves, and the old domain is never contacted.
Links from any other host are rejected with an explanation, and passing an ingredient link to the product tool (or the reverse) returns an error naming the tool you wanted rather than mis-parsing the page.
Etiquette
The site is a volunteer-run database that permits the paths this server reads
(see its robots.txt) and asks that automated traffic stay light.
- Requests are spaced by
INKEEDECODER_REQUEST_INTERVAL_MS— across separate tool calls, not just within one — and reads of inkeedecoder.com keep at least the default interval. Requests time out (INKEEDECODER_TIMEOUT_MS, 30 s by default) rather than piling up. - Summarize rather than republishing the site's prose, and cite page URLs.
- Expect gaps: entries are user-submitted.
Prerequisites
- Node.js 24+ (use nvm or
fnm; this repo includes an
.nvmrc). The server itself runs on Node 22+; the Inspector needs 22.19+. - npm (bundled with Node).
- pre-commit —
pipx install pre-commitorbrew install pre-commit. - gitleaks —
brew install gitleaks(secret scanner for pre-commit). - Go toolchain —
brew install go(required once for the TruffleHog hook build).
Getting started
git clone https://github.com/knorby/inkeedecoder-mcp.git
cd inkeedecoder-mcp
nvm use # or: fnm use
npm install
npx husky # set up hooks (prepare is blocked by .npmrc ignore-scripts)
pre-commit install # file hygiene + secret scanning
pre-commit run --all-files
The first pre-commit run installs hook environments and builds TruffleHog
from source (a few minutes). Later runs are cached and fast.
Development
| Command | What it does |
|---|---|
npm run build | Build the server (tsup bundle + tsc declarations) |
npm run dev | Run the server from source with tsx watch |
npm run inspect | Open the MCP Inspector web UI against the built server |
npm run inspect:cli | Call tools/list through the Inspector CLI |
npm run test:smoke | Inspector CLI smoke test against dist/ (used by CI) |
npm run lint | Lint + formatting check with Biome (read-only) |
npm run format | Format with Biome (writes changes) |
npm run check | Lint + format in one pass (writes changes) |
npm run typecheck | Type-check src/ + tests/ with tsc (no emit) |
npm test | Run tests once (Vitest) |
npm run test:watch | Run tests in watch mode |
npm run test:coverage | Run tests with coverage reporting |
npm run inspect is the fastest loop — it launches the server, lists its
tools, and lets you call them with arguments in a browser.
Project structure
src/
index.ts # stdio entrypoint (`bin`) — serveStdio(createServer)
server.ts # createServer(): registers tools, resources, prompts
config.ts # lazy Zod-parsed environment config
constants.ts # defaults, accepted link hosts, version from package.json
lib/
client.ts # builds and caches the inkeedecoder-client from config
ids.ts # slug/path/URL -> site path (host + type validation)
schemas.ts # output schemas mirroring the client's types
errors.ts # error -> actionable tool message
format.ts # markdown rendering + response bounding
log.ts # stderr-only logging
tools/ # one file per tool
resources/ # resource registrations
prompts/ # prompt registrations
tests/
helpers.ts # in-process test client (createMcpHandler + Client)
fixtures/ # real pages captured from the site (test inputs)
tools.test.ts # integration tests through a real client
config.test.ts # environment contract (defaults, floor)
stdio.test.ts # spawns dist/index.js and calls tools over stdio
inspector.config.json # MCP Inspector server config
dist/ # build output (gitignored)
.github/workflows/ # CI + release workflows
docs/decisions/ # architecture decision records (ADRs)
Writing tools
A tool is a name, a config, and an async handler:
server.registerTool(
"inkeedecoder_get_brand",
{
title: "Get a brand's products",
description: "Fetch a brand page and its catalogue, one page at a time. Read-only.",
inputSchema: z.object({
id: z.string().min(1).describe("Brand slug, /brands/ path, or URL."),
page: z.number().int().min(1).default(1).describe("1-based page number."),
}),
outputSchema: z.object({ name: z.string(), products: paginatedSchema(refSchema) }),
annotations: {
readOnlyHint: true,
destructiveHint: false,
idempotentHint: true,
openWorldHint: true,
},
},
async ({ id, page }, ctx) => {
const resolved = resolveEntityId(id, "brands");
if (!resolved.ok) {
return { content: [{ type: "text", text: resolved.error }], isError: true };
}
const client = getClient();
if (!client.ok) {
return { content: [{ type: "text", text: client.error }], isError: true };
}
try {
const brand = await client.client.getBrand(resolved.path, {
page,
signal: ctx.mcpReq.signal, // cancellation from the host
});
const bounded = boundStructured(brand);
return {
content: [{ type: "text", text: applyCharacterLimit(render(brand)) }],
structuredContent: bounded.value,
};
} catch (error) {
return {
content: [{ type: "text", text: toUserMessage(error, "Brand lookup") }],
isError: true,
};
}
},
);
Conventions this repo follows:
- Naming —
inkeedecoder_{action}in snake_case, so tools from several servers don't collide in one host. .describe()every field — the model reads these to decide what to pass. A test asserts this for every registered tool.- Inputs snake_case; outputs camelCase — output field names match
@knorby/inkeedecoder-clientexactly, sostructuredContentis a faithful view of the library's result with no translation layer to drift. - Annotations — set
readOnlyHint,destructiveHint,idempotentHint, andopenWorldHinton every tool. outputSchema+structuredContent— typed, parseable results alongside the text block.- Errors are results, not throws — return
content: [...], isError: truewith text that says what to do next. A thrown error becomes an opaque protocol error the model can't recover from. - Never write to stdout — it carries the JSON-RPC stream. Use
logInfo/logWarn/logErrorfromsrc/lib/log.ts(all stderr). - Bound your responses — paginate, and run both halves of a result through
applyCharacterLimit(text) andboundStructured(structured content); the text tells the model when fields were shortened. - Honor cancellation — pass
ctx.mcpReq.signalinto the client so a host cancelling a call stops the in-flight request.
Testing
Four layers, cheapest first:
-
In-process integration tests (
tests/tools.test.ts).createMcpHandlerexposes the server as a web-standardfetchhandler, so a realClientdrives it with no port and no protocol mocks.fetchis stubbed with real pages captured from the site (tests/fixtures/), so the client's parsers run against the markup the site actually serves:const harness = await createTestClient(); const result = await harness.client.callTool({ name: "inkeedecoder_get_ingredient", arguments: { id: "squalane" }, }); expect(result.structuredContent).toMatchObject({ ourTake: "goodie" });Assert on
structuredContent; failures resolve as results withisError: true. The same file covers link handling, response bounding, request spacing, timeouts, and cancellation. -
Configuration tests (
tests/config.test.ts). The environment contract: defaults, coercion, and the politeness floor for inkeedecoder.com. -
stdio spawn test (
tests/stdio.test.ts). Spawns the built binary viaStdioClientTransport— the only way to catch a missing shebang or a strayconsole.log. It skips itself whendist/is absent, so a bare checkout can still runnpm test. -
Inspector smoke test (
npm run test:smoke). Runsmcp-inspector --cli --config inspector.config.json --server local --method tools/listagainstdist/, in CI after the build.
Releases
Published to npm as @knorby/inkeedecoder-mcp from GitHub Actions with OIDC
trusted publishing — no npm tokens involved. A release is a version bump in a
PR (package.json + server.json + manifest.json, pinned equal by the test
suite); merging it publishes, tags, and attaches the .mcpb bundle to the
GitHub Release. See CONTRIBUTING.md for the details,
including the manual first publish.
Documentation
AGENTS.md— instructions and steering for AI coding agents.CONTRIBUTING.md— development workflow, commit conventions, publishing.docs/— design notes, architecture, and decision records.- MCP TypeScript SDK v2 docs — the authoritative reference for the server API.
License
Apache-2.0 © Kali Norby (@knorby)
Frequently asked questions
What is INKEEDecoder MCP Server?
Search INKEEDecoder cosmetic product and ingredient data over MCP.
How do I install INKEEDecoder MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. INKEEDecoder MCP Server runs locally from the npm package @knorby/inkeedecoder-mcp with the command npx -y @knorby/inkeedecoder-mcp@0.2.2.
Is INKEEDecoder MCP Server free and open source?
Yes. INKEEDecoder MCP Server is released under the Apache-2.0 license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does INKEEDecoder MCP Server support remote (HTTP) connections?
No remote endpoint is listed for INKEEDecoder MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does INKEEDecoder MCP Server provide?
INKEEDecoder MCP Server provides 8 tools, including inkeedecoder_get_brand, inkeedecoder_get_ingredient, inkeedecoder_get_ingredient_function, and inkeedecoder_get_ingredient_products. See the full tool list for descriptions and parameters.
How is INKEEDecoder MCP Server's trust score calculated?
INKEEDecoder MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.