aadc-audit-mcp
This server provides a local-only MCP toolset to audit software projects against the UK ICO Age Appropriate Design Code (AADC / Children's Code). All operations run on your machine — source code never leaves the device.
Audit Tools
aadc.audit_all— Run all audits at once and get a consolidated PASS/WARN/FAIL/N/A resultaadc.audit_permissions— Check iOSInfo.plistand AndroidAndroidManifest.xmlfor permissions outside the AADC-safe allowlistaadc.audit_sdks— Scanpubspec.yaml,package.json, andrequirements.txtfor analytics, advertising, tracking, or profiling SDKsaadc.audit_launchurl— Detect unsafelaunchUrl()calls and web external-navigation escapes that could expose children to uncontrolled browser sessionsaadc.audit_network_isolation— Verify protected paths (microphone, camera, on-device data) do not import network APIsaadc.audit_defaults— Heuristic scan for suspicious privacy keys (share/track/profile) defaulting totrueaadc.audit_reading_grade— Check user-facing copy for age-appropriate reading levelaadc.audit_placeholders— Flag unreplaced lorem ipsum, TODO, TBD, or dummy text in shipped contentaadc.audit_link_reachability— Warn-only check that external links are not deadaadc.audit_volume_cap— Verify all audio/video players declare an explicit volume capaadc.audit_sentry_hygiene— Check Sentry initialisation for PII scrubbing and safe sampling (no session replay)aadc.audit_hardcoded_url— Flag hardcoded URLs that bypass content reviewaadc.audit_policy_mentions_sdks— Warn-only check that the privacy policy names all external-service SDKs used by the app
Reference Tools
aadc.list_standards— List all 15 AADC standards with one-line statutory summariesaadc.read_standard— Retrieve the full ICO-published text of any specific standard (1–15)
Key Features
Supports Flutter/Dart, Web/JS/TS/HTML, Android/iOS native manifests, and Python projects
Configurable per-project allowlists for permissions, SDKs, trusted hosts, and more
Suitable for CI/CD pipelines via CLI mode
Provides compliance auditing for Android apps by inspecting AndroidManifest.xml for permissions outside the AADC allowlist and checking other AADC standards.
Provides compliance auditing for iOS apps by inspecting Info.plist for permissions outside the AADC allowlist and checking network isolation and other AADC standards.
Checks Sentry initialization hygiene for compliance with AADC standards, such as no PII capture and sane sampling.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@aadc-audit-mcpaudit my flutter app for children's code compliance"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
aadc-audit-mcp
A local MCP server (and CLI) that audits a software project against the UK ICO Age Appropriate Design Code (the Children's Code, AADC), the statutorily-enforceable framework that governs any online service "likely to be accessed by children" in the UK.
Runs entirely on your machine over stdio. Your source code never leaves the device.
What it does
Fifteen MCP tools, all local-only: twelve individual audits, plus audit_all, list_standards, and read_standard.
MCP tool | What it does |
| Run every audit against a local project root and return one consolidated result. |
| Inspect iOS |
| Inspect |
| Inspect Dart |
| Inspect declared protected paths (microphone, camera, on-device-only data) for any network API import. Standard 8. |
| Heuristic warn-only scan for default-true on suspicious privacy keys (share / track / profile / etc). Standard 7. |
| Heuristic reading-grade check of user-facing copy. Standards 4, 11. |
| Flag placeholder content not yet replaced (lorem ipsum, TODO, TBD, dummy text). Standards 4, 6. |
| Warn-only check of external link reachability. Standards 4, 6. |
| Require an explicit volume cap on every audio/video player (Dart players and HTML5 |
| Check Sentry initialisation hygiene (e.g. no PII capture, sane sampling). Standards 7, 9. |
| Flag hardcoded URLs outside the CMS, in Dart and web source. Standards 4, 6. |
| Warn-only check that the privacy policy names every external-service SDK (Flutter, npm, and Python). Standards 4, 9. |
| Return the 15 AADC standards with their one-line statutory summaries. |
| Return the full ICO-published text of one standard. |
PASS, WARN, FAIL, and N/A
Each audit reports one of four outcomes. An audit that has zero relevant
inputs to inspect (a Dart/web audit on a project with none of those files,
or a config-gated audit you haven't enabled) reports [N/A], not a green
PASS. N/A means "not applicable", not "passed": "all clean" on a project
whose stack an audit does not cover now reads as N/A so you are never lulled
into reading a non-result as a compliance tick.
N/A never affects the process exit code or the MCP isError flag. Only a real
FAIL on an applicable audit does. The CLI prints a final tally line of the
exact form:
2 passed, 1 warnings, 0 failed, 9 not applicableEach audit result also carries the count of inputs it actually examined
(scanned N), and the structured AuditResult shape exposes two optional
fields for consumers: applicable (boolean) and scanned (number).
Per-stack coverage
Not every audit fires on every stack. This matrix is what gives real signal today. A blank cell is not a failure: it just means that audit reports N/A on that stack (no inputs to inspect). Read it honestly: a green run is only meaningful for the audits that actually applied.
Audit | Flutter / Dart | Web / JS | Native manifest | Python |
permissions | yes | |||
sdks | yes | yes | yes | |
launchurl | yes | yes | ||
network-isolation | yes | yes | yes | |
defaults | yes | yes | yes | |
reading-grade | yes (Info.plist rationale) | |||
placeholders | yes | yes | yes | |
link-reachability | yes | yes | ||
volume-cap | yes | yes | ||
sentry-hygiene | yes | yes | ||
hardcoded-url | yes | yes | ||
policy-mentions-sdks | yes | yes | yes |
Notes:
Web / JS means source with a
.js,.mjs,.cjs,.jsx,.ts,.tsx,.html,.htm,.vue, or.svelteextension. A vanilla HTML/JS PWA now gets real signal: hardcoded URLs in JS/HTML, HTML5<audio>/<video>ornew Audio()without an explicit volume clamp, andwindow.open/location/<a target="_blank">external-navigation escapes.Native manifest means iOS
Info.plistand AndroidAndroidManifest.xml, found anywhere in the tree regardless of layout.reading-grade parses no
.dart(or.js) source at all: its only inputs are the iOSInfo.plist*UsageDescriptionrationale strings (shown in the Native-manifest column) and the privacy policy. The privacy policy is config-driven (any path viaprivacyPolicyPath) and is not tied to a stack, so it does not earn a Flutter/Dart cell.sentry-hygiene only inspects
pubspec.yaml(sentry_flutter) andpackage.json(@sentry/*), then the Dart / JS / TS init source. It never readsrequirements.txtor the Pythonsentry-sdk, so it reports N/A on a Python-only project (hence the blank Python cell).placeholders scans content and source by extension (see below); that set does not include
.pyorrequirements*.txt, so a Python-only project gets no Python-source signal from it (hence the blank Python cell). It still fires on any.md/.json/.yaml/.xmlcontent a Python repo ships.network-isolation,link-reachability,sentry-hygiene, andpolicy-mentions-sdksare config-gated (see below); they apply to a stack only once enabled, otherwise they report N/A.
Layout-agnostic discovery
reading-grade and policy-mentions-sdks no longer assume an
apps/mobile monorepo layout. They walk the whole project for
Info.plist / pubspec.yaml / package.json / requirements*.txt, so any
layout works. policy-mentions-sdks recognises npm and Python
external-service SDKs (Sentry, Firebase / Google Analytics, PostHog,
Mixpanel, Amplitude, Segment, Datadog, Hotjar, Stripe, Intercom, and others)
in addition to the Flutter ones.
Config-gated audits report N/A, not a skipped WARN
Four audits do nothing useful until you point them at something. When they
are not enabled they report [N/A] (not a yellow warn-skip), and each N/A
summary names how to switch it on:
network-isolationneedsprotectedPaths.link-reachabilityneedsAADC_CHECK_LINKS(it makes outbound HTTP requests, so it is opt-in).policy-mentions-sdksneeds a privacy policy at the configured path.sentry-hygieneneeds a Sentry dependency (sentry_flutteror@sentry/*) in the project.
Related MCP server: depguard
Install
npm install -g aadc-audit-mcpThen add to your MCP client config. For Claude Code, edit
~/.claude.json:
{
"mcpServers": {
"aadc": {
"command": "aadc"
}
}
}For Claude Desktop, edit
~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"aadc": {
"command": "aadc"
}
}
}That's it. Claude will now offer the fifteen aadc.* tools whenever
you're working in a project that looks like it might be accessed by
children.
CLI mode (no MCP needed)
The same binary doubles as a CLI:
aadc audit ./your-project # all audits → exit 0 or 1
aadc audit:permissions ./your-project # one audit
aadc standards # list 15 AADC standards
aadc helpUseful for GitHub Actions or any CI that doesn't have Claude in the
loop. See workflows/aadc-ci.yml for a drop-in.
Per-project allowlist overrides
Each project has different legitimate dependencies and permissions. Override via env vars (work for both MCP server and CLI):
export AADC_PERM_ALLOWLIST_IOS="NSMicrophoneUsageDescription NSBluetoothAlwaysUsageDescription"
export AADC_PERM_ALLOWLIST_ANDROID="android.permission.RECORD_AUDIO ..."
export AADC_SDK_ALLOWLIST_FLUTTER="flutter just_audio webview_flutter ..."
export AADC_SDK_ALLOWLIST_NPM="@cloudflare/workers-types wrangler ..."
export AADC_SDK_ALLOWLIST_PYTHON="fastapi pydantic ..."
export AADC_PROTECTED_PATHS="path/to/sensitive/code/dir ..."
export AADC_TRUSTED_HOSTS="yourapp.com partner.org apps.apple.com ..."
export AADC_FIRST_PARTY_ORIGINS="yourapp.com help.yourapp.com ..."
aadc audit .AADC_TRUSTED_HOSTS sets the host suffixes the link-reachability
audit will probe. It defaults to common app-store, video, and forms
platforms plus the ICO; supply your own list (your app domains,
partner sites, kit vendors, etc) to override it.
AADC_FIRST_PARTY_ORIGINS declares your own site host(s) so a
launchUrl / <a target="_blank"> / window.open to your own help
pages is treated as first-party and is not flagged as an external
escape.
The path/value overrides apply to web source as well as Dart.
AADC_PARENT_AREA_PATHS (env or MCP) marks post-parent-gate surfaces
that may legitimately open the OS browser, and the MCP-only allowlists
urlExemptPaths / urlExemptValues (for hardcoded-url) and
volumeCapExempt (for volume-cap) now match across .js / .ts /
.html / .vue / .svelte as well as .dart.
When called via MCP, the same overrides can be passed as
allowlists.{ios,android,flutter,npm,python,protectedPaths,trustedHosts,firstPartyOrigins,parentAreaPaths,urlExemptPaths,urlExemptValues,volumeCapExempt}
in the tool arguments, useful when Claude is running the audit on
behalf of a project with project-specific allowlists.
Why MCP, why local, why kid-app-specific
Local-only is the whole point. A compliance tool that uploads your source code to a third-party SaaS is a non-starter for a kids-app product. The MCP runs as a subprocess on the user's machine and never reaches the network.
MCP gives Claude (or any MCP-capable AI client) structured function calls. Instead of "Claude reads your repo and tries to remember the AADC", Claude calls
aadc.audit_alland gets a machine-shaped result it can paste straight into a PR description, GitHub issue, or conformance statement.Kid-app-specific because the existing compliance market is enterprise-only. Paid third-party auditors (TestPros, BBB National Programs) start at five figures. Enterprise compliance SaaS (OneTrust, Securiti AI) assumes you have a legal team to configure them. Small kids apps need a drop-in toolkit. This is that toolkit.
What it doesn't do
Doesn't make legal warranties. Best-effort technical scaffolding. A regulator query may still require a paid third-party auditor.
Doesn't automate the 6 judgement-based standards (1 best-interests, 2 DPIA, 3 age-appropriate application, 12 profiling, 13 nudges, 15 online tools). For those, use the conformance-statement template under
templates/and let Claude fill it in by reading your code + the ICO text.
Repo contents
aadc-audit-mcp/
├── README.md, LICENSE
├── package.json, tsconfig.json
├── src/
│ ├── cli.ts (dual-mode entry: MCP server OR CLI)
│ ├── server.ts (MCP server: 15 tools)
│ ├── standards.ts (ICO AADC text loader)
│ └── audits/ (12 audit modules + support files)
│ ├── index.ts (registry)
│ ├── types.ts (AuditResult, AuditOptions)
│ ├── walk.ts (fs traversal)
│ ├── web-source.ts (shared web-file discovery + comment stripping)
│ ├── permissions.ts (Standards 8, 10)
│ ├── sdks.ts (Standards 5, 9, 12, 13)
│ ├── launchurl.ts (Standards 11, 14)
│ ├── network-isolation.ts (Standard 8)
│ ├── defaults.ts (Standard 7)
│ ├── reading-grade.ts (Standards 4, 11)
│ ├── placeholders.ts (Standards 4, 6)
│ ├── link-reachability.ts (Standards 4, 6)
│ ├── volume-cap.ts (Standards 1, 14)
│ ├── sentry-hygiene.ts (Standards 7, 9)
│ ├── hardcoded-url.ts (Standards 4, 6)
│ └── policy-mentions-sdks.ts (Standards 4, 9)
├── aadc/ (canonical ICO text mirror)
│ ├── 1-best-interests-of-the-child.md
│ ├── ... (15 standards + executive summary)
│ └── fetch.sh (refresh from ico.org.uk)
├── templates/
│ ├── AUDIT.md
│ ├── conformance-statement.md
│ ├── privacy-policy.md
│ └── incident-response.md
├── workflows/
│ └── aadc-ci.yml (drop-in GitHub Actions workflow)
├── examples/
│ └── README.md (per-language overrides cookbook)
├── tests/ (node:test suite + tests/fixtures/ project trees)
└── legacy-bash/
└── ... (original bash implementation; kept for
projects that can't depend on Node)Related jurisdictions
The 15 standards are broadly aligned with the new US state laws modelled on the UK AADC (California, South Carolina, Vermont, Nebraska, Maryland as of 2026). The audits here are a good starting point in those jurisdictions, but state-specific deltas should be reviewed separately.
Licence
MIT. The ICO Children's Code text mirrored under aadc/ is
published under the Open Government Licence v3.0. See LICENSE.
Development
npm run build # compile src/ to dist/ via tsconfig.json
npm test # compile via tsconfig.test.json and run the suitenpm test compiles the tests with tsconfig.test.json and runs
node:test against fixture project trees under tests/fixtures/. It
adds no new dependencies (it uses Node's built-in test runner), so it
runs anywhere the tool itself runs.
Contributing
The most useful contributions:
More language adapters (the audits cover Flutter, Node, Python, and vanilla web/JS today; React Native specifics, iOS-Swift-only, Android-Kotlin-only, .NET MAUI would all help).
New checks aligned to AADC standards we haven't automated (Standard 13 nudge-pattern detector especially).
Diff-against-ICO improvements to
aadc/fetch.shso wording drift surfaces as a structured PR.More fixtures under
tests/fixtures/covering stacks and edge cases the current suite doesn't.
Open issues / PRs at https://github.com/Paul-PSDigital/aadc-audit-mcp.
aadc-audit-mcp
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Paul-PSDigital/aadc-audit-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server