API and AI access
Everything on this site is available to scripts and AI agents, free, with no key. The data is rebuilt twice a day from Microsoft's docs.
For AI agents
- Markdown pages. Replace
.htmlwith.mdon any permission page, for example /permission/User.Read.All.md. - llms.txt lists the site for agents, and llms-full.txt holds every permission and its APIs in one file.
- Ask AI buttons on each permission page open Claude or ChatGPT with the page as context, or copy it as Markdown.
MCP server
The Graph Permissions MCP server gives agents five tools: find_least_privileged (a list of calls in, the smallest permission set out), get_permission, compare_permissions, what_changed and get_skill.
It comes with a built-in skill that tells the agent how to choose permissions accurately: collect every call first, pick application or delegated, keep /me and /users/{id} apart, and handle property-only permissions. Agents get it as the server's instructions, as the resource skill://graph-permissions/SKILL.md, as the least-privilege prompt and through the get_skill tool, so there's nothing extra to install.
Add it to Claude, VS Code or any MCP client:
{
"mcpServers": {
"graph-permissions": {
"type": "http",
"url": "https://mcp.graph.pm/mcp"
}
}
} The server code is in the mcp folder of the repo and reads the same JSON as this site.
Want your agent to call Microsoft Graph too, not just plan permissions? Use Lokka, the MCP server for Microsoft 365, and add the graph.pm skill so it writes correct Graph queries: npx skills add merill/msgraph.
JSON data
| URL | What it holds |
|---|---|
| /data/graph-permissions.json | Every permission with its IDs, descriptions, privilege level, APIs (method, path, v1.0/beta, least privileged flags, cmdlets) and resources. |
| /data/index.json | A compact index for search and the finder: permissions, API paths with flags, and cmdlet lookups. |
| /permission.csv, /permissions.csv | The CSV exports the old site published, kept at the same URLs. |
| /changes/rss.xml | New and changed permissions as an RSS feed. |
PowerShell example:
$data = Invoke-RestMethod https://graphpermissions.merill.net/data/graph-permissions.json
$data.permissions | Where-Object name -eq 'User.Read.All' | Select-Object -ExpandProperty apis Link formats
- Finder with calls filled in:
https://graphpermissions.merill.net/finder.html?q=GET /users|GET /groups(add&type=delfor delegated). - Compare:
https://graphpermissions.merill.net/compare.html?a=User.Read.All&b=Directory.Read.All