Digital Public Goods & AI Blocks

DPGs as AI Blocks

Existing Digital Public Goods expose callable functions that can act as AI Blocks within DPI Workflows. A growing ecosystem is becoming MCP-compatible — enabling AI agents to invoke them directly.

The Connection

DPGs extend the AI Blocks ecosystem

The DPG ecosystem creates a reinforcing cycle: existing DPGs provide callable infrastructure (identity verification, civil registration, health records, payments) that AI Blocks can invoke. New DPGs can be purpose-built as AI Blocks from the outset. And AI Blocks can themselves qualify as Digital Public Goods when they meet the DPGA standards.

Qualification criteria: An AI Block qualifies as a Digital Public Good when it is: (1) open-source or governed by open standards; (2) declares its training data provenance; (3) embeds privacy and consent controls; (4) designed for replaceability rather than lock-in; and (5) helps attain the SDGs.
DPG Catalogue

Key DPGs and their AI Block interfaces

🪪

OpenCRVS

Civil Registration

Open-source civil registration and vital statistics system. Enables birth, death, and marriage registration with biometric identity linkage.

registry.create_birth_record()
registry.verify_citizen()
registry.check_duplicate()
certificate.generate()
DPG Certified REST API OpenFn Adaptor
💸

Mojaloop

Payments & Financial Inclusion

Open-source payment platform designed for interoperable, real-time, inclusive digital payments. Used for benefit disbursements, G2P payments, and merchant payments.

payments.disburse()
payments.verify_account()
payments.bulk_transfer()
DPG Certified REST API OpenFn Adaptor
🏥

DHIS2

Health Information

The world's largest health information management system. Aggregates health data from facility to national level, enabling evidence-based health policy and AI decision support.

health.get_patient_record()
health.submit_report()
vaccine.verify_certificate()
DPG Certified REST API OpenFn Adaptor
🤝

OpenIMIS

Social Protection & Insurance

Open-source insurance management information system for social health protection programs. Manages enrollment, eligibility, claims, and benefit payments.

insurance.check_eligibility()
insurance.process_claim()
beneficiary.enroll()
DPG Certified REST API GraphQL
🗂️

Sunbird RC

Registries & Verifiable Credentials

Low-code framework for building electronic registries and issuing W3C Verifiable Credentials. Auto-generates CRUD REST APIs from schema configuration — no custom backend required. Powers national registries across health, education, and civil services. Issued 2B+ COVID certificates in India, Indonesia, Philippines, Sri Lanka, and Jamaica. Integrated with DigiLocker and DIGIT.

registry.create_entity(schema, data)
registry.search(schema, query)
credential.issue(schema, subject)
credential.verify(vc_id)
attestation.request(entity_id)
DPG Certified REST API OpenAPI Spec W3C VC

OpenFn

Workflow & Integration

Open-source workflow automation platform designed for the social sector. Connects DPGs and enables DPI Workflow orchestration. Used by UN agencies, governments, and NGOs in 40+ countries. June 2025: Launched AI Assistant for plain-language workflow generation and a template library (DHIS2, FHIR, CommCare, KoboToolbox), alongside a new MCP server interface enabling AI agents to trigger and inspect OpenFn workflows directly.

workflow.trigger(workflow_id)
workflow.ai_generate(description)
data.sync(source, destination)
notification.send(channel, msg)
DPG Certified REST API MCP Server (June 2025) AI Assistant
🛡️

iGrant.io / Consent Manager

Consent & Data Governance

Open-source consent management and data governance infrastructure. Enables citizens to manage data permissions, view consent records, and revoke access — a critical AI Block for any DPI Workflow involving personal data.

consent.verify(citizen_id, purpose)
consent.record(token)
consent.revoke(citizen_id)
DPG Certified REST API
🗺️

OpenStreetMap / GIS Commons

Geospatial & Crisis Response

Open geospatial data infrastructure. Critical for crisis response workflows — identifying affected populations, routing aid, and mapping service coverage. Provides the data layer for area_classify() AI Blocks.

gis.identify_population(polygon)
gis.get_service_coverage()
area.classify_risk()
Open Data REST API Overpass API
🪪

MOSIP

Digital Identity · Biometrics

Modular Open Source Identity Platform — one of the most widely deployed open-source identity platforms globally. Used by countries across Africa and Asia to issue national IDs with biometric verification. Exposes robust identity APIs that are AI Block-ready for identity_verify() and enrollment workflows. Comprehensive OpenAPI/Swagger specs across all versions; eSignet provides OpenID Connect layer.

identity.verify(id, biometric)
identity.enroll(citizen_data)
identity.authenticate(token)
identity.deduplicate()
DPG Certified REST API OpenID Connect MCP-Wrappable · No Native MCP
📲

Inji (MOSIP Foundation)

Verifiable Credentials · Wallet

Inji is an open-source verifiable credentials wallet and issuance platform from the MOSIP Foundation. Enables citizens to hold and present tamper-proof digital credentials (ID, health records, education certificates) via mobile. Critical for AI workflows that need to verify credentials without querying a central registry on every interaction. Implements OpenID4VCI draft 13 — structured REST endpoints, predictable for MCP wrapping.

credential.verify(vc_token)
credential.present(citizen_wallet)
credential.issue(identity_data)
DPG Certified W3C VC Standard OpenID4VCI MCP-Wrappable · No Native MCP
🔐

CREDEBL

SSI · Decentralised Identity

CREDEBL is an open-source Self-Sovereign Identity (SSI) platform that enables governments and institutions to issue, manage, and verify W3C Verifiable Credentials at scale. Now an LF Decentralized Trust project. Built for high-volume credential issuance with enterprise-grade governance. Microservices REST architecture (API Gateway); supports multiple ledgers and ledger-less issuance (did:web, did:key, did:peer).

credential.issue_vc(schema, data)
credential.verify_proof(vc)
credential.revoke(vc_id)
did.resolve(did_identifier)
DPG Certified W3C VC · DID AnonCreds MCP-Wrappable · No Native MCP
🔑

walt.id

Verifiable Credentials · Developer SDK

walt.id provides open-source infrastructure for decentralised identity and verifiable credentials. Widely used by developers building identity-first applications. Supports W3C DID, W3C VCs, SD-JWT (selective disclosure), and OpenID4VC protocols — making it the most interoperable VC toolkit available. Excellent for wrapping as an AI Block in identity verification workflows.

did.create(method)
vc.issue(credential_data)
vc.verify(presentation)
wallet.present_credentials()
Open Source W3C DID · VC SD-JWT · OID4VC MCP-Ready (REST) Enterprise support
🔗

X-Road

Data Exchange & Interoperability

Open-source secure data exchange layer developed by Estonia and Finland (NIIS). The backbone interoperability infrastructure for 20+ governments including Iceland, Faroe Islands, Ukraine, and others. Enables any-to-any secure API calls between government registries — critical DPI plumbing for AI workflows that need to query multiple registries without custom point-to-point integrations.

registry.query(service_id, params)
data.exchange_secure(source, target)
service.discover(subsystem_code)
audit.log_transaction()
DPG Certified REST & SOAP OpenAPI MCP-Wrappable
📱

Diia

Digital Government Services

Ukraine's government digital services super-app, open-sourced for global adoption. First country in the world where digital passports are legal equivalents of physical documents. 14M+ citizens use Diia for 11 digital document types and 70+ government services. Available for other governments to adapt under a public license via Diia.Open Source.

citizen.verify_document(doc_type)
identity.authenticate_digital()
service.check_eligibility(citizen_id)
document.issue_digital(template)
Open Source REST API BankID / eSign MCP-Wrappable
🔐

QuarkID

Decentralised Identity · SSI

Decentralised digital identity protocol developed by the Government of Buenos Aires. DPG certified. Empowers 3.6M citizens with self-sovereign digital identities (DID) anchored on zkSync Era (ZK-proofs), based on W3C DID standards and Trust Over IP. The first government-led blockchain-based SSI at city scale, using zero-knowledge cryptography for privacy-preserving verification.

did.create_identity(citizen_data)
credential.issue_verifiable(schema)
identity.verify_zk(proof)
wallet.present_selective(attrs)
DPG Certified W3C DID · VC ZK Proofs MCP-Wrappable
🏥

OpenMRS

Electronic Medical Records

The leading open-source electronic medical records platform for low- and middle-income countries, deployed in 44+ countries. OpenMRS v3 (2024) adds a modern interface, FHIR R4 support, and enhanced interoperability with OpenHIE, laboratory systems, and mHealth apps. Used by MSF, Ministries of Health, and global health programs for primary and specialized care data management.

patient.get_record(patient_id)
clinical.submit_encounter(data)
diagnosis.retrieve_history()
fhir.query_resource(type, params)
DPG Certified REST API FHIR R4 MCP-Wrappable
💳

OpenG2P

Social Protection & G2P Payments

End-to-end open-source platform for government-to-person (G2P) benefit delivery. Manages beneficiary social registries, program eligibility rules, and digital cash transfer delivery. Integrates natively with MOSIP (identity), Mojaloop (payments), and OpenCRVS (civil records). Supports offline registration, verifiable credentials, and self-service portals for beneficiary data updates. DPG certified and backed by UNDP Digital X.

beneficiary.check_eligibility(id)
registry.enroll_citizen(data)
payment.disburse_g2p(amount)
registry.sync_from_source(api)
DPG Certified REST API OpenFn Compatible MCP-Wrappable
🌾

OpenSPP

Social Protection & Agriculture

Open-source social protection platform optimised for agricultural programs, farmer registries, and rural benefit delivery. Built on OpenG2P foundations with modules for input subsidies, crop insurance, and agri-program eligibility. Integrates OpenCRVS, MOSIP, and DHIS2 for end-to-end social protection workflows in farming communities.

farmer.verify_eligibility(farmer_id)
subsidy.calculate_entitlement()
registry.sync_beneficiaries()
program.enroll(criteria)
DPG Certified REST API OpenFn Adaptor MCP-Wrappable
MCP Readiness

DPGs moving toward MCP compatibility

The Model Context Protocol (MCP) enables AI agents to invoke DPGs as callable tools with governed context exchange. OpenFn launched native MCP server support in June 2025 — the first DPG to do so. All others can be wrapped as MCP tool servers via their REST APIs, and native integration is an emerging capability across the ecosystem.

Identity & Credentials — MOSIP · Inji · CREDEBL

Evaluated March 2026. No native MCP support found in any repository. All three expose REST APIs wrappable as MCP tool servers.

✓ API-Ready

MOSIP

Most mature API surface of the three. Comprehensive OpenAPI/Swagger specs across all versions (1.1.5, 1.2.0+). eSignet exposes an OpenID Connect authentication layer. No native MCP; straightforward to wrap identity.verify() and authenticate() endpoints as MCP tools. High wrappability.

✓ API-Ready

Inji

OpenID4VCI-compliant REST APIs (draft 13). Inji Certify exposes structured credential issuance endpoints; Inji Web adds a browser wallet layer. Standards compliance (W3C VC, OpenID4VCI) makes MCP wrapping predictable and interoperable. No native MCP. Moderate-to-high wrappability.

✓ API-Ready

CREDEBL

Microservices REST architecture (API Gateway port 5000/api). Built on Hyperledger Aries/Indy; supports W3C DIDs, AnonCreds, and ledger-less issuance (did:web, did:key). Now an LF Decentralized Trust project. API docs less publicly indexed than MOSIP/Inji — review GitHub directly. Moderate wrappability; no native MCP.

All DPGs — MCP Readiness Status 2026

DPGs with well-documented REST APIs are MCP-ready in principle — they can be wrapped as MCP servers without code changes to the DPG itself. Native MCP support is emerging across the ecosystem.

✓ Native MCP (June 2025)

OpenFn

First DPG with a native MCP server interface (June 2025 release). AI agents can now trigger workflows, inspect run logs, and query adaptor schemas directly via MCP. Also added AI Assistant for plain-language workflow generation. See release blog →

✓ API-Ready

OpenCRVS

REST API well-documented. GraphQL layer. MCP wrapper straightforward via existing OpenFn adaptor.

✓ API-Ready

Mojaloop

Open API spec published. FSPIOP REST protocol. MCP wrapper straightforward.

✓ API-Ready

DHIS2

Comprehensive REST API with OpenAPI docs. Active developer community. Adaptor available.

✓ API-Ready

X-Road

REST and SOAP service interfaces with standardised security headers. Well-documented management REST API. High wrappability as an MCP gateway layer between registries.

✓ API-Ready

OpenG2P

REST API with registry and payment endpoints. Compatible with OpenFn. MCP wrapping straightforward for eligibility and disbursement workflows.

✓ API-Ready

OpenMRS

REST API and FHIR R4 endpoints. Well-indexed developer docs. FHIR compliance makes MCP wrapping standards-aligned and predictable.

✓ API-Ready

QuarkID

W3C DID REST endpoints. ZK proof verification via blockchain anchoring. MCP-wrappable for identity and credential verification tools.

✓ API-Ready

Diia

REST APIs for digital document verification and citizen authentication. Open-sourced for government adoption. MCP-wrappable for document verification flows.

✓ API-Ready

OpenSPP

REST API built on OpenG2P. OpenFn adaptor available. Eligibility and registry sync endpoints wrap cleanly as MCP tools.

✓ API-Ready

Sunbird RC

Auto-generates REST CRUD APIs from schema config. OpenAPI spec (opensaber_api_spec.yaml) published on GitHub. W3C VC issuance and verification endpoints wrap cleanly as MCP tools for registry lookups and credential flows.

→ Roadmap

OpenIMIS

GraphQL API available; MCP wrapper on community roadmap.

Build an AI Block on top of a DPG

The pattern: Wrap, Spec, Govern

Any DPG with a REST API can be wrapped as an AI Block. The pattern is always the same: wrap the API call, declare the governance spec, and make it callable from a workflow engine.

# Example: Wrap OpenCRVS as an AI Block # file: ai_blocks/opencrvs_verify.yaml ai_block: id: "civil_registry_verify_v1" description: "Verify a citizen identity against OpenCRVS civil registry" type: sector_specific domain: civil_registration underlying_dpg: "opencrvs@2.1" interface: inputs: national_id: {type: string, required: true} date_of_birth: {type: string, format: date} consent_token: {type: string, format: jwt, required: true} outputs: verified: {type: boolean} record_ref: {type: string} confidence: {type: number} implementation: type: rest_api endpoint: "https://opencrvs.gov.example/api/v1/citizens/verify" auth: bearer_token auth_ref: "vault://opencrvs/api-key" governance: pii_fields: [national_id, date_of_birth] audit_logging: true confidence_threshold: 0.95 on_low_confidence: human_review

→ This block can now be called from any DPI Workflow as ai.civil_registry_verify_v1() — with governance, audit logging, and replaceability built in.

→ Learn more about AI Block specifications · → Implementation Guide