Koskamo

BrainKB MCP

An official Model Context Protocol server for the BrainKB neuroscience knowledge graph. It allows AI agents to interact with the knowledge base by ingesting RDF data, searching entities, executing vetted scientific questions, and tracing provenance for every change, all while maintaining per-caller identity and access control.

Endpoint and access

No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.

BrainKB MCP logo, by BrainKBVendor evidenceStreamable HTTPNo sign-inEndpoint checked 2026-11-23Operated by BrainKB
You need:Sign in with Globus, ORCID or GitHub, keep a personal access token, and let admins manage roles and permissions.Add https://mcp.brainkb.org/mcp to your client and skip login.
MCP endpoint (Streamable HTTP)
https://mcp.brainkb.org/mcp
Vendor documentation

What its tools do

72 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

Not annotated (72)

72 of 72 have a description · 0 of 72 declare behavior hints · 0 of 61 with parameters document them all

Checks and signals

Each line is separate evidence, not a trust score.

  • Passed Endpoint answered the live check ·
  • Passed Official MCP Registry namespace is tied to brainkb.org ·
  • Passed Endpoint is on the registry namespace domain ·
  • Uptime 100% over 90 days
  • Availability 2 of 2 checks passed in 30 days
  • Popularity 6 GitHub stars

About BrainKB MCP

BrainKB MCP provides access to the BrainKB neuroscience knowledge graph. It allows AI agents to ingest RDF data, search for entities, and execute vetted scientific questions. The system also traces the provenance of every change, maintaining per-caller identity and access control.

This server suits tasks involving ready-made questions about cells, markers, and phenotypes. It supports ingesting RDF files into private or public workspaces. Agents can search and read entities within the graph and review the history of contributions.

Add the endpoint to your client and skip login to connect. Individual tools may still need a vendor account, credentials, or permissions. You must sign in with Globus, ORCID, or GitHub, keep a personal access token, and let admins manage roles.

What you can do with it

  • Ingest RDF files into private or public workspaces
  • Search and read entities within the neuroscience knowledge graph
  • Execute ready-made questions about cells, markers, and phenotypes
  • Trace provenance history of graph changes and contributions

Source and maintenance

Vendor evidenceRegistry 0.1.0
Last repository push
Maintenance checked

Protocol and capabilities

Server
brainkb 1.30.0
MCP protocol negotiated in check
2025-11-25
Tools
72 advertised
Resources
0 advertised
Resource templates
0 advertised
Prompts
0 advertised
Server-advertised capabilities
{
  "tools": {
    "listChanged": false
  },
  "prompts": {
    "listChanged": false
  },
  "resources": {
    "subscribe": false,
    "listChanged": false
  },
  "experimental": {}
}

Tools

72 advertised

brainkb_login
Advertised by the server during the last successful anonymous check.

Authenticate to BrainKB with the user's credentials and cache the JWT for THIS session only (isolated per caller). The password/token are never echoed. Uses single sign-on: one login mints a refresh token, cached for THIS session, which is exchanged on demand for per-service access tokens (query_service, usermanagement, …). Falls back to a legacy per-service token if the backend has no SSO. On the hosted multi-user remote you can skip this and instead have your client send an 'Authorization: Bearer <token>' header (a refresh token unlocks all services).

brainkb_login input schema
{
  "type": "object",
  "title": "brainkb_loginArguments",
  "required": [
    "email",
    "password"
  ],
  "properties": {
    "email": {
      "type": "string",
      "title": "Email"
    },
    "base_url": {
      "type": "string",
      "title": "Base Url",
      "default": ""
    },
    "password": {
      "type": "string",
      "title": "Password"
    }
  }
}
brainkb_login output schema
{
  "type": "object",
  "title": "brainkb_loginOutput",
  "required": [
    "result"
  ],
  "properties": {
    "result": {
      "type": "string",
      "title": "Result"
    }
  }
}
brainkb_globus_login
Advertised by the server during the last successful anonymous check.

Start an OAuth login (Globus / ORCID / GitHub) for THIS session — use this instead of brainkb_login when the user signs in with Globus rather than a password. Returns a URL to open in a browser; after signing in, the page shows a short one-time code — pass it to brainkb_finish_login(code) to complete. (The browser step is unavoidable: only the user can consent at the provider.)

brainkb_globus_login input schema
{
  "type": "object",
  "title": "brainkb_globus_loginArguments",
  "properties": {
    "base_url": {
      "type": "string",
      "title": "Base Url",
      "default": ""
    },
    "provider": {
      "type": "string",
      "title": "Provider",
      "default": "globus"
    }
  }
}
brainkb_globus_login output schema
{
  "type": "object",
  "title": "brainkb_globus_loginOutput",
  "required": [
    "result"
  ],
  "properties": {
    "result": {
      "type": "string",
      "title": "Result"
    }
  }
}
brainkb_finish_login
Advertised by the server during the last successful anonymous check.

Complete an OAuth login started with brainkb_globus_login by exchanging the one-time code shown in the browser for a session token. The code is single-use and never echoed back.

brainkb_finish_login input schema
{
  "type": "object",
  "title": "brainkb_finish_loginArguments",
  "required": [
    "code"
  ],
  "properties": {
    "code": {
      "type": "string",
      "title": "Code"
    },
    "base_url": {
      "type": "string",
      "title": "Base Url",
      "default": ""
    }
  }
}
brainkb_finish_login output schema
{
  "type": "object",
  "title": "brainkb_finish_loginOutput",
  "required": [
    "result"
  ],
  "properties": {
    "result": {
      "type": "string",
      "title": "Result"
    }
  }
}
brainkb_logout
Advertised by the server during the last successful anonymous check.

Forget the cached token for this session.

brainkb_logout input schema
{
  "type": "object",
  "title": "brainkb_logoutArguments",
  "properties": {}
}
brainkb_logout output schema
{
  "type": "object",
  "title": "brainkb_logoutOutput",
  "required": [
    "result"
  ],
  "properties": {
    "result": {
      "type": "string",
      "title": "Result"
    }
  }
}
brainkb_whoami
Advertised by the server during the last successful anonymous check.

Report the current caller's auth state (email, authenticated, and when the cached session expires). When signed in it also returns base_url — the backend THIS SERVER talks to, which on a hosted deployment is an internal address and says nothing about the caller's own machine.

brainkb_whoami input schema
{
  "type": "object",
  "title": "brainkb_whoamiArguments",
  "properties": {}
}
brainkb_whoami output schema
{
  "type": "object",
  "title": "brainkb_whoamiOutput",
  "required": [
    "result"
  ],
  "properties": {
    "result": {
      "type": "object",
      "title": "Result",
      "additionalProperties": true
    }
  }
}
brainkb_create_token
Advertised by the server during the last successful anonymous check.

Generate a Personal Access Token (PAT) for browser-free auth. Requires you to be logged in already (brainkb_login or brainkb_globus_login). The token is shown ONCE and never again — copy it and set it as BRAINKB_TOKEN in your MCP/skill config; then no login or browser is needed until it expires. `name`: a label so you can tell tokens apart (e.g. 'laptop'). `days`: lifetime (default 90, server-capped). Treat the returned token like a password.

brainkb_create_token input schema
{
  "type": "object",
  "title": "brainkb_create_tokenArguments",
  "properties": {
    "days": {
      "type": "integer",
      "title": "Days",
      "default": 90
    },
    "name": {
      "type": "string",
      "title": "Name",
      "default": ""
    }
  }
}
brainkb_list_tokens
Advertised by the server during the last successful anonymous check.

List your Personal Access Tokens (metadata only — the secret is never shown): id, name, prefix, created/last-used/expiry, and whether each is active/revoked/expired. Use the id with brainkb_revoke_token.

brainkb_list_tokens input schema
{
  "type": "object",
  "title": "brainkb_list_tokensArguments",
  "properties": {}
}
brainkb_revoke_token
Advertised by the server during the last successful anonymous check.

Revoke one of your Personal Access Tokens by id (see brainkb_list_tokens). Takes effect immediately — the next call using that token fails.

brainkb_revoke_token input schema
{
  "type": "object",
  "title": "brainkb_revoke_tokenArguments",
  "required": [
    "token_id"
  ],
  "properties": {
    "token_id": {
      "type": "integer",
      "title": "Token Id"
    }
  }
}
brainkb_use_token
Advertised by the server during the last successful anonymous check.

Use a Personal Access Token (brainkb_pat_...) for THIS session — an alternative to setting BRAINKB_TOKEN in the config. Validates the token, then caches it so subsequent calls authenticate with it. The token is never echoed.

brainkb_use_token input schema
{
  "type": "object",
  "title": "brainkb_use_tokenArguments",
  "required": [
    "token"
  ],
  "properties": {
    "token": {
      "type": "string",
      "title": "Token"
    },
    "base_url": {
      "type": "string",
      "title": "Base Url",
      "default": ""
    }
  }
}
brainkb_use_token output schema
{
  "type": "object",
  "title": "brainkb_use_tokenOutput",
  "required": [
    "result"
  ],
  "properties": {
    "result": {
      "type": "string",
      "title": "Result"
    }
  }
}
brainkb_list_spaces
Advertised by the server during the last successful anonymous check.

List spaces the user can see (their own/member spaces + public ones), each annotated with THIS caller's permission so you know what they may do: - your_role: 'owner' | 'editor' | 'viewer' | null (their space membership, including a role inherited from a parent space) - role_inherited: the role comes from a parent space, not this one - parent_slug: the parent space, when this is a subspace the caller can see the parent of (build the tree from it) - is_owner: they own the space - access: 'owner' | 'member' | 'public' (how it's available to them) - can_write: their space role permits ingest (owner/editor) — a real ingest also needs the 'ingest' capability + any per-space access rules. Use this to tell the user which spaces they can read vs. write vs. only see as public. No login needed: an unauthenticated caller gets the public spaces only (read-only). Log in to also see your own/member spaces. `owner` is shown only for spaces the caller is a member of; a public space read by a non-member never exposes its owner's email.

brainkb_list_spaces input schema
{
  "type": "object",
  "title": "brainkb_list_spacesArguments",
  "properties": {}
}
brainkb_create_space
Advertised by the server during the last successful anonymous check.

Create a workspace/space, or a subspace inside one. The caller becomes owner. slug: lowercase/hyphen id, **globally unique** — if it's already taken the call returns 409 (pick another slug). visibility: 'private' or 'public' (set per space: a private space may hold a public subspace); description: short human description (recommended — surfaces in the registry); space_type: 'individual' (a personal space — any write-capable role) or 'team' (a shared space — only Admin/SuperAdmin, or a user granted create_team_space). parent_slug: create it as a **subspace** of that space (any depth). Needs the right to manage the parent; the subspace takes the parent's space_type, and everyone with a role in the parent (or above) gets the same role in it. A subspace can't be moved to another parent later.

brainkb_create_space input schema
{
  "type": "object",
  "title": "brainkb_create_spaceArguments",
  "required": [
    "slug",
    "name"
  ],
  "properties": {
    "name": {
      "type": "string",
      "title": "Name"
    },
    "slug": {
      "type": "string",
      "title": "Slug"
    },
    "space_type": {
      "type": "string",
      "title": "Space Type",
      "default": "individual"
    },
    "visibility": {
      "type": "string",
      "title": "Visibility",
      "default": "private"
    },
    "description": {
      "type": "string",
      "title": "Description",
      "default": ""
    },
    "parent_slug": {
      "type": "string",
      "title": "Parent Slug",
      "default": ""
    }
  }
}
brainkb_get_space
Advertised by the server during the last successful anonymous check.

A space's details: graphs, members (direct, plus `inherited_members` with the parent space each comes from), visibility, `parent_slug`, `ancestors` (root first) and direct `subspaces` — only the ones the caller may see — and the caller's `your_role` / `role_inherited`. Public spaces need no login; member emails are shown to members and admins only.

brainkb_get_space input schema
{
  "type": "object",
  "title": "brainkb_get_spaceArguments",
  "required": [
    "slug"
  ],
  "properties": {
    "slug": {
      "type": "string",
      "title": "Slug"
    }
  }
}
brainkb_space_tree
Advertised by the server during the last successful anonymous check.

A space and every subspace below it (any depth), nested: each node has slug, name, visibility, the caller's role and whether it's inherited from a parent, and its graph count. Only subspaces the caller may see are included.

brainkb_space_tree input schema
{
  "type": "object",
  "title": "brainkb_space_treeArguments",
  "required": [
    "slug"
  ],
  "properties": {
    "slug": {
      "type": "string",
      "title": "Slug"
    }
  }
}
brainkb_set_space_visibility
Advertised by the server during the last successful anonymous check.

Set a space 'public' (anyone, even anonymous, can read) or 'private' (members only). Owner only. Everything in a public space is public: making a space public also makes all its subspaces public, and a subspace of a public space cannot be made private (409). Under a private space each subspace can be public or private on its own.

brainkb_set_space_visibility input schema
{
  "type": "object",
  "title": "brainkb_set_space_visibilityArguments",
  "required": [
    "slug",
    "visibility"
  ],
  "properties": {
    "slug": {
      "type": "string",
      "title": "Slug"
    },
    "visibility": {
      "type": "string",
      "title": "Visibility"
    }
  }
}
brainkb_update_space
Advertised by the server during the last successful anonymous check.

Rename a space, change its description, and/or give it a new slug. Owner/manager only. Pass only what changes; description="" clears it. `new_slug` (lowercase letters, digits and hyphens, 3-64 chars) moves the space's IRI and every graph whose IRI is built from the old slug (https://brainkb.org/graph/<slug>/…, …/synthscholar/<slug>/…) to the new slug, with their registry, search and history records and SynthScholar reviews; graphs with other IRIs keep theirs. The old slug and IRIs stay as aliases: they keep resolving and nobody else can take them, but ingest into an old IRI is refused with the new one. The result's `rename.moved_graphs` lists each from → to. 409 if the slug or a target graph is taken. Before calling with `new_slug`: show the user the graphs that will move and confirm.

brainkb_update_space input schema
{
  "type": "object",
  "title": "brainkb_update_spaceArguments",
  "required": [
    "slug"
  ],
  "properties": {
    "name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Name",
      "default": null
    },
    "slug": {
      "type": "string",
      "title": "Slug"
    },
    "new_slug": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "New Slug",
      "default": null
    },
    "description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Description",
      "default": null
    }
  }
}
brainkb_delete_space
Advertised by the server during the last successful anonymous check.

PERMANENTLY delete a space and everything in it. SuperAdmin only; irreversible. Drops the space's named graphs and the ingestion-history (delta) graphs that hold copies of their data, removes the graphs' registry entries and the space's RDF manifest, and deletes the space with its members, access rules, search entries and SynthScholar reviews (with their kept files). EVERY SUBSPACE below it, at any depth, is deleted the same way, deepest first (`subspaces_deleted`). Each deletion is kept in the provenance graph (who, when, which graphs: prov:invalidated). `confirm_slug` must equal `slug`. Before calling: show the user the space AND its subspaces (brainkb_space_tree) and what will be lost, and get their explicit confirmation in this conversation. Never call it to tidy up on your own initiative. A non-SuperAdmin caller gets 403; if a step fails (502) the message says which spaces were already deleted — the rest is untouched and it is safe to retry.

brainkb_delete_space input schema
{
  "type": "object",
  "title": "brainkb_delete_spaceArguments",
  "required": [
    "slug",
    "confirm_slug"
  ],
  "properties": {
    "slug": {
      "type": "string",
      "title": "Slug"
    },
    "confirm_slug": {
      "type": "string",
      "title": "Confirm Slug"
    }
  }
}
brainkb_add_space_member
Advertised by the server during the last successful anonymous check.

Add/update a space member. role: 'owner' | 'editor' | 'viewer'. Owner only.

brainkb_add_space_member input schema
{
  "type": "object",
  "title": "brainkb_add_space_memberArguments",
  "required": [
    "slug",
    "member_email"
  ],
  "properties": {
    "role": {
      "type": "string",
      "title": "Role",
      "default": "viewer"
    },
    "slug": {
      "type": "string",
      "title": "Slug"
    },
    "member_email": {
      "type": "string",
      "title": "Member Email"
    }
  }
}
brainkb_add_space_graph
Advertised by the server during the last successful anonymous check.

Register a named graph and bind it to a space, so ingest/read on that graph are governed by the space's membership and visibility. Owner/editor only. The named_graph_iri is **globally unique** — one graph belongs to exactly one space. If it's already registered (to any space) the call returns 409; graph bindings are permanent (no unregister/delete).

brainkb_add_space_graph input schema
{
  "type": "object",
  "title": "brainkb_add_space_graphArguments",
  "required": [
    "slug",
    "named_graph_iri"
  ],
  "properties": {
    "slug": {
      "type": "string",
      "title": "Slug"
    },
    "description": {
      "type": "string",
      "title": "Description",
      "default": ""
    },
    "named_graph_iri": {
      "type": "string",
      "title": "Named Graph Iri"
    }
  }
}
brainkb_ingest_text
Advertised by the server during the last successful anonymous check.

Ingest raw RDF text (Turtle / N-Triples / JSON-LD, auto-detected) into a named graph. Returns a job_id; ingestion runs in the background — poll with brainkb_job_status. The graph must be registered (see brainkb_add_space_graph) and the caller must have write access to its space. `sha256` / `expected_bytes` are an integrity contract, and you should use them whenever the RDF came from a file. Ingest is append-only — no delete for triples, no unregister for a graph — so RDF that arrives here mangled is permanent. Because `data` is a string, it passes through the caller's context, where dense Turtle is exactly what gets silently altered: ligatures, Greek letters, embedded newlines, escaped quotes. Declare the digest of the bytes you MEANT to send (`shasum -a 256 file.ttl`) and this refuses the write on any mismatch, turning an unrecoverable corruption into a clean rejection.

brainkb_ingest_text input schema
{
  "type": "object",
  "title": "brainkb_ingest_textArguments",
  "required": [
    "named_graph_iri",
    "data"
  ],
  "properties": {
    "data": {
      "type": "string",
      "title": "Data"
    },
    "sha256": {
      "type": "string",
      "title": "Sha256",
      "default": ""
    },
    "expected_bytes": {
      "type": "integer",
      "title": "Expected Bytes",
      "default": 0
    },
    "named_graph_iri": {
      "type": "string",
      "title": "Named Graph Iri"
    }
  }
}
brainkb_list_uploads
Advertised by the server during the last successful anonymous check.

List RDF files YOU have staged with POST /upload but not yet ingested. Shows each upload_id, its size, sha256 and when it expires. Only your own uploads are visible.

brainkb_list_uploads input schema
{
  "type": "object",
  "title": "brainkb_list_uploadsArguments",
  "properties": {}
}
brainkb_upload_status
Advertised by the server during the last successful anonymous check.

State of one of your staged/submitted uploads. `state` is `staged` (waiting for brainkb_ingest_upload), `submitting` (the server is streaming it to the ingest API), `submitted` (accepted — `job_id` is set, poll brainkb_job_status) or `failed` (the staged bytes were KEPT, so retry with brainkb_ingest_upload rather than re-uploading).

brainkb_upload_status input schema
{
  "type": "object",
  "title": "brainkb_upload_statusArguments",
  "required": [
    "upload_id"
  ],
  "properties": {
    "upload_id": {
      "type": "string",
      "title": "Upload Id"
    }
  }
}
brainkb_discard_upload
Advertised by the server during the last successful anonymous check.

Delete one of your staged uploads without ingesting it.

brainkb_discard_upload input schema
{
  "type": "object",
  "title": "brainkb_discard_uploadArguments",
  "required": [
    "upload_id"
  ],
  "properties": {
    "upload_id": {
      "type": "string",
      "title": "Upload Id"
    }
  }
}
brainkb_ingest_upload
Advertised by the server during the last successful anonymous check.

Ingest a file you staged with `POST /upload` into a named graph. This is the route for a large local file: your HTTP client streams the bytes straight to this server over HTTPS, then you name the resulting upload_id here. The server reads its own staged copy and posts it to the ingest API internally, so the RDF never passes through a model's context — nothing to transcribe, no context-window ceiling, and no reason to split the document (splitting breaks blank-node identity and silently detaches triples, permanently). Stage a file with any HTTP client — the point is that the LIBRARY reads the file, so the bytes never pass through a model: import requests, hashlib, pathlib f = pathlib.Path("review.ttl") r = requests.post( "https://mcp.brainkb.org/upload", params={"filename": f.name, "sha256": hashlib.sha256(f.read_bytes()).hexdigest()}, headers={"Authorization": f"Bearer {TOKEN}"}, data=f.open("rb"), # streamed — never loaded into memory ) print(r.json()) # -> {"upload_id": "up_...", "state": "staged"} It returns an upload_id and the sha256 the server computed — compare it with your own before ingesting. Returns a job_id; poll brainkb_job_status, then reconcile brainkb_delta(job_id) against the triple count you expected. The staged copy is deleted once the ingest API has accepted the bytes.

brainkb_ingest_upload input schema
{
  "type": "object",
  "title": "brainkb_ingest_uploadArguments",
  "required": [
    "named_graph_iri",
    "upload_id"
  ],
  "properties": {
    "upload_id": {
      "type": "string",
      "title": "Upload Id"
    },
    "named_graph_iri": {
      "type": "string",
      "title": "Named Graph Iri"
    }
  }
}
brainkb_ingest_files
Advertised by the server during the last successful anonymous check.

Ingest local RDF files (ttl/nt/nq/rdf/owl/jsonld/json) into a named graph. Returns a job_id; runs in the background — poll with brainkb_job_status.

brainkb_ingest_files input schema
{
  "type": "object",
  "title": "brainkb_ingest_filesArguments",
  "required": [
    "named_graph_iri",
    "file_paths"
  ],
  "properties": {
    "file_paths": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "title": "File Paths"
    },
    "max_concurrency": {
      "type": "integer",
      "title": "Max Concurrency",
      "default": 8
    },
    "named_graph_iri": {
      "type": "string",
      "title": "Named Graph Iri"
    }
  }
}
brainkb_synthscholar_ingest
Advertised by the server during the last successful anonymous check.

Ingest a SynthScholar review — the output directory of a run (the folder holding review.json and review.ttl, as the synthscholar skill writes it) — into a space you may write to (see brainkb_list_writable_spaces; you need to be its owner or an editor). A review is unique per space: the same run can go into several spaces, once each. Its graph, https://brainkb.org/synthscholar/<space>/reviews/<protocol.review_id>/, is registered in the space; review.ttl plus an import record (PROV-O: who, when, every kept file with media type, size and sha256, what was left out) are ingested as an ordinary job → job_id (poll brainkb_job_status, reconcile with brainkb_delta). Everything but work/ is kept and shown on the review's page. Once per review per space: the same run into the same space again is refused (409). Reads the MCP server's filesystem, so it follows brainkb_ingest_files' rules (MCP_INGEST_ROOT).

brainkb_synthscholar_ingest input schema
{
  "type": "object",
  "title": "brainkb_synthscholar_ingestArguments",
  "required": [
    "output_dir",
    "space_slug"
  ],
  "properties": {
    "output_dir": {
      "type": "string",
      "title": "Output Dir"
    },
    "space_slug": {
      "type": "string",
      "title": "Space Slug"
    }
  }
}
brainkb_synthscholar_list_reviews
Advertised by the server during the last successful anonymous check.

Ingested SynthScholar reviews you can read (public spaces: anyone): id, title, research question, space, graph, included count, when ingested, ingest job. `q` filters on text in the title or research question.

brainkb_synthscholar_list_reviews input schema
{
  "type": "object",
  "title": "brainkb_synthscholar_list_reviewsArguments",
  "properties": {
    "q": {
      "type": "string",
      "title": "Q",
      "default": ""
    },
    "space": {
      "type": "string",
      "title": "Space",
      "default": ""
    }
  }
}
brainkb_synthscholar_studies
Advertised by the server during the last successful anonymous check.

The included studies of an ingested review, filtered. `q`: text in title, authors, journal, DOI, PMID or keywords. `full_text`: true = read in full, false = abstract only. `source`: full-text route (europe_pmc, unpaywall, ezproxy, arxiv, …). `rob`: risk-of-bias rating (low, high, some concerns). Years inclusive. Each study: ids, title, authors, year, journal, how it was read and by which route, RoB. Paged (`total`, at most 200 per call).

brainkb_synthscholar_studies input schema
{
  "type": "object",
  "title": "brainkb_synthscholar_studiesArguments",
  "required": [
    "review_id"
  ],
  "properties": {
    "q": {
      "type": "string",
      "title": "Q",
      "default": ""
    },
    "rob": {
      "type": "string",
      "title": "Rob",
      "default": ""
    },
    "limit": {
      "type": "integer",
      "title": "Limit",
      "default": 50
    },
    "space": {
      "type": "string",
      "title": "Space",
      "default": ""
    },
    "offset": {
      "type": "integer",
      "title": "Offset",
      "default": 0
    },
    "source": {
      "type": "string",
      "title": "Source",
      "default": ""
    },
    "year_to": {
      "type": "integer",
      "title": "Year To",
      "default": 0
    },
    "full_text": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Full Text",
      "default": null
    },
    "review_id": {
      "type": "string",
      "title": "Review Id"
    },
    "year_from": {
      "type": "integer",
      "title": "Year From",
      "default": 0
    },
    "with_abstract": {
      "type": "boolean",
      "title": "With Abstract",
      "default": false
    }
  }
}
brainkb_synthscholar_screening
Advertised by the server during the last successful anonymous check.

The screening audit trail of an ingested review: every decision with its stage (title_abstract | full_text), decision (include | exclude), what it was judged on (title_abstract | full_text | abstract_only), the full-text route and the reason. Filter by any of those, by text or criterion code in the reason (e.g. "EC2"), or by PMID. Also returns counts for the filtered set: by stage and decision, what decisions were judged on, and exclusion reasons by criterion.

brainkb_synthscholar_screening input schema
{
  "type": "object",
  "title": "brainkb_synthscholar_screeningArguments",
  "required": [
    "review_id"
  ],
  "properties": {
    "q": {
      "type": "string",
      "title": "Q",
      "default": ""
    },
    "pmid": {
      "type": "string",
      "title": "Pmid",
      "default": ""
    },
    "limit": {
      "type": "integer",
      "title": "Limit",
      "default": 50
    },
    "space": {
      "type": "string",
      "title": "Space",
      "default": ""
    },
    "stage": {
      "type": "string",
      "title": "Stage",
      "default": ""
    },
    "offset": {
      "type": "integer",
      "title": "Offset",
      "default": 0
    },
    "reason": {
      "type": "string",
      "title": "Reason",
      "default": ""
    },
    "decision": {
      "type": "string",
      "title": "Decision",
      "default": ""
    },
    "review_id": {
      "type": "string",
      "title": "Review Id"
    },
    "assessed_on": {
      "type": "string",
      "title": "Assessed On",
      "default": ""
    }
  }
}
brainkb_synthscholar_evidence
Advertised by the server during the last successful anonymous check.

Evidence spans of an ingested review: the quoted text its claims rest on, with the study, section, relevance, and whether the quote was matched verbatim in the source (`grounded`). Filter by text, claim type, PMID or grounding.

brainkb_synthscholar_evidence input schema
{
  "type": "object",
  "title": "brainkb_synthscholar_evidenceArguments",
  "required": [
    "review_id"
  ],
  "properties": {
    "q": {
      "type": "string",
      "title": "Q",
      "default": ""
    },
    "pmid": {
      "type": "string",
      "title": "Pmid",
      "default": ""
    },
    "claim": {
      "type": "string",
      "title": "Claim",
      "default": ""
    },
    "limit": {
      "type": "integer",
      "title": "Limit",
      "default": 50
    },
    "space": {
      "type": "string",
      "title": "Space",
      "default": ""
    },
    "offset": {
      "type": "integer",
      "title": "Offset",
      "default": 0
    },
    "grounded": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Grounded",
      "default": null
    },
    "review_id": {
      "type": "string",
      "title": "Review Id"
    }
  }
}
brainkb_synthscholar_records
Advertised by the server during the last successful anonymous check.

Per-study records an ingested review produced. `kind`: `charting` (the data-charting form's answers per study), `appraisal` (critical appraisal by domain) or `narrative` (narrative synthesis rows: design, methods, outcomes, limitations). `q`: text in the answers (e.g. "neo4j" finds the studies that report it); `study`: source id (S-001), title, DOI or PMID; `fields`: comma-separated fields to return (the response lists the available ones).

brainkb_synthscholar_records input schema
{
  "type": "object",
  "title": "brainkb_synthscholar_recordsArguments",
  "required": [
    "review_id",
    "kind"
  ],
  "properties": {
    "q": {
      "type": "string",
      "title": "Q",
      "default": ""
    },
    "kind": {
      "type": "string",
      "title": "Kind"
    },
    "limit": {
      "type": "integer",
      "title": "Limit",
      "default": 50
    },
    "space": {
      "type": "string",
      "title": "Space",
      "default": ""
    },
    "study": {
      "type": "string",
      "title": "Study",
      "default": ""
    },
    "fields": {
      "type": "string",
      "title": "Fields",
      "default": ""
    },
    "offset": {
      "type": "integer",
      "title": "Offset",
      "default": 0
    },
    "review_id": {
      "type": "string",
      "title": "Review Id"
    }
  }
}
brainkb_synthscholar_text
Advertised by the server during the last successful anonymous check.

An ingested review's own text: `abstract`, `introduction`, `synthesis`, `bias`, `limitations`, `conclusions`, `research_question`, `search_queries` or `per_group` (the per-group analysis) — or all of them when `section` is empty.

brainkb_synthscholar_text input schema
{
  "type": "object",
  "title": "brainkb_synthscholar_textArguments",
  "required": [
    "review_id"
  ],
  "properties": {
    "space": {
      "type": "string",
      "title": "Space",
      "default": ""
    },
    "section": {
      "type": "string",
      "title": "Section",
      "default": ""
    },
    "review_id": {
      "type": "string",
      "title": "Review Id"
    }
  }
}
brainkb_synthscholar_find_study
Advertised by the server during the last successful anonymous check.

Which ingested reviews (that you can read) include or screened a study — by DOI, PMID or part of its title (6+ characters) — and what happened to it in each: included (read in full or from the abstract) or each screening decision with its reason.

brainkb_synthscholar_find_study input schema
{
  "type": "object",
  "title": "brainkb_synthscholar_find_studyArguments",
  "properties": {
    "doi": {
      "type": "string",
      "title": "Doi",
      "default": ""
    },
    "pmid": {
      "type": "string",
      "title": "Pmid",
      "default": ""
    },
    "title": {
      "type": "string",
      "title": "Title",
      "default": ""
    }
  }
}
brainkb_synthscholar_get_review
Advertised by the server during the last successful anonymous check.

One ingested review: summary, its graph and space, the files kept (path, kind, media type, size, sha256), the run's search log and verification, the screening basis and full-text retrieval. Long texts and the per-study list are left out here — read them from the graph or the review page.

brainkb_synthscholar_get_review input schema
{
  "type": "object",
  "title": "brainkb_synthscholar_get_reviewArguments",
  "required": [
    "review_id"
  ],
  "properties": {
    "space": {
      "type": "string",
      "title": "Space",
      "default": ""
    },
    "review_id": {
      "type": "string",
      "title": "Review Id"
    }
  }
}
brainkb_list_jobs
Advertised by the server during the last successful anonymous check.

List the user's ingest jobs (newest first) with status and progress.

brainkb_list_jobs input schema
{
  "type": "object",
  "title": "brainkb_list_jobsArguments",
  "properties": {
    "limit": {
      "type": "integer",
      "title": "Limit",
      "default": 50
    }
  }
}
brainkb_job_status
Advertised by the server during the last successful anonymous check.

Detailed status of one ingest job: status, progress %, current file/stage, per-file failures, and (when complete) a summary.

brainkb_job_status input schema
{
  "type": "object",
  "title": "brainkb_job_statusArguments",
  "required": [
    "job_id"
  ],
  "properties": {
    "job_id": {
      "type": "string",
      "title": "Job Id"
    }
  }
}
brainkb_recover_job
Advertised by the server during the last successful anonymous check.

Attempt to recover a stuck/errored ingest job (marks it recoverable/errored).

brainkb_recover_job input schema
{
  "type": "object",
  "title": "brainkb_recover_jobArguments",
  "required": [
    "job_id"
  ],
  "properties": {
    "job_id": {
      "type": "string",
      "title": "Job Id"
    }
  }
}
brainkb_search
Advertised by the server during the last successful anonymous check.

Full-text search over the knowledge graphs, access-filtered by space visibility. Pass `space` to scope to one workspace, omit for a full search. No login needed: an unauthenticated caller searches public spaces only. Anonymous/other users never see private-space data.

brainkb_search input schema
{
  "type": "object",
  "title": "brainkb_searchArguments",
  "required": [
    "q"
  ],
  "properties": {
    "q": {
      "type": "string",
      "title": "Q"
    },
    "limit": {
      "type": "integer",
      "title": "Limit",
      "default": 25
    },
    "space": {
      "type": "string",
      "title": "Space",
      "default": ""
    },
    "offset": {
      "type": "integer",
      "title": "Offset",
      "default": 0
    }
  }
}
brainkb_read_space
Advertised by the server during the last successful anonymous check.

Read all RDF (JSON-LD) in a space's graphs. Public spaces are readable by anyone without logging in (read-only); private spaces require login and membership. Don't ask the user to log in just to read a public space.

brainkb_read_space input schema
{
  "type": "object",
  "title": "brainkb_read_spaceArguments",
  "required": [
    "slug"
  ],
  "properties": {
    "slug": {
      "type": "string",
      "title": "Slug"
    }
  }
}
brainkb_list_writable_spaces
Advertised by the server during the last successful anonymous check.

Spaces the caller can ingest into, each with its graphs (and descriptions) and `parent_slug` for subspaces — decided by the same checks ingestion uses: owner/ editor membership (including a role inherited from a parent space), a space write access rule, or Admin/SuperAdmin. `can_ingest` false means the caller has no write-capable role at all. `unmapped_graphs` are registered graphs in no space. Use this, not brainkb_list_registered_graphs, to choose where to ingest.

brainkb_list_writable_spaces input schema
{
  "type": "object",
  "title": "brainkb_list_writable_spacesArguments",
  "properties": {}
}
brainkb_list_registered_graphs
Advertised by the server during the last successful anonymous check.

List registered named graphs visible to the caller (private-space graphs the caller can't access are hidden).

brainkb_list_registered_graphs input schema
{
  "type": "object",
  "title": "brainkb_list_registered_graphsArguments",
  "properties": {}
}
brainkb_sparql
Advertised by the server during the last successful anonymous check.

Run an arbitrary SPARQL query. Requires an Admin/SuperAdmin role (the sparql_admin capability) — for ordinary questions prefer brainkb_search, brainkb_read_space, or the provenance/delta tools, which need no admin role. Large results come back a page at a time. A SELECT without its own LIMIT/OFFSET returns at most `limit` rows (0 = the server's page size, 500 by default) starting at `offset`; the response's `page` says whether there is more (`has_more`) and where to continue (`next_offset`). Add ORDER BY for stable pages. A query that sets its own LIMIT runs as written. Any result too big for one response is cut to its leading rows with a `truncated` note. Prefer COUNT(*) first when you only need to know how much there is.

brainkb_sparql input schema
{
  "type": "object",
  "title": "brainkb_sparqlArguments",
  "required": [
    "sparql_query"
  ],
  "properties": {
    "limit": {
      "type": "integer",
      "title": "Limit",
      "default": 0
    },
    "offset": {
      "type": "integer",
      "title": "Offset",
      "default": 0
    },
    "sparql_query": {
      "type": "string",
      "title": "Sparql Query"
    }
  }
}
brainkb_qa_list
Advertised by the server during the last successful anonymous check.

Find a canned question BrainKB can answer, then run it with brainkb_qa_run. Prefer these over writing SPARQL: they are vetted against BrainKB's actual vocabulary. Discovery is two steps, so you never read every query at once: 1. brainkb_qa_list() -> the menu: each category's name, a description of the questions it covers, and how many queries it has. Pick the category whose description matches the user's question. 2. brainkb_qa_list(category="<name>") -> that category's queries. Each has `question` (what it answers), `notes` (when to use it, where parameter values come from, what the results mean), `params` (required ones have no default — ask the user rather than guess) and a working `example`. `search="words"` filters queries by words in their id/question/notes; use it alone to search every category when none of the descriptions fits.

brainkb_qa_list input schema
{
  "type": "object",
  "title": "brainkb_qa_listArguments",
  "properties": {
    "search": {
      "type": "string",
      "title": "Search",
      "default": ""
    },
    "category": {
      "type": "string",
      "title": "Category",
      "default": ""
    }
  }
}
brainkb_qa_run
Advertised by the server during the last successful anonymous check.

Run a canned question from brainkb_qa_list by id. `params` maps parameter names to values; they are validated and escaped, never spliced in raw. Runs through the same SPARQL endpoint as brainkb_sparql, so it needs the same role. Results page the same way: a query without its own LIMIT returns `limit` rows from `offset`, and `page.next_offset` says where to continue.

brainkb_qa_run input schema
{
  "type": "object",
  "title": "brainkb_qa_runArguments",
  "required": [
    "query_id"
  ],
  "properties": {
    "limit": {
      "type": "integer",
      "title": "Limit",
      "default": 0
    },
    "offset": {
      "type": "integer",
      "title": "Offset",
      "default": 0
    },
    "params": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": true
        },
        {
          "type": "null"
        }
      ],
      "title": "Params",
      "default": null
    },
    "query_id": {
      "type": "string",
      "title": "Query Id"
    }
  }
}
brainkb_provenance_job
Advertised by the server during the last successful anonymous check.

PROV-O provenance bundle (JSON-LD) for one ingest job.

brainkb_provenance_job input schema
{
  "type": "object",
  "title": "brainkb_provenance_jobArguments",
  "required": [
    "job_id"
  ],
  "properties": {
    "job_id": {
      "type": "string",
      "title": "Job Id"
    }
  }
}
brainkb_provenance_graph
Advertised by the server during the last successful anonymous check.

PROV-O ingestion/activity history (JSON-LD) for a named graph.

brainkb_provenance_graph input schema
{
  "type": "object",
  "title": "brainkb_provenance_graphArguments",
  "required": [
    "named_graph_iri"
  ],
  "properties": {
    "named_graph_iri": {
      "type": "string",
      "title": "Named Graph Iri"
    }
  }
}
brainkb_delta
Advertised by the server during the last successful anonymous check.

The exact triples a job added (its delta), as JSON-LD.

brainkb_delta input schema
{
  "type": "object",
  "title": "brainkb_deltaArguments",
  "required": [
    "job_id"
  ],
  "properties": {
    "job_id": {
      "type": "string",
      "title": "Job Id"
    }
  }
}
brainkb_delta_history
Advertised by the server during the last successful anonymous check.

A named graph's change history: one entry per ingest delta (job, triple count, timestamp), newest first.

brainkb_delta_history input schema
{
  "type": "object",
  "title": "brainkb_delta_historyArguments",
  "required": [
    "named_graph_iri"
  ],
  "properties": {
    "named_graph_iri": {
      "type": "string",
      "title": "Named Graph Iri"
    }
  }
}
brainkb_delta_compare
Advertised by the server during the last successful anonymous check.

Compare two jobs' deltas: A-only / B-only / shared triple counts + triples.

brainkb_delta_compare input schema
{
  "type": "object",
  "title": "brainkb_delta_compareArguments",
  "required": [
    "job_id_a",
    "job_id_b"
  ],
  "properties": {
    "job_id_a": {
      "type": "string",
      "title": "Job Id A"
    },
    "job_id_b": {
      "type": "string",
      "title": "Job Id B"
    }
  }
}
brainkb_capabilities
Advertised by the server during the last successful anonymous check.

(Admin only) Show a user's roles, effective capabilities, and delegated grants. Useful to check why someone can/can't create team spaces, ingest, etc.

brainkb_capabilities input schema
{
  "type": "object",
  "title": "brainkb_capabilitiesArguments",
  "required": [
    "member"
  ],
  "properties": {
    "member": {
      "type": "string",
      "title": "Member"
    }
  }
}
brainkb_grant_capability
Advertised by the server during the last successful anonymous check.

(Admin only) Delegate a capability to a user — e.g. 'create_team_space' or 'manage_team_space' so a Curator/Lab Member can create/manage team spaces. Grantable: create_private_space, create_team_space, manage_team_space, ingest, recover, read_private (NOT the admin-only 'grant'/'sparql_admin').

brainkb_grant_capability input schema
{
  "type": "object",
  "title": "brainkb_grant_capabilityArguments",
  "required": [
    "member",
    "capability"
  ],
  "properties": {
    "member": {
      "type": "string",
      "title": "Member"
    },
    "capability": {
      "type": "string",
      "title": "Capability"
    }
  }
}
brainkb_revoke_capability
Advertised by the server during the last successful anonymous check.

(Admin only) Revoke a previously granted capability from a user.

brainkb_revoke_capability input schema
{
  "type": "object",
  "title": "brainkb_revoke_capabilityArguments",
  "required": [
    "member",
    "capability"
  ],
  "properties": {
    "member": {
      "type": "string",
      "title": "Member"
    },
    "capability": {
      "type": "string",
      "title": "Capability"
    }
  }
}
brainkb_list_capabilities
Advertised by the server during the last successful anonymous check.

(Admin only) Catalog of all KG capabilities, which are delegatable ('grantable'), which are admin-only, and a description of each. Use this to see the available permission options before granting to a user or group/role.

brainkb_list_capabilities input schema
{
  "type": "object",
  "title": "brainkb_list_capabilitiesArguments",
  "properties": {}
}
brainkb_role_capabilities
Advertised by the server during the last successful anonymous check.

(Admin only) List the capabilities granted to a role/group (e.g. 'uk_collaborator', 'Lab Member').

brainkb_role_capabilities input schema
{
  "type": "object",
  "title": "brainkb_role_capabilitiesArguments",
  "required": [
    "role"
  ],
  "properties": {
    "role": {
      "type": "string",
      "title": "Role"
    }
  }
}
brainkb_grant_role_capability
Advertised by the server during the last successful anonymous check.

(Admin only) Grant a capability to a whole role/group so EVERY member gets it — e.g. give a custom group 'uk_collaborator' the 'ingest' or 'create_private_space' capability. Grantable: create_private_space, create_team_space, manage_team_space, ingest, recover, read_private (NOT the admin-only 'grant'/'sparql_admin'). Create the group first with brainkb_create_role, then assign it to users with brainkb_assign_role.

brainkb_grant_role_capability input schema
{
  "type": "object",
  "title": "brainkb_grant_role_capabilityArguments",
  "required": [
    "role",
    "capability"
  ],
  "properties": {
    "role": {
      "type": "string",
      "title": "Role"
    },
    "capability": {
      "type": "string",
      "title": "Capability"
    }
  }
}
brainkb_revoke_role_capability
Advertised by the server during the last successful anonymous check.

(Admin only) Revoke a capability from a role/group.

brainkb_revoke_role_capability input schema
{
  "type": "object",
  "title": "brainkb_revoke_role_capabilityArguments",
  "required": [
    "role",
    "capability"
  ],
  "properties": {
    "role": {
      "type": "string",
      "title": "Role"
    },
    "capability": {
      "type": "string",
      "title": "Capability"
    }
  }
}
brainkb_list_access_rules
Advertised by the server during the last successful anonymous check.

List a space's fine-grained access rules (member/manager of the space).

brainkb_list_access_rules input schema
{
  "type": "object",
  "title": "brainkb_list_access_rulesArguments",
  "required": [
    "slug"
  ],
  "properties": {
    "slug": {
      "type": "string",
      "title": "Slug"
    }
  }
}
brainkb_add_access_rule
Advertised by the server during the last successful anonymous check.

(Space manager) Restrict a space action to a subject. action: 'read' | 'write' | 'manage'. subject_type: 'global_role' (e.g. 'Admin','Lab Member') | 'member' (an email) | 'space_role' ('viewer'|'editor'|'owner', matched as >=). When rules exist for an action, only matching callers may perform it; the space owner and Admin/SuperAdmin always bypass (no lockout). Example: restrict writing to Admins -> action='write', subject_type='global_role', subject_value='Admin'.

brainkb_add_access_rule input schema
{
  "type": "object",
  "title": "brainkb_add_access_ruleArguments",
  "required": [
    "slug",
    "action",
    "subject_type",
    "subject_value"
  ],
  "properties": {
    "slug": {
      "type": "string",
      "title": "Slug"
    },
    "action": {
      "type": "string",
      "title": "Action"
    },
    "subject_type": {
      "type": "string",
      "title": "Subject Type"
    },
    "subject_value": {
      "type": "string",
      "title": "Subject Value"
    }
  }
}
brainkb_remove_access_rule
Advertised by the server during the last successful anonymous check.

(Space manager) Delete a fine-grained access rule by its id (see brainkb_list_access_rules).

brainkb_remove_access_rule input schema
{
  "type": "object",
  "title": "brainkb_remove_access_ruleArguments",
  "required": [
    "slug",
    "rule_id"
  ],
  "properties": {
    "slug": {
      "type": "string",
      "title": "Slug"
    },
    "rule_id": {
      "type": "integer",
      "title": "Rule Id"
    }
  }
}
brainkb_list_reserved_graphs
Advertised by the server during the last successful anonymous check.

(Admin/SuperAdmin) List reserved named graphs: graph IRIs, or every IRI under a prefix, that only an Admin/SuperAdmin — or, when reserved for a space, that space's managers/editors — may register or bind. Includes the built-in system reservations (BrainKB's metadata and provenance graphs), which nobody can bind.

brainkb_list_reserved_graphs input schema
{
  "type": "object",
  "title": "brainkb_list_reserved_graphsArguments",
  "properties": {}
}
brainkb_reserve_graph
Advertised by the server during the last successful anonymous check.

(Admin/SuperAdmin) Reserve a named graph so other users can't create it. match_type 'exact' reserves one graph IRI; 'prefix' reserves every IRI starting with it (e.g. 'https://brainkb.org/graph/allen/'). Give a `reason` — it is shown to anyone who is refused. Optional `space_slug` reserves it for that space, whose managers/editors may then bind it. Graphs already bound stay where they are; the response lists them under `already_bound`. 409 if it is already reserved, overlaps a system graph, or is bound to another space than `space_slug`.

brainkb_reserve_graph input schema
{
  "type": "object",
  "title": "brainkb_reserve_graphArguments",
  "required": [
    "iri"
  ],
  "properties": {
    "iri": {
      "type": "string",
      "title": "Iri"
    },
    "reason": {
      "type": "string",
      "title": "Reason",
      "default": ""
    },
    "match_type": {
      "type": "string",
      "title": "Match Type",
      "default": "exact"
    },
    "space_slug": {
      "type": "string",
      "title": "Space Slug",
      "default": ""
    }
  }
}
brainkb_unreserve_graph
Advertised by the server during the last successful anonymous check.

(Admin/SuperAdmin) Remove a reservation by its id (see brainkb_list_reserved_graphs). System reservations cannot be removed.

brainkb_unreserve_graph input schema
{
  "type": "object",
  "title": "brainkb_unreserve_graphArguments",
  "required": [
    "reservation_id"
  ],
  "properties": {
    "reservation_id": {
      "type": "integer",
      "title": "Reservation Id"
    }
  }
}
brainkb_list_users
Advertised by the server during the last successful anonymous check.

(Admin) List users (profiles) — filter by `q` (name/email/orcid) or `role`. Shows profile_id, email, roles, providers, ban status.

brainkb_list_users input schema
{
  "type": "object",
  "title": "brainkb_list_usersArguments",
  "properties": {
    "q": {
      "type": "string",
      "title": "Q",
      "default": ""
    },
    "role": {
      "type": "string",
      "title": "Role",
      "default": ""
    },
    "limit": {
      "type": "integer",
      "title": "Limit",
      "default": 50
    }
  }
}
brainkb_available_roles
Advertised by the server during the last successful anonymous check.

(Admin) List the available roles/groups (Admin, Lab Member, Curator, …).

brainkb_available_roles input schema
{
  "type": "object",
  "title": "brainkb_available_rolesArguments",
  "properties": {}
}
brainkb_create_role
Advertised by the server during the last successful anonymous check.

(Admin) Create a new role/group — e.g. an 'External' collaborator group — which can then be assigned with brainkb_assign_role.

brainkb_create_role input schema
{
  "type": "object",
  "title": "brainkb_create_roleArguments",
  "required": [
    "name"
  ],
  "properties": {
    "name": {
      "type": "string",
      "title": "Name"
    },
    "category": {
      "type": "string",
      "title": "Category",
      "default": "Content"
    },
    "description": {
      "type": "string",
      "title": "Description",
      "default": ""
    }
  }
}
brainkb_assign_role
Advertised by the server during the last successful anonymous check.

(Admin) Assign a role/group to a user by email (e.g. 'Lab Member', 'External', or a custom group). The user must already have a profile (created on first login/registration). NOTE: assigning the 'Admin'/'SuperAdmin' role is SuperAdmin-only (hierarchy: SuperAdmin > Admin).

brainkb_assign_role input schema
{
  "type": "object",
  "title": "brainkb_assign_roleArguments",
  "required": [
    "email",
    "role"
  ],
  "properties": {
    "role": {
      "type": "string",
      "title": "Role"
    },
    "email": {
      "type": "string",
      "title": "Email"
    }
  }
}
brainkb_remove_role
Advertised by the server during the last successful anonymous check.

(Admin) Remove a role/group from a user by email.

brainkb_remove_role input schema
{
  "type": "object",
  "title": "brainkb_remove_roleArguments",
  "required": [
    "email",
    "role"
  ],
  "properties": {
    "role": {
      "type": "string",
      "title": "Role"
    },
    "email": {
      "type": "string",
      "title": "Email"
    }
  }
}
brainkb_activate_user
Advertised by the server during the last successful anonymous check.

(Admin) Activate a user's account (sets the JWT user active) by email.

brainkb_activate_user input schema
{
  "type": "object",
  "title": "brainkb_activate_userArguments",
  "required": [
    "email"
  ],
  "properties": {
    "email": {
      "type": "string",
      "title": "Email"
    }
  }
}
brainkb_deactivate_user
Advertised by the server during the last successful anonymous check.

(Admin) Deactivate a user's account by email.

brainkb_deactivate_user input schema
{
  "type": "object",
  "title": "brainkb_deactivate_userArguments",
  "required": [
    "email"
  ],
  "properties": {
    "email": {
      "type": "string",
      "title": "Email"
    }
  }
}
brainkb_ban_user
Advertised by the server during the last successful anonymous check.

(Admin) Ban a user by email (reversible; preserves history). This is how accounts are removed — there is NO hard delete. Banning an Admin is SuperAdmin-only; SuperAdmin accounts cannot be banned.

brainkb_ban_user input schema
{
  "type": "object",
  "title": "brainkb_ban_userArguments",
  "required": [
    "email",
    "reason"
  ],
  "properties": {
    "email": {
      "type": "string",
      "title": "Email"
    },
    "reason": {
      "type": "string",
      "title": "Reason"
    }
  }
}
brainkb_unban_user
Advertised by the server during the last successful anonymous check.

(Admin) Lift a ban on a user by email.

brainkb_unban_user input schema
{
  "type": "object",
  "title": "brainkb_unban_userArguments",
  "required": [
    "email"
  ],
  "properties": {
    "email": {
      "type": "string",
      "title": "Email"
    }
  }
}
brainkb_list_permissions
Advertised by the server during the last successful anonymous check.

(Admin) List all usermanagement permissions (resource/action pairs used for page-access and role-permission mapping). These are the addable 'permission' options; KG action-capabilities are listed by brainkb_list_capabilities.

brainkb_list_permissions input schema
{
  "type": "object",
  "title": "brainkb_list_permissionsArguments",
  "properties": {}
}
brainkb_create_permission
Advertised by the server during the last successful anonymous check.

(Admin) Create a new usermanagement permission, e.g. name='dataset.export', resource='dataset', action='export'. Attach it to roles via the usermanagement role-permissions API.

brainkb_create_permission input schema
{
  "type": "object",
  "title": "brainkb_create_permissionArguments",
  "required": [
    "name",
    "resource",
    "action"
  ],
  "properties": {
    "name": {
      "type": "string",
      "title": "Name"
    },
    "action": {
      "type": "string",
      "title": "Action"
    },
    "resource": {
      "type": "string",
      "title": "Resource"
    },
    "description": {
      "type": "string",
      "title": "Description",
      "default": ""
    }
  }
}

Prompts

0 advertised

No prompt definitions available.

Resources

0 advertised

No resource definitions available.

90-day uptime

A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.

100% (83 of 83 checks answered)

  1. 2026-11-02: 4 of 4 checks answered
  2. 2026-11-03: 4 of 4 checks answered
  3. 2026-11-04: 4 of 4 checks answered
  4. 2026-11-05: 4 of 4 checks answered
  5. 2026-11-06: 4 of 4 checks answered
  6. 2026-11-07: 2 of 2 checks answered
  7. 2026-11-09: 1 of 1 checks answered
  8. 2026-11-10: 2 of 2 checks answered
  9. 2026-11-11: 1 of 1 checks answered
  10. 2026-11-12: 1 of 1 checks answered
  11. 2026-11-14: 1 of 1 checks answered
  12. 2026-11-15: 2 of 2 checks answered
  13. 2026-11-16: 4 of 4 checks answered
  14. 2026-11-17: 5 of 5 checks answered
  15. 2026-11-18: 5 of 5 checks answered
  16. 2026-11-19: 4 of 4 checks answered
  17. 2026-11-20: 2 of 2 checks answered
  18. 2026-11-21: 4 of 4 checks answered
  19. 2026-11-22: 4 of 4 checks answered
  20. 2026-11-23: 4 of 4 checks answered
  21. 2026-11-24: 4 of 4 checks answered
  22. 2026-11-25: 4 of 4 checks answered
  23. 2026-11-26: 4 of 4 checks answered
  24. 2026-11-27: 4 of 4 checks answered
  25. 2026-11-28: 3 of 3 checks answered
  26. 2026-11-29: 2 of 2 checks answered

30-day availability

Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.

Successful checks
2 of 2 (100%)
Average latency
904 ms
95th percentile latency
973 ms

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · probe · passed · 827 ms · 72 tool(s), 0 resource(s), 0 resource template(s), 0 prompt(s)
  • · probe · passed · 981 ms · metadata changed · 72 tool(s), 0 resource(s), 0 resource template(s), 0 prompt(s)
  • · repository · passed · updated
  • · repository · passed · metadata changed · unchanged
  • · repository · passed · metadata changed · updated
  • · registry · passed · metadata changed · Source metadata updated
  • · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown

Try asking

Reviewed prompts from cited playbooks. Connect the listed servers before using them.

Ingest RDF data into a private workspace
Please ingest the file 'research_data.ttl' into my private workspace 'Lab_Project_Alpha'. Confirm once the background job is complete and the data is available for querying.
Trace provenance of triples in a knowledge graph
Show me the provenance history for the triples added to the 'hmba' space last week. Who added them and which ingest job contributed them?

Agent playbooks using this server

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http brainkb-mcp https://mcp.brainkb.org/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add brainkb-mcp --url https://mcp.brainkb.org/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable brainkb-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "brainkb-mcp": {
      "url": "https://mcp.brainkb.org/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "brainkb-mcp": {
      "type": "streamableHttp",
      "url": "https://mcp.brainkb.org/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start brainkb-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "brainkb-mcp": {
      "type": "http",
      "url": "https://mcp.brainkb.org/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http brainkb-mcp https://mcp.brainkb.org/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://mcp.brainkb.org/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "brainkb-mcp": {
      "serverUrl": "https://mcp.brainkb.org/mcp"
    }
  }
}

Let your agent find its tools

Find servers like BrainKB MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.

Frequently asked questions

Is an account required to use the server?
You can connect and list tools without signing in. However, individual tools may still need a vendor account, credentials, or permissions. Check the documented prerequisites for specific tasks to determine if authentication is required for execution.
How do I authenticate for tool execution?
Sign in with Globus, ORCID, or GitHub and keep a personal access token. Admins manage roles and permissions, which may be necessary for certain operations beyond the initial connection phase.
Can I ingest RDF files into workspaces?
Yes. The server allows AI agents to ingest RDF files into private or public workspaces. This capability is part of the core functionality alongside entity search and scientific question execution.
Does the server track data provenance?
Yes. The server traces the provenance history of graph changes and contributions. This allows agents to understand the origin and evolution of data within the neuroscience knowledge graph.

Do you run BrainKB MCP?

Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.

Claim this listing