> ## Documentation Index
> Fetch the complete documentation index at: https://docs.niadra.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Analysis MCP

> Base-wide queries as MCP tools, so another LLM can ask about all customers.



## OpenAPI

````yaml openapi/en/cell.json POST /mcp/insights
openapi: 3.1.0
info:
  title: Niadra data API
  version: '1'
  description: >-
    Writing, context, history, objects, identity, privacy and governance of one
    space. Every space has a stable address, with the space and the region in
    its name.
servers:
  - url: https://{space}.{region}.api.niadra.com
    variables:
      space:
        default: acme-prod
        description: The space, which comes in the source key.
      region:
        default: us-east-1
        description: The region of the space, which also comes in the key.
security: []
paths:
  /mcp/insights:
    post:
      summary: Analysis MCP
      description: >-
        JSON-RPC 2.0 over HTTP, one message per request; tool failures come back
        as `isError` results.


        **Authentication.** Source key with the `analytics` scope, or a Console
        person token with the analysis role (or admin). People with the vendor
        role have no access.
      operationId: mcp_mcp_insights_post
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: The JSON-RPC 2.0 answer to the message.
      security:
        - sourceKey: []
components:
  securitySchemes:
    sourceKey:
      type: http
      scheme: bearer
      description: nia_sk_...

````