Skip to content

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

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

URLWhat it holds
/data/graph-permissions.jsonEvery permission with its IDs, descriptions, privilege level, APIs (method, path, v1.0/beta, least privileged flags, cmdlets) and resources.
/data/index.jsonA compact index for search and the finder: permissions, API paths with flags, and cmdlet lookups.
/permission.csv, /permissions.csvThe CSV exports the old site published, kept at the same URLs.
/changes/rss.xmlNew 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

Esc

Type a permission name, paste an API path or URL, or a PowerShell cmdlet.