Server data from the Official MCP Registry
EU AI Act Art. 50 URL & C2PA checks, Art. 12/14 snippets, HMAC receipts, DPO questionnaire answers.
About
EU AI Act Art. 50 URL & C2PA checks, Art. 12/14 snippets, HMAC receipts, DPO questionnaire answers.
Remote endpoints: streamable-http: https://console.spurvik.com/api/mcp
Security Report
Valid MCP server (2 strong, 1 medium validity signals). 5 known CVEs in dependencies (1 critical, 2 high severity) ⚠️ Package registry links to a different repository than scanned source. Imported from the Official MCP Registry. 1 finding(s) downgraded by scanner intelligence.
10 tools verified · Open access · 7 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Required
This plugin requests these system permissions. Most are normal for its category.
What You'll Need
Set these up before or after installing:
Environment variable: SPURVIK_MCP_ROOT
Environment variable: SPURVIK_API_KEY
Environment variable: SPURVIK_HMAC_SECRET
How to Install & Connect
Available as Local & Remote
This plugin can run on your machine or connect to a hosted endpoint. during install.
Documentation
View on GitHubFrom the project's GitHub README.
Spurvik
Spurvik is a developer control plane that supports your EU AI Act work: hash-chained record-keeping, human-oversight hooks, and transparency notices. It is infrastructure. It is not a conformity assessment, a certification, or legal advice.
Regulation (EU) 2024/1689 is the legal instrument. Dates below follow the AI Omnibus timeline and the Commission’s Code of Practice on Transparency of AI-generated Content. Have counsel confirm how they apply to a specific system.
Zero-Install CLI (npx spurvik)
No install, no API key, no account. Node.js 20+. The CLI ships in spurvik@1.0.18.
npx spurvik setup # auto-detect stack (Next/Nuxt/SvelteKit/Astro/Mistral/FastAPI/Laravel/Symfony/Shopify/WP)
npx spurvik scan folk.app # live Art. 50(1) notice + AI chat-widget check (or pass 2–10 domains for an agency matrix)
npx spurvik report folk.app # shareable Markdown / JSON DPO & client readiness brief (aliases: brief, dpo)
npx spurvik trust folk.app # offline /trust & /security Markdown + SVG card + Cookiebot/Usercentrics badge.js (0 network)
npx spurvik c2pa <image-url> # C2PA JUMBF manifest & CDN-strip check of a public https image (Art. 50(2))
npx spurvik audit . # find unwrapped OpenAI / Anthropic / Gemini / Vercel AI SDK calls
npx spurvik badge yourdomain.com # localized badge.js tag + <AIDisclosureLabel /> snippet (--lang <24 EU locales>)
npx spurvik gate yourdomain.com # offline 6-vector EU AI Act Art. 14 fail-closed blocking self-test (spurvik/channels)
npx spurvik rfp yourdomain.com # EU AI Act vendor security questionnaire & DPO RFP answers (Q1–Q5)
npx spurvik annex-iv yourdomain.com --plan team # 9-section EU AI Act Annex IV technical documentation file (Art. 11)
| Command | What you get | Network |
|---|---|---|
scan <domain-or-url>... | Detected AI chat widgets, whether a visible Art. 50(1) notice was found, a badge.js fix (using <html lang> or the TLD) when it was not, and a client / DPO brief at console.spurvik.com/report?domain=…. Pass 2–10 public domains to run a concurrent agency portfolio scan (console.spurvik.com/portfolio?domains=…). | Sends only the URL(s) to console.spurvik.com. |
report <domain> | Shareable Markdown (or --json) DPO & client readiness brief for one public domain (brief and dpo aliases, --lang <locale>), combining live Art. 50(1) widget detection, 2 December 2026 C2PA status, CMS/GTM/Shopify/WordPress/SDK drop-in fixes, and Annex IV technical-file links (GET /api/v1/report/markdown, with deterministic offline fallback). | Sends only the domain to console.spurvik.com. |
trust [domain] | Customer-facing /trust & /security Markdown (TRUST_CENTER_AI_ACT.md, trust-center alias, --lang <locale>, --json) with Art. 50(1) + Art. 50(2) C2PA SVG shields, card.svg embed, Shadow DOM trust-widget.js, Cookiebot/Usercentrics consent-exempt badge.js, and /.well-known/ai-act.json. | None. |
c2pa <image-url> | Whether a public https:// PNG, JPEG or WebP (up to 4 MB) carries a C2PA (Content Credentials) manifest, whether its signature still matches, the trust-list result and the claim generator, a CDN-strip warning when the URL goes through /_next/image, Cloudinary, imgix, Cloudflare /cdn-cgi/image/, Shopify CDN, WordPress Jetpack Photon or Webflow Image CDN, a visible notice="generated" snippet, and links to console.spurvik.com/c2pa, Pro (€19/mo) and Done-For-You (€199 once). Live test vectors: https://spurvik.com/media/c2pa-signed-sample.png (signed JUMBF) and https://spurvik.com/media/art50-prism-loop.webp (unmarked). A C2PA JUMBF manifest & CDN-strip checker: it reads, it never signs. | Sends only the image URL to console.spurvik.com. Non-https, non-443, credentialed, localhost, .local/.internal and private-IP URLs are refused first. |
audit [dir] | Every file and line with an OpenAI, Anthropic, Gemini or Vercel AI SDK call not wrapped by withSpurvik() / spurvikMiddleware(), plus the one-line wrap. Skips node_modules, .git, dist and build output. | None. Runs locally. |
badge [domain] | The badge.js <script> tag and the <AIDisclosureLabel /> React snippet for that domain. Language follows the domain (.dk → da, .de/.at → de, else en); override with --lang <locale> across all 24 official EU languages. | None. |
gate [domain] | Offline 6-vector cryptographic Art. 14 fail-closed blocking self-test (unapproved_default_halt, explicit_human_block, tampered_payload_hmac, decision_flip_forgery, expired_link_replay, authentic_signed_approval via spurvik/channels with an ephemeral in-memory key), copy-paste TypeScript callback check, and 8-language Art. 14 cockpit links (block-test alias, --json). | None. |
rfp [domain] | Copy-paste answers to the five EU AI Act questions in enterprise vendor security questionnaires and DPO RFPs (Art. 50, Art. 12, GDPR minimisation and Frankfurt residency, Art. 14, retention and DPO evidence), a plan table, and Next steps links. --plan free|pro|team|concierge (default pro), --provider openai|anthropic|google-genai|vercel-ai-sdk|langgraph|openai-agents|mastra|custom (default openai), --generates-media, --no-high-risk-actions, --json. Same text as spurvik.com/eu-ai-act-vendor-security-questionnaire. | None. A domain that is not a public hostname is ignored and not printed. |
For CI, scan and audit take --json and --fail-on-gap (exit code 1 on a gap, 2 on an error). c2pa takes --json and --fail-on-missing, which exits 2 when manifestFound or signatureMatches is false, so a pipeline can stop an image that lost its C2PA manifest before the Art. 50(2) marking duty applies on 2 December 2026:
npx spurvik@1.0.18 c2pa https://yourdomain.com/hero.png --fail-on-missing
2-Line GitHub Actions PR Gate (uses: spurvik/spurvik@v1)
Block unwrapped OpenAI, Anthropic, Gemini, LangChain, and Vercel AI SDK calls on every pull request, verify 6 Art. 14 cryptographic approval-gate vectors offline, optionally check live Art. 50(1) notices & 2 December 2026 C2PA bytes, and publish a clickable Art. 50 + C2PA status shield card to $GITHUB_STEP_SUMMARY:
- uses: actions/checkout@v4
- uses: spurvik/spurvik@v1
with:
domain: yourdomain.com
c2pa-url: https://yourdomain.com/hero.webp
Or copy the standalone workflow template at spurvik.com/r/github-action-spurvik-check.yml, or install local pre-commit hooks (0 network calls, file:line only) from spurvik.com/r/pre-commit-config.yaml:
# .pre-commit-config.yaml
repos:
- repo: https://github.com/spurvik/spurvik
rev: v1
hooks:
- id: spurvik-audit
- id: spurvik-gate-test
Containerized Stdio MCP (Dockerfile), Polyglot Backend Guards & OpenWebUI Tools
Run spurvik-mcp-server@1.0.15 inside an isolated non-root Alpine container (USER node), or drop a zero-dependency single-file guard into Python, PHP/Laravel, .NET 8+ / C#, Go 1.21+, Ruby 3.1+ / Rails, or self-hosted OpenWebUI:
# Containerized MCP server (mounts repository read-only at /workspace):
docker build -t spurvik-mcp https://github.com/spurvik/spurvik.git
docker run -i --rm -v "$PWD:/workspace:ro" spurvik-mcp --root /workspace
# Zero-dependency backend guards (keyed HMAC-SHA256 + constant-time Art. 14 callback check):
curl -fsSLO https://spurvik.com/r/spurvik_guard.py # Python 3.10+ / FastAPI / LangChain / PydanticAI
curl -fsSLO https://spurvik.com/r/spurvik_guard.php # PHP 8.1+ / Laravel / Symfony / Shopware 6
curl -fsSLO https://spurvik.com/r/SpurvikGuard.cs # .NET 8+ / C# / ASP.NET Core / Blazor
curl -fsSLO https://spurvik.com/r/spurvik_guard.go # Go 1.21+ / Gin / Echo / Fiber
curl -fsSLO https://spurvik.com/r/spurvik_guard.rb # Ruby 3.1+ / Rails 7 & 8 / Shopify Apps
curl -fsSLO https://spurvik.com/r/openwebui-spurvik-tools.py # Self-hosted OpenWebUI Workspace Tools (6 tools)
curl -fsSLO https://spurvik.com/r/dify-spurvik-tools.yaml # Self-hosted Dify / Langflow OpenAPI 3.0.3 Tools (8 ops)
curl -fsSLO https://spurvik.com/r/spurvik-postman-collection.json # Postman v2.1 / Bruno / Insomnia API Collection (10 requests)
Add the Live Art. 50 Status Shield to Your README
Swap in your domain. The shield shows the live Art. 50(1) notice status and links to the public report:
[](https://console.spurvik.com/report?domain=yourdomain.com)
[](https://console.spurvik.com/c2pa?domain=yourdomain.com)
[](https://console.spurvik.com/report?domain=yourdomain.com)
For SaaS /trust, /security, WordPress, Webflow, Shopify, Wix, or Squarespace pages, drop in the zero-cookie Shadow DOM interactive Trust-Center widget (data-attribution="false" removes the Spurvik link on Pro €19/mo or Done-For-You €199 once; customize live & generate your /.well-known/ai-act.json manifest at spurvik.com/well-known-ai-act-json-trust-center):
<script src="https://spurvik.com/trust-widget.js" data-domain="yourdomain.com" defer></script>
Or install both typed React components (<Article50Badge /> + <AIActTrustCard />) via the @spurvik shadcn & v0.dev Registry (registry.json):
npx shadcn@latest add https://spurvik.com/r/article-50-badge.json https://spurvik.com/r/ai-act-trust-card.json
Live Sandbox, Hosted EU Console & Starter Templates
Not a developer? Vibe-coding in Lovable, Bolt, Replit or WordPress? Get the Done-For-You 24h AI Act Setup (€199 once, includes 1 full year of Pro, €190 value): we install your 24-language Art. 50 notice, server call logging and a human approval gate within 24 hours. Self-serve checkout: console.spurvik.com/signup?plan=concierge.
| Surface | URL | Notes |
|---|---|---|
| Interactive Sandbox & Local Code Check | console.spurvik.com/sandbox | Zero login, zero cookies — preview <AIDisclosureLabel /> (24 EU languages), inspect HMAC receipts, and run an offline in-browser stack & snippet check. |
| 24-Language Article 50 Label Studio | console.spurvik.com/labels | Live interactive preview across all 5 Article 50 scenarios, 24 official EU languages, and optional EU AI icons — 1-click export of spurvik/react JSX or badge.js <script>. |
Hosted EU Console (Frankfurt fra1) | console.spurvik.com/signup | Open self-serve signup: Free €0/mo (10k events/mo, 30d retention) · Pro €19/mo or €190/yr (250k events/mo, 90d retention, hosted human review queue, DPO .md summary, white-label badge.js) · Team €79/mo or €790/yr (2M events/mo, 12mo retention, webhook export, Annex IV technical documentation draft) · Done-For-You 24h AI Act Setup €199 once, incl. 1 year Pro (checkout) (excl. VAT · B2B only). |
| Free EU AI Act Risk Check & Art. 50(2) C2PA Checker | console.spurvik.com/risk-check · console.spurvik.com/c2pa | No login. Self-assess your AI Act risk tier from a few answers, and check whether an image carries C2PA provenance. Not legal advice. |
Agent Skill (skills.sh) & Official MCP Registry (10 zero-key tools — stdio & hosted) | npx skills add spurvik/skills · io.github.spurvik/spurvik-mcp-server → npx -y spurvik-mcp-server@1.0.15 --root . · com.spurvik/eu-ai-act → https://console.spurvik.com/api/mcp | No API key. Both the local stdio server spurvik-mcp-server@1.0.15 and the remote Streamable HTTP endpoint (https://console.spurvik.com/api/mcp) expose all 10 zero-key tools: spurvik_scan_live_url, spurvik_batch_scan_domains (up to 10 client domains in one call, with gap counts and a README status shield per domain), spurvik_check_image_c2pa_url (C2PA JUMBF manifest & CDN-strip checker for one public https image), spurvik_classify_ai_act_risk, spurvik_generate_art50_badge, spurvik_vendor_questionnaire_answers (answers to the 5 EU AI Act vendor security questionnaire / DPO RFP questions), plus 4 SDK/audit tools (spurvik_setup_snippet, spurvik_find_unwrapped_calls, spurvik_explain_receipt, spurvik_marking_hooks). Skill source: spurvik/skills. |
| OpenAPI 3.1 Actions & A2A Agent Card | console.spurvik.com/openapi.json · api/v1/portfolio/scan · api/v1/report/markdown · api/v1/c2pa/check · api/v1/badge/card.svg · api/v1/badge/ai-act.json · api/v1/annex-iv/preview · api/v1/c2pa/status.svg · api/v1/gate/self-test · api/v1/rfp/answers · api/v1/risk/classify · api/v1/badge/snippet · api/v1/setup/snippet · POST /api/v1/audit/unwrapped · POST /api/v1/receipt/verify · .well-known/agent.json | 1-paste OpenAPI 3.1.0 action import (21 paths) for OpenAI Custom GPTs, Microsoft Copilot Studio, Dust, Dify, Zapier, Make & Retool (scanPublicUrl, batchScanDomains, exportDomainReportMarkdown, inspectPublicC2pa, checkImageC2paUrl, testHumanGateVectors, generateVendorQuestionnaireAnswers, classifyAiActRisk, generateArt50BadgeSnippet, generateSetupSnippet, findUnwrappedAiCalls, verifyTelemetryReceipt, callMcpTool, getStatusShieldSvg, getTrustCenterCardSvg, getAiActWellKnownManifest, getAnnexIvTechnicalDocPreview, getC2paStatusShieldSvg, getHealth, ingestSignedTelemetry, createHumanApprovalRequest), plus A2A agent discovery. |
WordPress, Shopify, PrestaShop, Shopware 6, GTM, Cloudflare, Framer & shadcn/v0 Assets | cloudflare-worker-art50-c2pa.js · copilot-instructions.md · CLAUDE.md · spurvik-cursor-rules.mdc · windsurfrules.md · spurvik-shopify-art50.liquid · spurvik-shopify-trust-card.liquid · spurvik-prestashop-art50.zip · spurvik-shopware6-art50.zip · spurvik-gtm-art50-container.json · spurvik-eu-ai-act-wp.zip · spurvik-framer-badge.tsx · registry.json · article-50-badge.json · ai-act-trust-card.json | Cloudflare Edge Worker (HTMLRewriter + 2 Dec 2026 C2PA Polish bypass), Copilot/Claude/Cursor/Windsurf/Codex IDE guardrails, Shopify OS 2.0 section, PrestaShop 1.7/8/9 module, Shopware 6.5/6.6+ extension, Google Tag Manager v2 container, WordPress plugin, Framer component, and @spurvik shadcn/v0 components (<Article50Badge /> & <AIActTrustCard />). data-attribution="false" (React: attribution={false}) hides the "Art. 50 · Spurvik" link for Pro / Done-For-You white-label. |
| Agency 10-Domain Batch Scanner (10 EU Locales + REST API) | console.spurvik.com/portfolio · api/v1/portfolio/scan | Zero-cookie 10-domain agency scanner (?domains=a.eu,b.eu&locale=en|de|fr|nl|da|sv|fi|es|it|pl) and zero-key OpenAPI 3.1 JSON endpoint (GET/POST /api/v1/portfolio/scan) with 1-click CMS/GTM installers, 2 Dec 2026 C2PA CDN-strip pills, 8-language client audit email drafts, and CSV/Markdown exports. |
| Documentation, Framework Guides & 7 EU Language Portals | spurvik.com/docs · DE · FR · NL · DA · SV · ES · IT | Copy-paste setup for Next.js / Vercel AI SDK, LangGraph, Mastra, OpenAI Agents, Lovable / Replit, WordPress / Shopify / Webflow / GTM, /.well-known/ai-act.json & /trust Studio, Annex IV Technical File Studio, Cursor / Claude Code MCP, n8n, plus 16 native guides per EU language portal (128 localized pages across 8 EU languages). |
| 1-Click Zero-Key n8n & Make.com Starter Workflows | n8n-zero-key-audit-rfp-annex-iv.json · n8n-art50-starter.json · make-com-spurvik-blueprint.json | Import directly in self-hosted n8n (0 credentials for 5-in-1 parallel Audit, C2PA, RFP, Gate & Annex IV; n8n-nodes-spurvik@1.0.15) or Make.com (Scenarios -> Import blueprint). |
| 1-Click GitHub Actions PR Gate | spurvik.com/r/github-action-spurvik-check.yml | Drop into .github/workflows/spurvik-check.yml to scan PRs offline with spurvik-mcp check . --ci. |
What this repository contains
Milestones 1–4, scoped to the EU market.
| Piece | Role |
|---|---|
packages/sdk | withSpurvik() wrapper for OpenAI, Anthropic, and Gemini-shaped clients, spurvikMiddleware() for the Vercel AI SDK, plus Mastra, OpenAI Agents, and LangGraph adapters. |
packages/react | Always-visible Article 50 labels, in all 24 EU languages. |
packages/core | Hashing, provenance signatures, text-marking hook, audit-chain checks, webhook signatures. |
packages/mcp | Local stdio MCP server. Setup snippets, an unwrapped-call scan, HMAC receipt explanations, marking-hook notes, a live Art. 50(1) URL scan, a batch scan of up to 10 domains, a C2PA JUMBF manifest & CDN-strip check of one image URL, an EU AI Act risk-tier mapping, a 24-language Art. 50 badge generator, and EU AI Act vendor security questionnaire / DPO RFP answers (spurvik_vendor_questionnaire_answers). Published on npm as spurvik-mcp-server@1.0.15 (MIT). Workspace package packages/mcp (1.0.15). |
packages/n8n-nodes-spurvik | Native n8n Community Node (SpurvikEuAiActGuard) and importable Make.com blueprint (make-com-blueprint.json) for Art. 50(1) notices, and Art. 12 HMAC-SHA256 digests and Art. 14 ask_human() gates for high-risk AI systems, with optional console.spurvik.com sync, plus zero-key Scan Live Domain (Art. 50 & Client Brief), Batch Scan up to 10 Domains (Agency Roster), Check Image C2PA & CDN Strip (Art. 50(2)) (a read-only C2PA JUMBF manifest & CDN-strip checker; it never signs), and Answer Vendor Security Questionnaire (Art. 50/12/14 RFP) (built locally, no request) operations. For self-hosted n8n. Package version n8n-nodes-spurvik@1.0.15 (MIT). |
examples/ | Runnable developer templates: Next.js + Vercel AI SDK (nextjs-vercel-ai-sdk), LangGraph + Mastra + OpenAI Agents (langgraph-mastra-openai-agents), 9-channel ask_human() router (slack-telegram-linear-ask-human & multi-channel-hitl.ts), n8n & Make.com workflows (n8n-make-import), and GitHub Actions CI check (github-actions-ci-check). |
Features designed to support Article 12(3) logging for remote biometric identification systems (Annex III point 1(a); high-risk requirements apply from 2 December 2027) are in the control plane. Two-person confirmation is a product setting. It checks that two different member accounts confirmed the decision. Image marking support is packages/c2pa. Build that directory from source. It is not a published npm package. Its package.json sets "private": true and "license": "MIT".
Quickstart
Licence.
packages/sdk(published asspurvikandspurvik-sdk) andpackages/react(published as thespurvik/reactexport) are licensed under the MIT License (Copyright (c) 2026 EyeTea Solutions ApS (CVR 37093378)) and are provided without warranty.packages/coreis build-from-source and is bundled into those published packages.packages/mcpis published asspurvik-mcp-server.packages/c2pais build-from-source, sets"private": trueand"license": "MIT", and is not published on npm. The hosted console at https://console.spurvik.com is a hosted service. Its source is not in this repository and the MIT licence does not cover it. See Trademark below.
The walkthrough is in docs/quickstart.md. Errors we hit while testing it are in docs/troubleshooting.md. For a plain-language overview, see docs/onboarding-startups-smes.md.
Guides: docs/quickstart.md, docs/5-minute-quickstart.md, docs/sandbox-first-5-minutes.md, docs/langgraph-quickstart.md, docs/hitl-approval-mapping.md, docs/console-onboarding.md, docs/adapters-quick-cards.md, docs/claude-code-plugin.md, docs/faq-additions.md, docs/faq-sandbox-2x2.md, docs/faq-console-and-quickstart.md, docs/faq-hitl-and-plugin.md, and docs/faq-art50-marking-and-pl-locale.md.
Get the package. Install the live MIT packages from npm. Builds previously served at spurvik.com/sdk/latest.tgz are not this SDK, are unsupported and must not be relied on to check records.
(a) npm:
npm install spurvik@1.0.18 spurvik-sdk@1.0.18
spurvik and spurvik-sdk publish the same SDK. Import it as spurvik. Subpaths are spurvik/ai, spurvik/mastra, spurvik/langgraph, spurvik/openai-agents, spurvik/channels, and spurvik/react.
(b) Local MCP server. --root is required since 1.0.3:
npm i -D spurvik-mcp-server@1.0.15
./node_modules/.bin/spurvik-mcp-server --root .
In your app (an ES module project, because the example uses top-level await):
npm pkg set type=module
npm install openai spurvik@1.0.18
Wrap a call and check the record:
import OpenAI from "openai";
import { provenanceOf, verifyProvenanceSignature, withSpurvik } from "spurvik";
const ai = withSpurvik(new OpenAI(), {
apiKey: process.env.SPURVIK_API_KEY!, // spurvik_live_…
signingSecret: process.env.SPURVIK_SIGNING_SECRET!,
contentHash: { mode: "keyed", secret: process.env.SPURVIK_CONTENT_HASH_SECRET! },
baseUrl: process.env.SPURVIK_BASE_URL!, // the SDK throws without it when NODE_ENV is production
riskTier: "limited_art50", // Sample value. Set your own classification (as provider or deployer); Spurvik does not classify your use case.
article50Disclosure: false, // set true only when an interaction notice is shown
onTelemetryError: (error) => console.error("Spurvik telemetry not delivered:", error),
});
const completion = await ai.chat.completions.create({
model: "gpt-4o",
messages: [{ role: "user", content: "Hello" }],
});
const record = await provenanceOf(completion);
// Argument order: record first, signing secret second. Swapped arguments return false.
const matches = await verifyProvenanceSignature(record!, process.env.SPURVIK_SIGNING_SECRET!);
await ai._spurvik.shutdown(); // scripts: send queued telemetry before exit
provenanceOf(res) returns the signed provenance record attached to a non-streaming response. For a stream it returns a promise of the record: read the stream, then await provenanceOf(stream). A record means the signature can be checked. It is not a conformity assessment.
matches is true when the signed fields match a signature made with that secret. Any change to a signed field makes the check return false, unless whoever changed it also re-signed it with the same secret. So a match shows that the signed fields still match a signature made with that secret. Anyone who holds the secret can make a matching signature, so limit who holds it.
Keys and environment variables. The project API key has the form spurvik_live_ plus at least 32 base64url characters. It is sent as a Bearer token, and the server stores only its SHA-256 hash. SPURVIK_SIGNING_SECRET and SPURVIK_CONTENT_HASH_SECRET stay in the caller and are never sent to the control plane. Keep them: records signed with a lost secret can no longer be checked. None of these has a built-in default. The SDK reads none of SPURVIK_API_KEY, SPURVIK_SIGNING_SECRET, or SPURVIK_CONTENT_HASH_SECRET by itself; your code passes them in. Project keys use the spurvik_live_ prefix. Disclosure keys use the spurvik_pub_ prefix. The published spurvik and spurvik-sdk packages do not read SPURVIK_* or AEGIS_* environment variables at runtime. Pass apiKey, signingSecret, contentHash.secret, and baseUrl in code. These reads exist only in this repository: vendorTelemetryMode() in packages/core/src/telemetry-policy.ts reads SPURVIK_TELEMETRY, then AEGIS_TELEMETRY, and the published packages do not call it. packages/c2pa/src/index.ts reads SPURVIK_C2PA_CERT_PEM then AEGIS_C2PA_CERT_PEM, and SPURVIK_C2PA_KEY_PEM then AEGIS_C2PA_KEY_PEM. That directory is build-from-source and is not in the published tarball. packages/sdk/src/telemetry-exit.child.ts is a repository test script and reads only SPURVIK_BASE_URL. packages/sdk/tsup.config.ts reads SPURVIK_SDK_DIST during the repository build. packages/mcp reads SPURVIK_MCP_ROOT and SPURVIK_SIGNING_SECRET. Those reads are not in spurvik or spurvik-sdk.
baseUrl is where SDK telemetry and the halt stream go. For a hosted console workspace, that address is https://console.spurvik.com. In production the SDK throws if it is omitted. Development and tests still default to http://127.0.0.1:43123.
If baseUrl is unreachable, the wrapped model call still succeeds and returns its record (except for high_annex3, which fails closed). In a short script the telemetry event is lost: onTelemetryError is called once, await shutdown() returns, and the process exits with code 0. A long-running process calls onTelemetryError once. In this build, an event that is queued after a failed flush stays in memory (up to 500 events; the oldest are dropped first) and is sent with a later flush: on the next wrapped call, on await ai._spurvik.shutdown(), or once when the process ends on its own. Nothing retries it on a timer. The event whose flush already failed is not tried again when the process ends on its own unless something was queued after it, and process.exit() or a signal such as Ctrl+C skips that last flush. Calling await ai._spurvik.shutdown() before the process exits gives queued events one more try (up to 8 seconds by default). With high_annex3, a halt check that times out throws SpurvikOversightTimeoutError (a SpurvikHaltedError), while an error response from the control plane throws SpurvikApiError, an API error that is a SpurvikError, not a SpurvikHaltedError; in both cases the provider is not called. See docs/troubleshooting.md. In this release, do not rely on the control plane as your only copy of these events. Keep your own records as well.
article50Disclosure defaults to false. Set it to true only when you state that an Article 50(1) interaction notice is shown. The flag is configuration. It is not a finding that the notice was shown or that it is sufficient.
riskTier is your own classification (as provider or deployer); Spurvik does not classify your use case.
minimal— no transparency or high-risk controls configured by default.limited_art50— Article 50 transparency support (interaction notice, optional marking hook).high_annex3— for high-risk use under Annex III. The wrapper checks the human stop before inference.
Article 12 (record-keeping) and Article 11 with Annex IV (technical documentation) apply to high-risk (Annex III) systems from 2 December 2027. Article 14 applies to high-risk AI systems listed in Annex III from 2 December 2027. Annex I systems embedded in regulated products follow 2 August 2028 and are not a separate tier here.
Documentation
| Guide | What it covers |
|---|---|
| Full quickstart | Install the published SDK and wrap one model call. |
| 5-minute quickstart | Wrap one model call, keep the provenance record, and check its HMAC signature. |
| Sandbox first 5 minutes | Public 2x2 sandbox cockpit before you set up keys. |
| Console onboarding | Sandbox and the hosted console. |
| LangGraph quickstart | Wrap compiled LangGraph workflows (spurvik/langgraph), read HMAC receipts, render <AIDisclosureLabel /> (including Polish locale="pl" copy), and map interrupt() / Command({ resume }) to /api/v1/hitl. |
| HITL approval mapping | Map Vercel AI SDK interrupted, OpenAI Agents needsApproval, and LangGraph interrupt() into Spurvik's human-oversight queue. |
| Adapter quick cards | withSpurvikMastra, withSpurvikModel / withSpurvikModelProvider, and withSpurvikLangGraph. |
| Claude Code plugin | /spurvik:check, /spurvik:wrap, and /spurvik:engineering-summary. |
| FAQ additions | Pricing, install, MCP tools, HITL, Polish locale="pl", and Art. 50(2) marking questions. |
| FAQ: sandbox 2x2 | Sandbox cockpit behaviour and shell environment precedence. |
| FAQ: console and quickstart | Signup, keys, and the 5-minute path. |
| FAQ: HITL and plugin | Tool approvals, checkpoint pause/resume, and Claude Code plugin install. |
| FAQ: Art. 50(2) marking and Polish locale | Art. 50(2) marking ahead of 2 December 2026 (Art. 111(4)), Polish locale="pl" copy, and LangGraph. |
| Claude Code submission draft | Staged directory-submission draft. |
| Website marketplace manifest | Staged website marketplace manifest for spurvik.com/.claude-plugin/marketplace.json. |
Provenance is not Article 50(2) marking
provenanceOf(res) is exported from spurvik. It reads a provenance record: timestamp, model id, keyed fingerprints, an Article 50(1) disclosure flag, the upstream marking status, and an HMAC-SHA-256 signature. markingApplied and evidenceTrailerAttached are inside that signature. The same value is on res._spurvik_provenance. provenanceOf also reads an older provenance property from earlier responses. Check the signature with verifyProvenanceSignature. A match shows the signed fields still match the HMAC-SHA-256 signature made with your signing secret. It does not show that a notice was shown, that output is marked, or that your system meets the Act.
withSpurvik is the wrapper. An older name of that function was removed; use withSpurvik. That old name did not mean the wrapped client meets the Act.
A field on the API object does not travel with the content after the object is discarded, so it is not, by itself, the machine-readable marking in Article 50(2).
The marking module is a hook:
signed-trailerembeds the provenance record in text. That is an application-level binding, not a C2PA manifest and not a determination that Article 50(2) is met.packages/c2pa(build from source; not published on npm) implementsMediaMarkingHookfor PNG and JPEG.POST /api/v1/provenance/verifyreads a manifest. A matching signature checks that manifest. It is not a conformity assessment. A private CA is reported asnot_on_trust_list.
Article 50 transparency obligations apply from 2 August 2026. For AI systems placed on the market before that date, the Article 50(2) marking and detection duty runs to 2 December 2026. Signatories to the Code of Practice on Transparency of AI-generated Content commit to an interoperability solution for detection by 2 February 2027.
Pseudonymised fingerprints
Prompt and output hashing is configurable:
contentHash.mode | Behaviour |
|---|---|
keyed (default) | HMAC-SHA-256 with a client-held secret or salt. The server cannot recompute it. |
on | Unsalted SHA-256. |
off | No fingerprint is computed or stored. |
A fingerprint of text that relates to an identifiable person can still be personal data under the GDPR. Keyed mode is designed to support pseudonymisation (Article 4(5) GDPR): the additional information, the HMAC key, stays with the client. It is not anonymisation. Do not describe these values as non-personal data.
The telemetry body carries fingerprints, model version, temperature, and latency. contentMarkingApplied / markingApplied is true only when a C2PA manifest was embedded, a watermark hook changed the content, or the upstream status is provider_confirmed (the response or a marking header said a mark was present). It is false for a signed text trailer, a metadata hook, a mere request, a support-table inference, an unknown model, and a failed call. evidenceTrailerAttached records the trailer or metadata hook separately and is also inside the provenance signature. The status on the record is upstreamMarking: requested (a marking parameter was on the request), provider_confirmed, not_requested (the request or response said marking was off), inferred (the model id is on the dated support table and the SDK object had no signal), or unknown. Unknown is the default. This does not show the mark is robust, detectable or adequate under Art. 50(2). The previous ingest boolean name is still accepted for one minor version and stored as contentMarkingApplied. Rows sealed before that rename keep matching: the same boolean was hashed under the old field name. The ingestion route rejects prompt or output text.
The methods withSpurvik records, and the ones it leaves alone, are listed in packages/sdk/README.md. Embeddings, image generation, speech, moderations, batches, and file uploads have no provenance record. Chat, messages, responses, Gemini generateContent, and Gemini chat sendMessage are wrapped, including the stream helpers covered in that table. spurvik/ai exports spurvikMiddleware for wrapLanguageModel. spurvik/mastra passes that middleware to wrapLanguageModel for a Mastra agent model. spurvik/openai-agents wraps an Agents SDK Model and ModelProvider. A thrown provider call does not produce a record. Telemetry is queued and sent in batches, on shutdown(), and once as the process exits. A call does not flush the queue by itself.
The disclosure label does not write browser storage unless the integrator sets beacon.consent to true. The site operator obtains that consent. Without it, the label still renders and sends nothing. A server-side note that a page containing the label was served does not use the beacon.
Upstream marking evidence
A deployer that wraps a third-party model may rely on that provider's output marking only when it can show the marking works. withSpurvik records one signed evidence event per wrapped call. The event stores the provider, the model, the modality, marking settings the request and the response actually expose, and upstreamMarking. Settings are read only from flags and headers the SDK object carries (watermark, synthid, c2pa, provenance headers, and the same names inside metadata, generationConfig, or a withResponse() body). When the public SDK object has no such field, the status is unknown, including OpenAI text (no per-request parameter), Anthropic models the dated help-center table does not list, Gemini text, and Mistral. Cloud-partner routes (Bedrock, Vertex, Foundry, Azure) are not inferred from the first-party table. The support table in packages/core/src/upstream-support.ts is dated and lists a source URL on each row.
Documentation truncated — see the full README on GitHub.
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Rea
Freeby Morluto · Developer Tools
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Paperclip
Freeby Paperclipai · Developer Tools
Trending hip-hop artist momentum scores across four cultural dimensions.
Scrapling
Freeby D4Vinci · Developer Tools
Web scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.
Server Time
Freeby Modelcontextprotocol · Developer Tools
Current time lookup and conversion between IANA timezones
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.

