{"uid":"cap_GmHTC48cETJSG_8kjiICe","slug":"scrub-mcp-pii-redaction-api-0523bcb7","name":"scrub-mcp PII Redaction API","description":"Paid x402 MCP server fronting the stateless PII scrub-api. Zero storage.","url":"https://scrub-mcp.malgorath.com/scrub?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"Text to scrub. Required."},"strip":{"type":"array","items":{"enum":["names","ages","emails","phone","ssn","addresses","dates","account_numbers"],"type":"string"},"description":"PII categories to remove. Defaults to all categories."},"domain":{"enum":["all","medical","legal","criminal","financial"],"type":"string","default":"all","description":"Subject area for context-aware redaction."},"temperature":{"type":"number","default":0.2,"maximum":2,"minimum":0,"description":"Model temperature."}}},"responseSchema":{"type":"json","example":{"removed":{"ssn":1,"dates":2,"names":1},"scrubbed_text":"Patient [NAME], DOB [DATE], SSN [SSN] visited on [DATE]."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_XVfeAK4WrXBVuKRnNcdv0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Removes personally identifiable information (PII) from text using context-aware redaction across medical, legal, financial, and criminal domains","exampleAgentPrompt":"Can you scrub all PII from this medical note — names, SSNs, dates, and phone numbers — using the medical domain context: 'Patient John Smith, DOB 04/12/1978, SSN 123-45-6789, called 555-867-5309 on March 3rd about his prescription.'","exampleUseCases":[{"title":"HIPAA-safe medical record anonymization","prompt":"Please redact all PII from this patient summary before we share it with the research team — strip names, dates, SSNs, and phone numbers using the medical domain setting: 'Mary Johnson, DOB 01/15/1965, SSN 987-65-4321, was admitted on February 10th and discharged on February 14th. Contact: 555-234-5678.'"},{"title":"Financial document PII scrub before audit","prompt":"I need to anonymize this loan application excerpt for our external auditors — remove names, account numbers, SSNs, and addresses using the financial domain: 'Applicant Robert Nguyen, SSN 456-78-9012, account #00123456, residing at 42 Maple Street, Springfield, applied on June 5th 2024.'"},{"title":"Legal filing redaction for public record","prompt":"Strip all personal identifiers from this legal document snippet before we post it publicly — remove names, phone numbers, and addresses in legal domain context: 'Defendant Sarah O'Brien, residing at 19 Elm Avenue, called the plaintiff at 555-111-2222 on December 3rd 2023.'"}],"resultDescription":"Returns a JSON object with 'scrubbed_text' containing the original text with PII replaced by bracketed category labels (e.g. [NAME], [SSN], [DATE]), and a 'removed' map showing how many instances of each PII category were redacted.","failureModes":["Missing required 'text' field returns a 400-level error","Invalid 'strip' enum values cause schema validation failure","Temperature out of range (0–2) causes rejection","Empty string input may return empty scrubbed_text with zero removals","Very long texts may exceed model context limits causing truncation or error","Payment failure or insufficient USDC balance returns HTTP 402"],"whenToPreferThis":"Choose this endpoint when you need stateless, zero-storage PII redaction with domain-aware context (medical, legal, financial, criminal) and want per-category counts of what was removed. Ideal for HIPAA/GDPR compliance pipelines, anonymizing documents before sharing or storing, and preparing sanitized training data. Prefer it over generic regex-based scrubbers when context-sensitive redaction is needed, and over heavyweight on-premise solutions when serverless, pay-per-call pricing ($0.01/call) fits your usage pattern.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:31:51.607Z","isFirstParty":false,"canonicalSlug":"scrub-mcp-pii-redaction-api-0523bcb7"}