Cursor, Claude Code & VS Code MCP + GitHub Actions: scan for unwrapped AI calls

spurvik-mcp-server@1.0.13 (local stdio) gives Cursor, Claude Code, VS Code and CI 10 zero-key tools; hosted /api/mcp serves all 10. Repo scans for unwrapped AI calls, live domain scans, C2PA image checks, vendor questionnaire answers. MIT, no account.

Connect your agent in one command

10 tools · MIT · spurvik-mcp-server@1.0.13
Run in your repo terminal · hosted, no install
# Hosted MCP over HTTP: all 10 zero-key tools, no API key
claude mcp add --transport http spurvik https://console.spurvik.com/api/mcp

# 4 agent skills for Claude Code, Cursor and Codex, incl. eu-ai-act-rfp-responder
npx skills add spurvik/skills

# Local repo scans need the stdio server (same 10 tools):
# claude mcp add spurvik -- npx -y spurvik-mcp-server@1.0.13 --root .

Sends only the hostname · 0 cookies · no signup

DPO PDF brief

Free €0 · Pro €19/mo (€190/yr) · Team €79/mo (€790/yr) · Done-For-You €199 once, 1 year of Pro included · Enterprise from €499/mo · excl. VAT · B2B only.

The 10 zero-key MCP tools

spurvik-mcp-server (version 1.0.13, MIT, Node 20+) is a local stdio Model Context Protocol server and CLI with zero runtime npm sub-dependencies (@modelcontextprotocol/sdk 1.32.1 is bundled in dist/index.js). It runs inside your IDE and pull requests with ten zero-key tools (the same 10 as the hosted /api/mcp, including spurvik_vendor_questionnaire_answers) and no Spurvik account required. Seven make zero network calls; spurvik_scan_live_url, spurvik_batch_scan_domains and spurvik_check_image_c2pa_url send only the public URLs you pass them to console.spurvik.com:

  1. spurvik_find_unwrapped_calls (and spurvik-mcp check . --ci): scans TypeScript, JavaScript and Python (.py) files for OpenAI, Anthropic, Google GenAI, Vercel AI SDK, LangChain, PydanticAI, Mastra, OpenAI Agents and LangGraph calls that are not wrapped with spurvik@1.0.16.
  2. spurvik_setup_snippet (and spurvik-mcp snippet <framework> [runtime]): returns exact wrapper snippets for openai, anthropic, google-genai, vercel-ai-sdk, mastra, openai-agents and langgraph across node, next, vercel, supabase-edge and python (spurvik_guard.py), plus n8n, shopify, wordpress and support widgets (intercom, zendesk, tidio, dixa, trengo).
  3. spurvik_explain_receipt: explains each field of an HMAC-SHA256 provenance receipt and what a valid signature does and does not show.
  4. spurvik_marking_hooks (and spurvik-mcp marking-hooks [text|media|both]): prints where to plug your own Article 50(2) marking tool into config.marking.
  5. spurvik_scan_live_url: scans one public page (URL or bare domain) through the hosted console for AI chat widgets and AI SDKs and checks for a visible Article 50(1) notice. It sends nothing but that URL, and returns a README status shield, the report link and a portfolio link.
  6. spurvik_batch_scan_domains: the same check for 1 to 10 client domains in one call, at most 4 at a time. If any entry is localhost, a private IP or an internal host, the whole batch is refused before anything is sent. Returns the gaps, a badge.js fix and a status shield per host.
  7. spurvik_check_image_c2pa_url (new in 1.0.7): checks one public https image URL (PNG, JPEG or WebP, up to 4 MB) for an embedded C2PA manifest ahead of Article 50(2) machine-readable marking (applies from 2 December 2026), and flags image optimizers that strip it (/_next/image, Cloudinary, imgix, Cloudflare). It reads, never signs; localhost and private IPs are refused before any request. Same check from a terminal or CI: npx spurvik c2pa <image-url> --fail-on-missing.
  8. spurvik_classify_ai_act_risk: deterministic engineering mapping of a use case to an indicative EU AI Act risk tier (Annex III areas, Art. 50 transparency). Not an Article 6 decision.
  9. spurvik_generate_art50_badge: zero-network Article 50(1) notice snippets in any of the 24 official EU languages (badge.js one-liner, Next.js <Script>, WordPress plugin).
  10. spurvik_vendor_questionnaire_answers (new in 1.0.8, stdio and hosted): zero-network Markdown answers to the five EU AI Act questions in enterprise vendor security questionnaires and DPO RFPs (Art. 50(1) notice and Art. 50(2) provenance, Art. 12 logging with keyed inputHash and chained recordHash, GDPR Art. 5(1)(c) minimisation and Frankfurt residency, Art. 14 approval gates, retention and Annex IV), matched to the Free, Pro, Team or Done-For-You plan. Every input is optional. The same answers are in the browser at /eu-ai-act-vendor-security-questionnaire; check them against your own setup before you send them.

Install & scan in 15 seconds

Run both commands in your project root (a folder with package.json or .git):

1. Install in devDependencies
npm i -D spurvik-mcp-server@1.0.13
2. Scan your repo (offline, exits 1 if unwrapped calls found)
./node_modules/.bin/spurvik-mcp check . --ci

Pass --json instead of --ci if another script consumes the file and line findings as JSON.

Wire into Cursor, VS Code & Claude Code

In Cursor, save .cursor/mcp.json in your repository root:

.cursor/mcp.json
{
  "mcpServers": {
    "spurvik": {
      "type": "stdio",
      "command": "node",
      "args": ["${workspaceFolder}/node_modules/spurvik-mcp-server/dist/index.js", "--root", "${workspaceFolder}"]
    }
  }
}

In VS Code (GitHub Copilot agent mode), save .vscode/mcp.json (note the top-level "servers" key):

.vscode/mcp.json
{
  "servers": {
    "spurvik": {
      "type": "stdio",
      "command": "node",
      "args": ["${workspaceFolder}/node_modules/spurvik-mcp-server/dist/index.js", "--root", "${workspaceFolder}"]
    }
  }
}

In Claude Code, either install the Spurvik plugin from GitHub or register the local stdio server in your project:

Claude Code plugin or local MCP
claude mcp add spurvik -- node ./node_modules/spurvik-mcp-server/dist/index.js --root .
# Or inside an interactive Claude Code session:
# /plugin marketplace add spurvik/spurvik
# /plugin install spurvik@spurvik-marketplace

Gate pull requests with GitHub Actions

Drop the workflow template (download github-action-spurvik-check.yml) into .github/workflows/spurvik-check.yml so pull requests with detectable unwrapped openai.chat.completions.create(...), generateText(...), or agent calls fail before merge:

Add .github/workflows/spurvik-check.yml
mkdir -p .github/workflows && curl -fsSL https://spurvik.com/r/github-action-spurvik-check.yml -o .github/workflows/spurvik-check.yml
Exit codeMeaning in spurvik-mcp check . --ci
0No unwrapped calls detected across scanned source files
1One or more unwrapped LLM or agent calls found (prints file:line and wrapper fix)
2Invalid or disallowed workspace root (for example /, $HOME, or a hidden dot-folder under $HOME)

Scope & heuristic boundaries

  • Heuristic file scan, not an AST proof: check inspects .ts, .tsx, .js, .jsx, .mjs, .cjs, .mts and .cts files under your root (skipping node_modules, .git, dist, build, .next, coverage and files larger than 1 MB). Custom wrapper functions can be over-reported, and dynamically constructed calls can be missed.
  • Safe root policy: --root refuses /, your home directory, OS system paths, and dot-directories directly inside $HOME (such as ~/.config). Run it inside a normal project repository.
  • Not legal compliance or Art. 50(2) marking: wrapping calls with spurvik@1.0.16 records keyed HMAC-SHA256 digests (0 bytes of prompt text in default keyed mode) and wires Art. 50(1) notice and human approval hooks. You still classify riskTier yourself and plug your own marking tool into config.marking where Art. 50(2) applies.

From local CI check to EU-hosted DPO & Annex IV exports

Local checks catch unwrapped calls before merge. When your service runs in staging or production and your DPO, enterprise buyer or counsel asks for retained audit evidence, connect your wrapped SDK to the Frankfurt (fra1) control plane:

  • Free (€0/mo): 10,000 events/mo, 30-day log retention in Frankfurt (fra1), live project API keys.
  • Pro (€19/mo or €190/yr, excl. VAT · B2B only): 250,000 events/mo, 90-day Frankfurt (fra1) log retention, white-label badge, hosted human oversight review queue, Plain English Obligations Map, and downloadable DPO Engineering Summary (.md).
  • Team (€79/mo or €790/yr, excl. VAT · B2B only): 2,000,000 events/mo, 12-month Frankfurt (fra1) log retention, webhook export, and Annex IV technical documentation draft (PDF & Markdown, Art. 11).

Try it

Scan your repo right now
npm i -D spurvik-mcp-server@1.0.13 && ./node_modules/.bin/spurvik-mcp check . --ci

Free €0 (10k events/mo) · Pro €19/mo · Team €79/mo · excl. VAT · B2B only.

FAQ

Does spurvik-mcp-server send my source code over the network?

No. Your source code never leaves your machine: the local stdio server and the spurvik-mcp check CLI run on your machine or CI runner, and seven of the ten tools make zero network calls. Only spurvik_scan_live_url, spurvik_batch_scan_domains and spurvik_check_image_c2pa_url send the public URLs you pass them to console.spurvik.com, and npm install downloads the package itself.

Do I need a Spurvik account or API key to use the MCP server or CI check?

No. spurvik-mcp-server 1.0.13 is MIT licensed and runs without an account or API key. You only create a console.spurvik.com workspace when you want hosted Frankfurt (fra1) event storage, the human review queue, or DPO and Annex IV exports.

Is spurvik-mcp check a full AST or runtime compliance guarantee?

No. It is a fast heuristic pattern scan across TypeScript and JavaScript source files (.ts, .tsx, .js, .jsx, .mjs, .cjs, .mts, .cts). Custom wrapper helpers can be over-reported, dynamic calls can be missed, and passing the check does not make a system compliant with the EU AI Act.

Why did spurvik-mcp exit with code 2 and say the workspace root is not allowed?

For safety, the server refuses filesystem roots such as /, your home directory, system directories, and hidden dot-directories directly under your home folder. Run it inside a normal project directory that contains package.json or .git.

Can I call the MCP tools over HTTP without installing a local binary?

Yes. https://console.spurvik.com/api/mcp (MCP protocol 2025-06-18, no API key required) serves all 10 zero-key tools over HTTP: spurvik_scan_live_url, spurvik_batch_scan_domains, spurvik_check_image_c2pa_url, spurvik_vendor_questionnaire_answers, spurvik_classify_ai_act_risk, spurvik_generate_art50_badge, spurvik_setup_snippet, spurvik_find_unwrapped_calls for inline code, spurvik_explain_receipt, and spurvik_marking_hooks. Scanning a local workspace directory uses the local stdio server.

Sources

Your AI Act controls should live in a few lines of code, not in six months of legal memos.