Repository navigation
Tools Reference
Saeed Yari edited this page Nov 28, 2026
·
2 revisions
All 11 tools are read-only. You don't need to call them by name: describe what you want and the assistant picks the tool. The example prompts below show the kind of request that triggers each one.
Lookup tools return text from your local copy of the standard. Scanner tools return findings, each with a severity, a pci_requirement_id, an issue_description and a remediation_step. See Scanner Rules for every check.
-
Parameters:
requirement_id, a control ("6.4.3"), a section ("6.4") or a whole requirement ("6"). Prefixes like "Req." are ignored. - Returns: the full record for a control (requirement, customized approach objective, applicability notes, testing procedures, guidance, metadata), or a summary list of the controls under a section or requirement.
- Example prompt: "What exactly does requirement 8.3.6 say?"
-
Parameters:
query; optionalrequirement_number(1-12),component(e.g."Payment Page","Database"),frequency,effective_status(immediateorpost_march_2025),limit(default 10, max 50). -
Returns: ranked summaries, plus
search_mode(hybridwhen embeddings are built, otherwiselexical). - Example prompt: "How do I protect cardholder data from tampered JavaScript on our checkout page?" (top results: 6.4.3, 11.6.1)
-
Parameters:
requirement_id. - Returns: the control, the controls its text refers to, and the controls that refer to it.
- Example prompt: "Which requirements are connected to 11.6.1?"
-
Parameters:
requirement_id. - Returns: the testing procedures grouped by action (Examine, Interview, Observe, Test), the evidence types an assessor will look for, and how often the control applies.
- Example prompt: "What evidence will a QSA expect for 11.3.1?"
-
Parameters:
frequency:Continuous,Upon change,Quarterly,Semi-annuallyorAnnually(spelling variants such as "semi-annual" work). - Returns: the controls with that schedule.
- Example prompt: "Which compliance tasks must we run every quarter?" (3.2.1, 11.2.1, 11.3.1, 11.3.2)
-
Parameters: optional
requirement_number. - Returns: the 46 controls in Requirements 1-12 that were best practice until 31 March 2025 and are mandatory now.
- Example prompt: "What became mandatory in PCI DSS in 2025 for Requirement 8?"
-
Parameters:
saq_type(SAQ-A,SAQ-A-EPorSAQ-D; "saq a-ep" works too); optionalrequirement_number. - Returns: a Markdown checklist with each control's frequency and effective date.
- Example prompt: "Generate an SAQ-A checklist for Requirement 6."
-
Note: the SAQ mapping is approximate.
SAQ-Dlists every control, including the 16 that apply only to service providers, which a merchant's SAQ D does not contain. Confirm it against the official SAQ and with your acquirer or QSA.
-
Parameters:
code_snippet(up to 500,000 characters);language(defaultgeneric; e.g.python,java,javascript,go,php,csharp,ruby; tailors the SQL advice). - Checks: card numbers, CVV/PIN/track data handling, card numbers written to logs, weak cryptography, hardcoded secrets and keys, SQL built from strings.
- Example prompt: "Review this payment handler for PCI issues:" followed by the code.
-
Parameters:
config_content;config_type:dockerfile,docker-compose,kubernetes,nginxorterraform(AWS resources only; Azure and Google Cloud files get almost no findings). - Checks: root or privileged containers, host networking, exposed database and admin ports, weak TLS and ciphers, missing HSTS and security headers, public or unencrypted storage, open security groups, disabled audit logging, hardcoded secrets.
- Example prompt: "Is this nginx config OK for our checkout server?" followed by the config.
-
Parameters:
html_or_headers: page HTML, raw HTTP response headers, or both. -
Returns: Subresource Integrity and Content-Security-Policy findings for 6.4.3 and 11.6.1, an inventory of the page's scripts, and the effective
script-src. - Example prompt: "Check the scripts and CSP on this payment page:" followed by the HTML or headers.
-
Parameters:
directory_path;max_files(default 100, max 1,000). - Returns: a gap analysis for a whole project: findings grouped by severity and requirement, up to 10 occurrences per group, with relative file paths and line numbers, plus counts of scanned and skipped files.
- Example prompt: "Check ~/code/my-shop for PCI DSS gaps and summarize the top risks."
-
Limits: refuses filesystem roots, system folders and your home folder itself; never follows symlinks; skips
.git,node_modules,.venv, build output,data/raw, binaries and files over 500 KB.
| URI | Content |
|---|---|
pci://requirements/overview |
The 12 principal requirements with section lists, control counts and post-March-2025 counts |
pci://requirement/{id} |
The full JSON record for one control, e.g. pci://requirement/6.4.3
|
| Prompt | Arguments | What it sets up |
|---|---|---|
pci_code_review_prompt |
code_or_diff, language
|
Scan the code, confirm each finding against the requirement, review what the scanner cannot see, report a severity-ordered table |
pci_architecture_audit_prompt |
architecture_description |
Map the cardholder data flow and CDE, check segmentation (Req 1), stored data (Req 3) and transmission (Req 4), output a gap table |
Independent community project, not affiliated with or endorsed by PCI Security Standards Council. A readiness aid, not a PCI DSS assessment. Code licensed under Apache-2.0.
PCI DSS Compliance Assistant
- Home
- Installation
- Connecting Clients
- Tools Reference
- Scanner Rules
- How It Works
- Troubleshooting and FAQ
- Roadmap
- Contributing
Links