DPOLens is an MCP server published by com.dpolens, hosted at mcp.dpolens.com. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 4 tools, including search_policies, get_clause, list_documents, get_document.
Privacy law your AI assistant can cite: the exact clause and its version. GDPR and UAE PDPL today.
Nothing else in the archive shares these values.
Search the privacy law this community version holds. Call this before writing or changing code that collects, stores, logs, shares or deletes personal data, and before answering a question about what the law requires. What comes back is the clause itself, word for word, with the key, document and version to cite it by. Questions asked here are kept 30 days, with nothing about who asked.
| Parameter | Type | Description |
|---|---|---|
| lang | any | The language of the question, en or ar. Leave it out to have it read from the letters the question is written in |
| laws | any | Only these of the laws this organisation has selected, by slug, such as gdpr or uae-pdpl. Leave it out to search all of them |
| as_of | any | Read the documents as they stood on this date |
| limit |
None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
| integer |
| How many clauses to return |
| query * | string | The question, in words |
| include_explanatory | boolean | Include text that explains without obliging, such as a GDPR recital |
{
"name": "search_policies",
"title": "Search the law",
"description": "Search the privacy law this community version holds.\n\nCall this before writing or changing code that collects, stores, logs, shares or deletes\npersonal data, and before answering a question about what the law requires. What comes back\nis the clause itself, word for word, with the key, document and version to cite it by.\n\nQuestions asked here are kept 30 days, with nothing about who asked.",
"inputSchema": {
"type": "object",
"title": "search_policiesArguments",
"required": [
"query"
],
"properties": {
"lang": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Lang",
"default": null,
"description": "The language of the question, en or ar. Leave it out to have it read from the letters the question is written in"
},
"laws": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
{
"type": "null"
}
],
"title": "Laws",
"default": null,
"description": "Only these of the laws this organisation has selected, by slug, such as gdpr or uae-pdpl. Leave it out to search all of them"
},
"as_of": {
"anyOf": [
{
"type": "string",
"format": "date"
},
{
"type": "null"
}
],
"title": "As Of",
"default": null,
"description": "Read the documents as they stood on this date"
},
"limit": {
"type": "integer",
"title": "Limit",
"default": 10,
"maximum": 50,
"minimum": 1,
"description": "How many clauses to return"
},
"query": {
"type": "string",
"title": "Query",
"maxLength": 1000,
"minLength": 1,
"description": "The question, in words"
},
"include_explanatory": {
"type": "boolean",
"title": "Include Explanatory",
"default": false,
"description": "Include text that explains without obliging, such as a GDPR recital"
}
}
},
"outputSchema": {
"type": "object",
"$defs": {
"Match": {
"type": "object",
"title": "Match",
"required": [
"key",
"citation",
"text",
"breadcrumb",
"obliges",
"document",
"version",
"in_force_since",
"lang",
"authoritative",
"jurisdiction",
"trust_tier",
"source_url",
"score",
"cross_references"
],
"properties": {
"key": {
"type": "string",
"title": "Key",
"description": "The canonical key a citation points at"
},
"lang": {
"type": "string",
"title": "Lang"
},
"text": {
"type": "string",
"title": "Text",
"description": "The clause as it stands, word for word"
},
"score": {
"type": "number",
"title": "Score",
"description": "Higher is a better match. Comparable within one search only"
},
"obliges": {
"type": "boolean",
"title": "Obliges",
"description": "False for text that explains without obliging, such as a recital"
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Version"
},
"archived": {
"type": "boolean",
"title": "Archived",
"default": false,
"description": "True for a clause of a policy the organisation has archived, which no longer applies. Say so when citing it"
},
"citation": {
"type": "string",
"title": "Citation",
"description": "One line naming the clause, its version and its date"
},
"document": {
"type": "string",
"title": "Document"
},
"prevails": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Prevails",
"default": null,
"description": "For a clause shown in translation, the language whose text prevails"
},
"breadcrumb": {
"type": "array",
"items": {
"type": "string"
},
"title": "Breadcrumb",
"description": "Where the clause sits, outermost first"
},
"source_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Source Url",
"description": "Where the text was taken from, for a law"
},
"trust_tier": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Trust Tier",
"description": "verified when a named maintainer checked the pack against the official source, community when it passed validation only, null for an organisation's own policy"
},
"jurisdiction": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Jurisdiction",
"description": "Null for an organisation's own policy"
},
"authoritative": {
"type": "boolean",
"title": "Authoritative",
"description": "Whether this language is the one that prevails in law"
},
"in_force_since": {
"type": "string",
"title": "In Force Since",
"description": "The date this version took effect"
},
"prevailing_text": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Prevailing Text",
"default": null,
"description": "For a clause shown in translation, the text that prevails, word for word"
},
"cross_references": {
"type": "array",
"items": {
"type": "string"
},
"title": "Cross References",
"description": "Keys this clause's own words point at, to read with get_clause"
}
},
"description": "A clause a search returned, with what else it points at."
}
},
"title": "Found",
"required": [
"searched",
"results"
],
"properties": {
"results": {
"type": "array",
"items": {
"$ref": "#/$defs/Match"
},
"title": "Results"
},
"searched": {
"type": "string",
"title": "Searched",
"description": "What was searched, and as of when"
}
},
"description": "What a search found, best match first."
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}Read one clause by its key, with where it sits and what sits beneath it. Use it when a search result points at another clause, or when you need the whole of an article rather than the part that matched. The call is recorded, with the key that was read rather than a question.
| Parameter | Type | Description |
|---|---|---|
| key * | string | A canonical key, such as gdpr:art-17:para-1 |
| lang | string | Which language to prefer, as a two letter code |
| as_of | any | Read the clause as it stood on this date |
| whole_subtree | boolean | Also return this clause and everything beneath it in reading order, which is what you want for a whole article |
{
"name": "get_clause",
"title": "Read one clause",
"description": "Read one clause by its key, with where it sits and what sits beneath it.\n\nUse it when a search result points at another clause, or when you need the whole\nof an article rather than the part that matched. The call is recorded, with the\nkey that was read rather than a question.\n",
"inputSchema": {
"type": "object",
"title": "get_clauseArguments",
"required": [
"key"
],
"properties": {
"key": {
"type": "string",
"title": "Key",
"description": "A canonical key, such as gdpr:art-17:para-1"
},
"lang": {
"type": "string",
"title": "Lang",
"default": "en",
"description": "Which language to prefer, as a two letter code"
},
"as_of": {
"anyOf": [
{
"type": "string",
"format": "date"
},
{
"type": "null"
}
],
"title": "As Of",
"default": null,
"description": "Read the clause as it stood on this date"
},
"whole_subtree": {
"type": "boolean",
"title": "Whole Subtree",
"default": false,
"description": "Also return this clause and everything beneath it in reading order, which is what you want for a whole article"
}
}
},
"outputSchema": {
"type": "object",
"$defs": {
"Clause": {
"type": "object",
"title": "Clause",
"required": [
"key",
"citation",
"text",
"breadcrumb",
"obliges",
"document",
"version",
"in_force_since",
"lang",
"authoritative",
"jurisdiction",
"trust_tier",
"source_url"
],
"properties": {
"key": {
"type": "string",
"title": "Key",
"description": "The canonical key a citation points at"
},
"lang": {
"type": "string",
"title": "Lang"
},
"text": {
"type": "string",
"title": "Text",
"description": "The clause as it stands, word for word"
},
"obliges": {
"type": "boolean",
"title": "Obliges",
"description": "False for text that explains without obliging, such as a recital"
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Version"
},
"archived": {
"type": "boolean",
"title": "Archived",
"default": false,
"description": "True for a clause of a policy the organisation has archived, which no longer applies. Say so when citing it"
},
"citation": {
"type": "string",
"title": "Citation",
"description": "One line naming the clause, its version and its date"
},
"document": {
"type": "string",
"title": "Document"
},
"prevails": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Prevails",
"default": null,
"description": "For a clause shown in translation, the language whose text prevails"
},
"breadcrumb": {
"type": "array",
"items": {
"type": "string"
},
"title": "Breadcrumb",
"description": "Where the clause sits, outermost first"
},
"source_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Source Url",
"description": "Where the text was taken from, for a law"
},
"trust_tier": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Trust Tier",
"description": "verified when a named maintainer checked the pack against the official source, community when it passed validation only, null for an organisation's own policy"
},
"jurisdiction": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Jurisdiction",
"description": "Null for an organisation's own policy"
},
"authoritative": {
"type": "boolean",
"title": "Authoritative",
"description": "Whether this language is the one that prevails in law"
},
"in_force_since": {
"type": "string",
"title": "In Force Since",
"description": "The date this version took effect"
},
"prevailing_text": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Prevailing Text",
"default": null,
"description": "For a clause shown in translation, the text that prevails, word for word"
}
},
"description": "One clause, and what it takes to check it."
}
},
"title": "ClauseInContext",
"required": [
"clause",
"children",
"cross_references"
],
"properties": {
"now": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Now",
"default": null,
"description": "For a policy's clause read in a version that is no longer in force, where the same rule is in the version in force. A policy's keys follow its printed numbers, so the rule may have another key now"
},
"clause": {
"$ref": "#/$defs/Clause"
},
"subtree": {
"type": "array",
"items": {
"$ref": "#/$defs/Clause"
},
"title": "Subtree",
"description": "This clause and everything beneath it in reading order, when asked for"
},
"children": {
"type": "array",
"items": {
"$ref": "#/$defs/Clause"
},
"title": "Children",
"description": "The clauses directly beneath this one"
},
"formerly": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Formerly",
"default": null,
"description": "Set when this key named a different rule in the policy's version before"
},
"cross_references": {
"type": "array",
"items": {
"type": "string"
},
"title": "Cross References",
"description": "Keys this clause's own words point at"
}
},
"description": "One clause, where it sits, and what sits beneath it."
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}List the laws this community version can cite, and which version of each is in force.
| Parameter | Type | Description |
|---|---|---|
| as_of | any | List the documents in force on this date |
| limit | integer | How many to return |
| offset | integer | Skip this many first |
{
"name": "list_documents",
"title": "List what can be cited",
"description": "List the laws this community version can cite, and which version of each is in force.",
"inputSchema": {
"type": "object",
"title": "list_documentsArguments",
"properties": {
"as_of": {
"anyOf": [
{
"type": "string",
"format": "date"
},
{
"type": "null"
}
],
"title": "As Of",
"default": null,
"description": "List the documents in force on this date"
},
"limit": {
"type": "integer",
"title": "Limit",
"default": 50,
"maximum": 100,
"minimum": 1,
"description": "How many to return"
},
"offset": {
"type": "integer",
"title": "Offset",
"default": 0,
"minimum": 0,
"description": "Skip this many first"
}
}
},
"outputSchema": {
"type": "object",
"$defs": {
"Document": {
"type": "object",
"title": "Document",
"required": [
"slug",
"title",
"kind",
"version",
"in_force_since",
"clauses",
"languages",
"jurisdiction",
"trust_tier",
"source_url"
],
"properties": {
"kind": {
"type": "string",
"title": "Kind",
"description": "law, or org_policy for the organisation's own"
},
"slug": {
"type": "string",
"title": "Slug",
"description": "The name to pass to get_document"
},
"title": {
"type": "string",
"title": "Title"
},
"clauses": {
"type": "integer",
"title": "Clauses"
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Version"
},
"languages": {
"type": "array",
"items": {
"type": "string"
},
"title": "Languages"
},
"source_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Source Url"
},
"trust_tier": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Trust Tier"
},
"jurisdiction": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Jurisdiction"
},
"in_force_since": {
"type": "string",
"title": "In Force Since"
}
},
"description": "One document this instance can cite."
}
},
"title": "Documents",
"required": [
"documents",
"total"
],
"properties": {
"total": {
"type": "integer",
"title": "Total",
"description": "How many documents are in force, ignoring limit and offset"
},
"documents": {
"type": "array",
"items": {
"$ref": "#/$defs/Document"
},
"title": "Documents"
}
},
"description": "What this instance can cite today."
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}Read one document and its top level structure, without the text. The outline is where to find a clause key when you know roughly where to look. Read the words with get_clause. The call is recorded.
| Parameter | Type | Description |
|---|---|---|
| slug * | string | The document's slug, such as gdpr |
| as_of | any | Read the document as it stood on this date |
{
"name": "get_document",
"title": "Read one document's outline",
"description": "Read one document and its top level structure, without the text.\n\nThe outline is where to find a clause key when you know roughly where to look.\nRead the words with get_clause. The call is recorded.\n",
"inputSchema": {
"type": "object",
"title": "get_documentArguments",
"required": [
"slug"
],
"properties": {
"slug": {
"type": "string",
"title": "Slug",
"description": "The document's slug, such as gdpr"
},
"as_of": {
"anyOf": [
{
"type": "string",
"format": "date"
},
{
"type": "null"
}
],
"title": "As Of",
"default": null,
"description": "Read the document as it stood on this date"
}
}
},
"outputSchema": {
"type": "object",
"$defs": {
"Document": {
"type": "object",
"title": "Document",
"required": [
"slug",
"title",
"kind",
"version",
"in_force_since",
"clauses",
"languages",
"jurisdiction",
"trust_tier",
"source_url"
],
"properties": {
"kind": {
"type": "string",
"title": "Kind",
"description": "law, or org_policy for the organisation's own"
},
"slug": {
"type": "string",
"title": "Slug",
"description": "The name to pass to get_document"
},
"title": {
"type": "string",
"title": "Title"
},
"clauses": {
"type": "integer",
"title": "Clauses"
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Version"
},
"languages": {
"type": "array",
"items": {
"type": "string"
},
"title": "Languages"
},
"source_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Source Url"
},
"trust_tier": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Trust Tier"
},
"jurisdiction": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Jurisdiction"
},
"in_force_since": {
"type": "string",
"title": "In Force Since"
}
},
"description": "One document this instance can cite."
},
"OutlineEntry": {
"type": "object",
"title": "OutlineEntry",
"required": [
"key",
"label",
"heading",
"obliges",
"children"
],
"properties": {
"key": {
"type": "string",
"title": "Key"
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Label",
"description": "The numbering the document itself uses"
},
"heading": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Heading"
},
"obliges": {
"type": "boolean",
"title": "Obliges"
},
"children": {
"type": "integer",
"title": "Children",
"description": "How many clauses sit directly beneath this one"
}
},
"description": "What a top-level clause is, without what it says."
}
},
"title": "DocumentInDetail",
"required": [
"document",
"outline"
],
"properties": {
"outline": {
"type": "array",
"items": {
"$ref": "#/$defs/OutlineEntry"
},
"title": "Outline"
},
"document": {
"$ref": "#/$defs/Document"
}
},
"description": "One document and its top level.\n\nThe text is left out on purpose: a document of a thousand clauses does not\nbelong in one answer. Read the words with get_clause."
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}This is the DPOLens community version. It searches GDPR and the UAE's data protection law, and returns the clause itself, word for word, with the key, document and version to cite it by. Search DPOLens before writing or changing code that collects, stores, logs, shares or deletes personal data, and before answering a question about what a policy or the law requires. Personal data includes names, email addresses, phone numbers, postal addresses, identity document numbers, payment details, location, device identifiers, IP addresses, and anything else that can be linked back to a person. Do not answer from memory. A remembered article number is not a citation, and the version in force here may not be the version you were trained on. Quote the clause you relied on and give its key, document and version, so the person reading your code can check it. Questions that work well: how long can we keep a deleted user's account data do we need consent to log IP addresses for debugging what has to happen when somebody asks for a copy of their data Start with search_policies. Use get_clause when a result points at another clause, or when you need the whole of an article rather than the part that matched. list_documents and get_document say what this version can cite at all. DPOLens returns what the documents say. It does not decide whether something is lawful, and a question with real consequences belongs with the people responsible for it. An organisation that runs DPOLens itself searches its own policies beside the law, with a log of every question and every change: github.com/alkhatibdev/dpolens. Questions asked here are kept 30 days, with nothing about who asked: dpolens.com/privacy.
Names, descriptions and schemas were written by the server and are shown as data.