Compliance and sustainability Python

sdg-alignmentMap products, papers and grants to UN SDG targets, with evidence

sdg-alignment maps text to UN Sustainable Development Goal targets with the sentences that support each match, and checks SDG claims for wrong or misquoted targets, missing evidence and SDG-washing. It uses the official target wording and 2025 indicators and runs offline.

PyPI pip install sdg-alignment

Free · MIT license · runs on your machine · no signup PyPI ↗GitHub ↗

How sdg-alignment works

Grant forms ask which Sustainable Development Goals your project supports. University rankings count SDG-related papers. Companies put the colourful SDG icons in their reports, and software projects list goals in their READMEs. Most of these claims name a whole goal, give no evidence and no way to measure progress. Researchers who studied 1,370 organisations’ reports called the result SDG-washing.

sdg-alignment helps you do it properly. It reads your paper, proposal or product page and lists the SDG targets it discusses, with the exact sentences that show each one. You then choose the one to three targets your work really moves, and it checks your claims against the official UN text: wrong or misquoted targets, goal-only claims, evidence that is not in your document, overclaiming, targets meant for governments, too many priorities, and missing metrics. Finally it writes the result as a README table, a grant paragraph, or schema.org markup for your web page with the UN’s own target identifiers.

When we ran it over our own tools, it found real mistakes: six READMEs described a target as covering “digital services” when the official text says financial services. We fixed them.

Try it

pip install "sdg-alignment[pdf]"
sdg-alignment suggest my-proposal.pdf
sdg-alignment check README.md --kind software

Free and open source under the MIT license. Writing the impact section of a grant or a sustainability report and want it to hold up? Book a call.

Agent skill included

Let your AI coding agent run sdg-alignment for you

The sdg-alignment skill works with Claude Code, Codex, Cursor, Gemini CLI and other agents that read SKILL.md files. It runs the tool, explains each finding in plain words and helps you fix it.

npx skills add MuhammadAhmadZia/sdg-alignment --skill sdg-alignment

Using the Claude or ChatGPT apps instead? Download the skill ZIP from the GitHub releases page and upload it under Skills.

See all 30 agent skills →

Questions about sdg-alignment

Why work at target level instead of goal level?

Each goal covers many different targets. 'Supports SDG 9' could mean roads, small industry, research or internet access. Naming target 9.5 and showing how the work contributes is what reviewers and readers can actually check.

Can it tell me which SDGs my research is about?

It lists the targets your text discusses, with the sentences that show it, using the Aurora Universities Network queries. Their authors measured about 70% precision and 14% recall, so treat the list as a starting point. Whether your work contributes is your judgement, and the check command asks you to show it.

What counts as SDG-washing?

Broad claims without priorities, evidence or metrics, often goal icons on a report. Research on 1,370 organisations' sustainability reports found this superficial engagement in the vast majority of them. The check command flags the common patterns: goal-only claims, too many priorities, overclaiming, means-of-implementation targets claimed as direct, and descriptions that stretch a target beyond its official text.

Is the target list up to date?

Yes. It has all 169 targets and the 251 indicator entries of the UN list after the 2025 comprehensive review and the 2026 refinements, checked against the UN's own SDG API.

UN Sustainable Development Goals

How each tool maps to SDG targets →

Want this set up and tuned for your store?

The tools are free. If you would rather have the checks run, the findings fixed and the results measured for you, that is what I do for clients.