The same record for code, people and AI.
Read the public registry over HTTPS, or connect an AI assistant to the PubliQR MCP server. Organisations add private assets and inspection workflows with an API key.
Connect an AI assistant (MCP)
PubliQR runs a remote MCP server over Streamable HTTP. Without a key it serves the public demo; with a key it also serves your organisation's private assets.
| Client | How to connect |
|---|---|
| Claude | Settings → Connectors → add a custom connector with the URL https://mcp.publiqr.network/mcp |
| ChatGPT | Add PubliQR as a connector or app with the same URL |
| Claude Code, Cursor, own agents | Remote URL with the header Authorization: Bearer pq_live_…, or the local stdio server |
Tools
| Tool | What it does | Type |
|---|---|---|
| resolve_asset | Full KYA record for a PubliQR ID or QR code | Read |
| find_assets_by_class | Search assets by class, country, KYA level, chain and text | Read |
| get_legal_structure | Parties, instruments, rights and legal documents | Read |
| get_token_representations | Every token for an asset, per chain, with the rights behind it | Read |
| verify_attestation | Attestations with validity today and evidence hashes | Read |
| find_assets | Search an organisation's operational assets; rank those needing attention | Read |
| get_asset | Operational detail: status, condition, open defects, work orders | Read |
| get_inspection_history | Inspections and a full timeline for one asset | Read |
| get_open_issues | Open defects, overdue inspections, work orders, expiring documents | Read |
| get_asset_documents | Documents with validity | Read |
| create_inspection | Plan an inspection (two-step confirmation) | Write |
| record_inspection_result | Record a result, findings and fixed defects (two-step confirmation) | Write |
| generate_report | Create a stored report in Markdown | Creates a report |
Write tools return a preview and a one-time confirmation token first. The change happens only when the same call is repeated with the token. Every call is logged with the organisation, key and outcome.
Public registry API
Two functions, no key needed:
POST https://api.publiqr.network/rest/v1/rpc/public_resolve
Content-Type: application/json
{ "p_id": "PQ-ES-EN-00001-6" }
POST https://api.publiqr.network/rest/v1/rpc/public_registry
{ "p_class": "renewable_energy", "p_country": null, "p_q": null, "p_min_level": 3 }
The response of public_resolve is the full KYA record: identity, KYA level and notes, parties, instruments with rights and tokens, attestations with validity, latest valuation and documents. See the example in the white paper.
Validate an ID before you call
function pqValid(id) {
if (!/^PQ-[A-Z]{2}-[A-Z]{2}-\d{5}-\d$/.test(id)) return false;
let s = 0; const body = id.slice(0, 14);
for (let i = 1; i <= body.length; i++) s += body.charCodeAt(i - 1) * (i % 7 + 1);
return s % 10 === Number(id.slice(-1));
}
Your ERP and maintenance systems
Most organizations already keep their assets in an ERP or maintenance system: the fixed-asset register, the work orders and the inspection history. PubliQR does not replace any of it. A PubliQR ID sits on the record you already have, so the asset in your books and the asset in the KYA register are provably the same one.
- From your system to PubliQR: asset data, maintenance and inspection events become evidence in the living KYA record.
- From PubliQR to your system: the KYA level and its status appear next to the asset, through the same API.
Ready-made connectors for common ERP and asset management systems are planned. Tell us which system you use, and we will prioritize it.
Keys, environments and limits
- DEMO and PRODUCTION organisations use the same tools. The key decides which organisation a call reaches, and every response states its environment.
- Keys are shown once, stored only as a hash, scoped to read or read+write, and can be revoked at once.
- Rate limits apply per key. Errors come back with a code and a plain-language message.
Protocol
The identifier, the data model and the KYA level rules are described in the KYA white paper, version 0.1. Comments are welcome before v1.0.