passwerk
NPM · @PASSWERK/SERVER
Offline EU Battery Passport compiler: ingest documents, map, validate (IDTA 02035), emit AASX.
Available components
Last scanned (1 hour ago)
Scores higher than 94% of npm servers
Category Documents and Files
How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →
Supply Chain Security81
- No malware found by supply-chain analysis.Pass
- CVE check failed: a known high-severity CVE affects @modelcontextprotocol/sdk 1.30.0, a direct dependency. A fixed version is available. View diagnostics → Fail
- No install/post-install scripts declared.Pass
- 31 of 120 dependencies flagged as unhealthy. View diagnostics → Partial
Provenance & Transparency100
- Source repository is publicly reachable at the declared URL. View diagnostics → Pass
- Cryptographically verified build provenance (signed, bound to ShahriarBijoy/passwerk). View diagnostics → Pass
- Clear OSI-approved license (Apache-2.0).Pass
- Actively maintained (last published 33 days ago).Pass
- Publishes a security disclosure policy (SECURITY.md).Pass
Schema Quality & AI Usability88
- 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).Pass
- AI-judged instruction clarity (excellent).Pass
- Tool/resource definitions use about 2810 tokens (~87/item across 32 items; 12 tools + 20 resources), lean.Pass
- Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management100
- No destabilizing schema changes in the last 30 days.Pass
Tool Coverage100
- 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
- 100% of tool parameters carry a description.Pass
- Structured output schemas are declared (100% of tools); any adoption earns full credit.Pass
Tool Safety100
- No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
- We read all 12 captured tool definition(s), and no name or description among them implies an irreversible operation.Pass
- An AI judge read all 13 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
- Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
- Supports UI / widget rendering.Pass
Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.
- 17 Oct 26 +2
- Stability: 0.83 → pass security
- 16 Oct 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 80 to 83. That category is still filling its 30-day observation window: 24 days of observed history at the previous scan, 25 at this one. The score rises as the window fills, whether or not the server changes.
- 14 Oct 26 −3
- Stability: pass → 0.77 functional
- 13 Oct 26 0
- Stability: 0.97 → pass security
- 12 Oct 26 +1
- Security disclosure: unverified → pass ▲ functional
- 11 Oct 26 +2
- Security disclosure: pass → unverified ▼ functional
- 7 Oct 26 −4
- CVE-2026-104850 affects this package: high ▼ security
- Known CVEs: pass → fail ▼ security
- 3 Oct 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 63 to 67. That category is still filling its 30-day observation window: 19 days of observed history at the previous scan, 20 at this one. The score rises as the window fills, whether or not the server changes.
Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.
Captured 17 Oct 2026 · Analysed npm/@passwerk/server@0.1.1
Provenance Verified
A signed build attestation was found and verified, binding this exact artifact to the source repository it claims to come from.
| Result | Verified |
|---|---|
| Ecosystem | npm |
| Reason | Verified |
| Discovered via | Registry attestation endpoint |
| Source repo | ShahriarBijoy/passwerk |
| Certificate issuer | https://token.actions.githubusercontent.com |
| Certificate SAN | https://github.com/ShahriarBijoy/passwerk/.github/workflows/release.yml@refs/tags/v0.1.1 |
| Rekor log index | 2821581001 |
| Predicate type | SLSA build provenance https://slsa.dev/provenance/v1 |
| Subject digest | sha512:a262064df265b8025eacb451ffd8625654414df0c18cbe18640d77f2401e1932e5d65513ce1b7d1a18a017010fc2e272af8f03496268a9115c2184d7b |
Background: How many MCP packages publish verified provenance →
Vulnerabilities 1 finding
| ID | CVE | Severity | Vector | Fix available |
|---|---|---|---|---|
| GHSA-6qxp-vccf-f47h | CVE-2026-104850 | high | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | yes |
Background: What a vulnerability scan can and cannot prove →
Dependencies 120 packages
| Packages resolved | 120 |
|---|---|
| Stale | 31 |
| Tree resolution | Complete |
Background: SBOMs and build attestations, explained →
The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →
apply_mappings Apply mapping decisions ~141
Folds accepted mapping decisions (or manual values) into a PassportDraft. Idempotent: the same decision twice is a no-op; a different value for an attribute that already has one is reported as a conflict and not applied unless override is true. Pass meta instead of draft to start a new draft.
| Name | Type | Req | Description |
|---|---|---|---|
| draft | – | – | The draft to extend. Omit and pass meta to start a new one |
| lang | string | – | Language of the text summary (default en) |
| mappings | array | yes | Accepted proposals from suggest_mappings, or manual values |
| meta | object | – | Starts a new draft. Exactly one of draft or meta |
| Name | Type | Req | Description |
|---|---|---|---|
| applied | number | – | – |
| conflicts | array | – | – |
| draft | object | – | – |
| draftId | string | – | – |
| error | string | – | Set when the call failed |
No examples provided.
check_obligations Check battery passport obligations ~198
Whether a battery passport is required for a battery type, role, energy and market date under Regulation (EU) 2023/1542 Article 77(1); returns the category, the mandatory, conditional and deferred attribute sets and the legal timeline. Answers required, not_required or insufficient_input. Not legal advice.
| Name | Type | Req | Description |
|---|---|---|---|
| asOf | string | – | ISO date treated as "now"; default: the server clock |
| batteryType | string | yes | Battery type as placed on the market |
| energyKwh | string | – | Battery energy in kWh as a decimal string, e.g. "2.5". Decides the industrial 2 kWh threshold |
| lang | string | – | Language of the text summary (default en) |
| placedOnMarketDate | string | – | ISO date the battery is or was placed on the market or put into service |
| role | string | yes | Economic operator role of the asker |
| Name | Type | Req | Description |
|---|---|---|---|
| asOf | string | – | – |
| category | string|null | – | – |
| conditionalAttributes | array | – | – |
| error | string | – | Set when the call failed |
| isNotLegalAdvice | boolean | – | – |
| mandatoryAttributes | array | – | – |
| missingInput | array | – | – |
| reason | object | – | – |
| sources | array | – | – |
| verdict | string | – | – |
No examples provided.
emit_passport Emit the passport files ~244
Emits a PassportDraft as AAS JSON (IDTA 02035 submodels), an AASX package, the draft JSON and/or the HTML sheet, and re-validates the emitted output. Fail-honest: files are returned even when the verdict is invalid, and the verdict is never better than validate_passport’s. Bytes come back base64 inline unless outDir is given.
| Name | Type | Req | Description |
|---|---|---|---|
| asOf | string | – | ISO date-time treated as "now" by the re-validation |
| draft | – | yes | A PassportDraft object, or { draftId } as returned by an earlier call |
| htmlLang | string | – | Language the html sheet opens in (both are in the file; default en) |
| lang | string | – | Language of the text summary (default en) |
| outDir | string | – | Directory to write into (needs a file system). Omit to receive base64 bytes inline |
| targets | array | yes | aas-json: AAS v3 JSON environment (IDTA 02035); aasx: AASX package; draft-json: the neutral PassportDraft; html: self-contained HTML passport sheet (DE and EN inside) |
| Name | Type | Req | Description |
|---|---|---|---|
| draftId | string | – | – |
| error | string | – | Set when the call failed |
| files | array | – | – |
| findings | array | – | – |
| verdict | string | – | – |
No examples provided.
explain_attribute Explain an attribute or rule ~126
Everything the knowledge base holds about one passport attribute (official DIN definition, DE/EN explanation, synonyms, who typically has the data, unit, range, applicability per category, legal references, IDTA template elements) or one plausibility rule (message, fix hint, legal reference). Nothing is composed; unknown ids are an error.
| Name | Type | Req | Description |
|---|---|---|---|
| id | string | yes | A knowledge-base attribute id (e.g. "batteryChemistry") or a rule id (e.g. "PW-PLAUS-001") |
| lang | string | – | Language of the text summary (default en) |
| Name | Type | Req | Description |
|---|---|---|---|
| error | string | – | Set when the call failed |
| id | string | – | – |
| isNotLegalAdvice | boolean | – | – |
| kind | string | – | – |
| legalRef | string|null | – | – |
| legalRefs | array | – | – |
No examples provided.
extract_facts Extract facts ~98
Turns a DocumentBundle into a FactSet: labelled values with normalised numbers, units and dates, each with file, page, line or cell provenance. Pure heuristics, no model. Returns the FactSet and a factSetId to pass to suggest_mappings.
| Name | Type | Req | Description |
|---|---|---|---|
| bundle | – | yes | A DocumentBundle object, or { bundleId } as returned by ingest_documents |
| lang | string | – | Language of the text summary (default en) |
| Name | Type | Req | Description |
|---|---|---|---|
| bundleId | string | – | – |
| error | string | – | Set when the call failed |
| factSetId | string | – | – |
| facts | object | – | – |
No examples provided.
gap_report Gap report ~270
The to-do list for a PassportDraft: every attribute bucketed as required, conditional, deferred or optional with status, legal references, who typically has the data and a suggested action; completeness for mandatory and overall data points, grouped by submodel and by data owner. Runs validate_passport first so invalid values count as gaps. Ask for detail "full" and a status/bucket filter to see every open attribute with its legal reference and next action, unabridged, for use without the structured content. Not legal advice.
| Name | Type | Req | Description |
|---|---|---|---|
| asOf | string | – | ISO date-time treated as "now" for applicability; default: draft.meta.createdAt |
| bucket | array | – | Keep only items in one of these buckets; completeness stays unfiltered |
| detail | string | – | summary (default): open mandatory items, capped at 10. full: every item after the status/bucket filters, grouped by data owner, one line each with status, bucket, legal refs and the suggested next ac… |
| draft | – | yes | A PassportDraft object, or { draftId } as returned by an earlier call |
| lang | string | – | Language of the text summary (default en) |
| status | array | – | Keep only items with one of these statuses; completeness stays unfiltered |
| Name | Type | Req | Description |
|---|---|---|---|
| byDataOwner | array | – | – |
| bySubmodel | array | – | – |
| category | string | – | – |
| completeness | object | – | – |
| draftId | string | – | – |
| error | string | – | Set when the call failed |
| filter | object | – | – |
| isNotLegalAdvice | boolean | – | – |
| items | array | – | – |
| sources | array | – | – |
No examples provided.
generate_carrier Generate the data carrier (QR code) ~238
Builds the data carrier for a passport: the unique identifier (the draft’s passportId, an absolute https URI), an optional GS1 Digital Link (/01/{gtin}/21/{serial} or /8004/{giai}) and the QR code as SVG or PNG. The QR encodes the Digital Link when GS1 data is given, else the identifier. Says nothing about validity; validate_passport does.
| Name | Type | Req | Description |
|---|---|---|---|
| draft | – | – | The draft whose meta.passportId is the identifier |
| format | string | – | Image format (default svg) |
| gs1 | – | – | GS1 key: GTIN (8, 12, 13 or 14 digits) plus serial, or a GIAI |
| lang | string | – | Language of the text summary (default en) |
| outDir | string | – | Directory to write the image into (needs a file system). Omit to receive base64 bytes inline |
| resolverBase | string | – | https base of the GS1 Digital Link resolver; required with gs1 |
| uid | string | – | The passport identifier (absolute https URI) when no draft is given |
| Name | Type | Req | Description |
|---|---|---|---|
| digitalLink | string | – | – |
| draftId | string | – | – |
| error | string | – | Set when the call failed |
| format | string | – | – |
| image | object | – | – |
| isNotLegalAdvice | boolean | – | – |
| mediaType | string | – | – |
| payload | string | – | – |
| sources | array | – | – |
| uid | string | – | – |
No examples provided.
ingest_documents Ingest supplier documents ~203
Reads PDF, XLSX, CSV, DOCX and TXT documents into a DocumentBundle with page, line, table and cell provenance, deterministically and without OCR or a model. Returns a per-document summary and a bundleId to pass to extract_facts; ask for detail "full" to see the pages. Unsupported or unreadable files are reported, not dropped.
| Name | Type | Req | Description |
|---|---|---|---|
| detail | string | – | summary (default): per-document counts and the bundleId; full: the whole DocumentBundle |
| inline | array | – | Document bytes as base64, for hosts that cannot pass paths |
| lang | string | – | Language of the text summary (default en) |
| limits | object | – | Partial IngestLimits override (maxInputBytes, maxCells, ...) |
| paths | array | – | Files or directories on the server’s file system (a directory contributes its PDF, XLSX, CSV, DOCX and TXT files, non-recursive). Preferred for local installs |
| Name | Type | Req | Description |
|---|---|---|---|
| bundle | object | – | – |
| bundleId | string | – | – |
| documents | array | – | – |
| error | string | – | Set when the call failed |
| errors | array | – | – |
No examples provided.
list_capabilities List capabilities ~74
Versions of the bundled IDTA 02035 templates and AAS schemas, knowledge-base statistics, when the artefacts were retrieved, the sovereignty statement, and this server’s tools and session-store usage. Call first to learn what this server can do.
| Name | Type | Req | Description |
|---|---|---|---|
| lang | string | – | Language of the text summary (default en) |
| Name | Type | Req | Description |
|---|---|---|---|
| aasSchemaVersions | array | – | – |
| error | string | – | Set when the call failed |
| knowledgeBase | object | – | – |
| package | string | – | – |
| server | object | – | – |
| sovereignty | string | – | – |
| templates | array | – | – |
No examples provided.
review_passport Review a passport in the workbench ~146
Opens the interactive passwerk workbench in hosts that render MCP Apps (Claude Desktop, Claude web): upload documents, accept or edit mapping proposals, read the gap report and export, all on the user’s machine. Pass the current draft so the user reviews it visually; the workbench keeps the draft id in sync so gap_report and emit_passport can continue on it. Hosts without a UI receive the same draft, validation report and gap report as text.
| Name | Type | Req | Description |
|---|---|---|---|
| draft | – | – | The draft to review; omit to open an empty workbench |
| facts | – | – | Extracted facts to review alongside the draft |
| lang | string | – | Language of the text summary (default en) |
| Name | Type | Req | Description |
|---|---|---|---|
| draft | object | – | – |
| draftId | string | – | – |
| error | string | – | Set when the call failed |
| factSetId | string | – | – |
| facts | object | – | – |
| gap | object | – | – |
| report | object | – | – |
No examples provided.
suggest_mappings Suggest attribute mappings ~268
Scores every fact against the knowledge-base synonym index (DE/EN), unit and type checks and the attribute range, and returns candidate mappings sorted by confidence with a DE/EN explanation and provenance. Review proposals under 0.7 with the user or the source page, then pass the accepted ones to apply_mappings. Ask for detail "full", or pass attributeIds, to see every candidate with its file, page and cell in the text.
| Name | Type | Req | Description |
|---|---|---|---|
| attributeIds | array | – | Keep only proposals for these attribute ids; unknown ids are reported, not an error. When given, the text lists every match, not just the first 10, with provenance, even in summary mode |
| category | string | yes | Passport category; decides applicability |
| detail | string | – | summary (default): header line plus the first 10 proposals, no provenance. full: every proposal after the filters, one line each, with provenance (file, page, cell); no cap |
| facts | – | yes | A FactSet object, or { factSetId } as returned by extract_facts |
| lang | string | – | Language of the text summary (default en) |
| minConfidence | number | – | Drop proposals below this confidence (default 0). 0.7 is the review threshold |
| Name | Type | Req | Description |
|---|---|---|---|
| category | string | – | – |
| counts | object | – | – |
| error | string | – | Set when the call failed |
| factSetId | string | – | – |
| proposals | array | – | – |
No examples provided.
validate_passport Validate a passport draft ~177
Runs all four validation layers on a PassportDraft: L1 schema, L2 AAS meta-model (aas-core), L3 IDTA 02035 template conformance, L4 domain plausibility. Returns the verdict (valid, valid_with_warnings, invalid) and every finding with layer, rule id, path, DE/EN message, legal reference and fix hint. The only source of a validity claim.
| Name | Type | Req | Description |
|---|---|---|---|
| asOf | string | – | ISO date-time treated as "now" by the plausibility layer; default: draft.meta.createdAt |
| draft | – | yes | A PassportDraft object, or { draftId } as returned by an earlier call |
| lang | string | – | Language of the text summary (default en) |
| skipPlausibility | boolean | – | Skip L4 (domain plausibility). Default false |
| Name | Type | Req | Description |
|---|---|---|---|
| draftId | string | – | – |
| error | string | – | Set when the call failed |
| findings | array | – | – |
| layers | object | – | – |
| verdict | string | – | – |
No examples provided.
How do I install the passwerk MCP server?
passwerk runs locally as an npm package, launched with npx -y @passwerk/server. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.
npm · @passwerk/server
claude mcp add shahriarbijoy-passwerk -- npx -y @passwerk/server
What is the passwerk MCP server?
passwerk is an MCP server listed in the public MCP registry as io.github.ShahriarBijoy/passwerk. Offline EU Battery Passport compiler: ingest documents, map, validate (IDTA 02035), emit AASX. This page covers its npm package (@passwerk/server).
Is the passwerk MCP server safe to use?
passwerk scores 92 out of 100 on VerifyMCP. We recorded 1 known advisory against it as of 17 October 2026. It declares no install or post-install scripts. Its build provenance is signed and verified. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.
What tools does the passwerk MCP server expose?
passwerk exposes 12 tools: ingest_documents, extract_facts, suggest_mappings, apply_mappings, validate_passport, and 7 more. Their descriptions and schemas cost roughly 2,183 tokens of context every time the server is loaded.
Is the passwerk MCP server still maintained?
passwerk is still listed as active in the MCP registry. We last reached this channel on 17 October 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.
What licence is the passwerk MCP server under?
passwerk declares the Apache-2.0 licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.