{
 "type": "mcp",
 "name": "brainkb",
 "registry_name": "org.brainkb/brainkb",
 "also_published_as": [],
 "description": "MCP server for querying BrainKB, a knowledge base for neuroscience knowledge graphs.",
 "url": "https://mcp.brainkb.org/mcp",
 "transport": "streamable-http",
 "website": null,
 "repo": "https://github.com/sensein/BrainKB",
 "ours": false,
 "publisher": "org.brainkb",
 "categories": [
  "memory",
  "dev-tools",
  "docs"
 ],
 "tests": {
  "tested_at": "2026-11-25T09:20:13.762Z",
  "http_status": 200,
  "initialize": "ok",
  "tools_list": "ok",
  "tool_count": 72,
  "latency_ms": 101,
  "tools_list_ms": 113,
  "protocol_version": "2025-06-18",
  "oauth_discovery": null,
  "server_info": {
   "name": "brainkb",
   "version": "1.30.0"
  },
  "error": null
 },
 "signals": {
  "github_stars": 7,
  "license": null,
  "repo_pushed_at": "2026-11-02T19:57:00Z",
  "repo_archived": false,
  "npm_downloads_30d": null,
  "adoption_note": null,
  "registry_updated_at": "2026-07-23T19:16:50.369027Z",
  "registry_published_at": "2026-07-23T19:16:50.369027Z",
  "pypi_downloads": "missing"
 },
 "checks": {
  "latency": 100,
  "tool_docs": 100,
  "breadth": 100,
  "freshness": 100,
  "license": 0,
  "adoption": 22.6,
  "protocol": 100
 },
 "score": 66.8,
 "missing": [],
 "tools": [
  "brainkb_login",
  "brainkb_globus_login",
  "brainkb_finish_login",
  "brainkb_logout",
  "brainkb_whoami",
  "brainkb_create_token",
  "brainkb_list_tokens",
  "brainkb_revoke_token",
  "brainkb_use_token",
  "brainkb_list_spaces",
  "brainkb_create_space",
  "brainkb_get_space",
  "brainkb_space_tree",
  "brainkb_set_space_visibility",
  "brainkb_update_space",
  "brainkb_delete_space",
  "brainkb_add_space_member",
  "brainkb_add_space_graph",
  "brainkb_ingest_text",
  "brainkb_list_uploads",
  "brainkb_upload_status",
  "brainkb_discard_upload",
  "brainkb_ingest_upload",
  "brainkb_ingest_files",
  "brainkb_synthscholar_ingest",
  "brainkb_synthscholar_list_reviews",
  "brainkb_synthscholar_studies",
  "brainkb_synthscholar_screening",
  "brainkb_synthscholar_evidence",
  "brainkb_synthscholar_records",
  "brainkb_synthscholar_text",
  "brainkb_synthscholar_find_study",
  "brainkb_synthscholar_get_review",
  "brainkb_list_jobs",
  "brainkb_job_status",
  "brainkb_recover_job",
  "brainkb_search",
  "brainkb_read_space",
  "brainkb_list_writable_spaces",
  "brainkb_list_registered_graphs",
  "brainkb_sparql",
  "brainkb_qa_list",
  "brainkb_qa_run",
  "brainkb_provenance_job",
  "brainkb_provenance_graph",
  "brainkb_delta",
  "brainkb_delta_history",
  "brainkb_delta_compare",
  "brainkb_capabilities",
  "brainkb_grant_capability",
  "brainkb_revoke_capability",
  "brainkb_list_capabilities",
  "brainkb_role_capabilities",
  "brainkb_grant_role_capability",
  "brainkb_revoke_role_capability",
  "brainkb_list_access_rules",
  "brainkb_add_access_rule",
  "brainkb_remove_access_rule",
  "brainkb_list_reserved_graphs",
  "brainkb_reserve_graph"
 ],
 "tool_docs": [
  {
   "n": "brainkb_login",
   "d": "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 sin"
  },
  {
   "n": "brainkb_globus_login",
   "d": "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. R"
  },
  {
   "n": "brainkb_finish_login",
   "d": "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 n"
  },
  {
   "n": "brainkb_logout",
   "d": "Forget the cached token for this session."
  },
  {
   "n": "brainkb_whoami",
   "d": "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 S"
  },
  {
   "n": "brainkb_create_token",
   "d": "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 O"
  },
  {
   "n": "brainkb_list_tokens",
   "d": "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/exp"
  },
  {
   "n": "brainkb_revoke_token",
   "d": "Revoke one of your Personal Access Tokens by id (see brainkb_list_tokens). Takes effect immediately — the next call using that token fails."
  },
  {
   "n": "brainkb_use_token",
   "d": "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 s"
  },
  {
   "n": "brainkb_list_spaces",
   "d": "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: 'o"
  },
  {
   "n": "brainkb_create_space",
   "d": "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 re"
  },
  {
   "n": "brainkb_get_space",
   "d": "A space's details: graphs, members (direct, plus `inherited_members` with the parent space each comes from), visibility, `parent_slug`, `ancestors` (root first)"
  },
  {
   "n": "brainkb_space_tree",
   "d": "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 i"
  },
  {
   "n": "brainkb_set_space_visibility",
   "d": "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 a"
  },
  {
   "n": "brainkb_update_space",
   "d": "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 l"
  },
  {
   "n": "brainkb_delete_space",
   "d": "PERMANENTLY delete a space and everything in it. SuperAdmin only; irreversible. Drops the space's named graphs and the ingestion-history (delta) graphs that hol"
  },
  {
   "n": "brainkb_add_space_member",
   "d": "Add/update a space member. role: 'owner' | 'editor' | 'viewer'. Owner only."
  },
  {
   "n": "brainkb_add_space_graph",
   "d": "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_"
  },
  {
   "n": "brainkb_ingest_text",
   "d": "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"
  },
  {
   "n": "brainkb_list_uploads",
   "d": "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 vis"
  },
  {
   "n": "brainkb_upload_status",
   "d": "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 A"
  },
  {
   "n": "brainkb_discard_upload",
   "d": "Delete one of your staged uploads without ingesting it."
  },
  {
   "n": "brainkb_ingest_upload",
   "d": "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 s"
  },
  {
   "n": "brainkb_ingest_files",
   "d": "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."
  },
  {
   "n": "brainkb_synthscholar_ingest",
   "d": "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"
  },
  {
   "n": "brainkb_synthscholar_list_reviews",
   "d": "Ingested SynthScholar reviews you can read (public spaces: anyone): id, title, research question, space, graph, included count, when ingested, ingest job. `q` f"
  },
  {
   "n": "brainkb_synthscholar_studies",
   "d": "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 = abs"
  },
  {
   "n": "brainkb_synthscholar_screening",
   "d": "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"
  },
  {
   "n": "brainkb_synthscholar_evidence",
   "d": "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 "
  },
  {
   "n": "brainkb_synthscholar_records",
   "d": "Per-study records an ingested review produced. `kind`: `charting` (the data-charting form's answers per study), `appraisal` (critical appraisal by domain) or `n"
  },
  {
   "n": "brainkb_synthscholar_text",
   "d": "An ingested review's own text: `abstract`, `introduction`, `synthesis`, `bias`, `limitations`, `conclusions`, `research_question`, `search_queries` or `per_grou"
  },
  {
   "n": "brainkb_synthscholar_find_study",
   "d": "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: in"
  },
  {
   "n": "brainkb_synthscholar_get_review",
   "d": "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 b"
  },
  {
   "n": "brainkb_list_jobs",
   "d": "List the user's ingest jobs (newest first) with status and progress."
  },
  {
   "n": "brainkb_job_status",
   "d": "Detailed status of one ingest job: status, progress %, current file/stage, per-file failures, and (when complete) a summary."
  },
  {
   "n": "brainkb_recover_job",
   "d": "Attempt to recover a stuck/errored ingest job (marks it recoverable/errored)."
  },
  {
   "n": "brainkb_search",
   "d": "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"
  },
  {
   "n": "brainkb_read_space",
   "d": "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. Do"
  },
  {
   "n": "brainkb_list_writable_spaces",
   "d": "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/ e"
  },
  {
   "n": "brainkb_list_registered_graphs",
   "d": "List registered named graphs visible to the caller (private-space graphs the caller can't access are hidden)."
  },
  {
   "n": "brainkb_sparql",
   "d": "Run an arbitrary SPARQL query. Requires an Admin/SuperAdmin role (the sparql_admin capability) — for ordinary questions prefer brainkb_search, brainkb_read_spac"
  },
  {
   "n": "brainkb_qa_list",
   "d": "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 vocabular"
  },
  {
   "n": "brainkb_qa_run",
   "d": "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 th"
  },
  {
   "n": "brainkb_provenance_job",
   "d": "PROV-O provenance bundle (JSON-LD) for one ingest job."
  },
  {
   "n": "brainkb_provenance_graph",
   "d": "PROV-O ingestion/activity history (JSON-LD) for a named graph."
  },
  {
   "n": "brainkb_delta",
   "d": "The exact triples a job added (its delta), as JSON-LD."
  },
  {
   "n": "brainkb_delta_history",
   "d": "A named graph's change history: one entry per ingest delta (job, triple count, timestamp), newest first."
  },
  {
   "n": "brainkb_delta_compare",
   "d": "Compare two jobs' deltas: A-only / B-only / shared triple counts + triples."
  },
  {
   "n": "brainkb_capabilities",
   "d": "(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."
  },
  {
   "n": "brainkb_grant_capability",
   "d": "(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:"
  },
  {
   "n": "brainkb_revoke_capability",
   "d": "(Admin only) Revoke a previously granted capability from a user."
  },
  {
   "n": "brainkb_list_capabilities",
   "d": "(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"
  },
  {
   "n": "brainkb_role_capabilities",
   "d": "(Admin only) List the capabilities granted to a role/group (e.g. 'uk_collaborator', 'Lab Member')."
  },
  {
   "n": "brainkb_grant_role_capability",
   "d": "(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"
  },
  {
   "n": "brainkb_revoke_role_capability",
   "d": "(Admin only) Revoke a capability from a role/group."
  },
  {
   "n": "brainkb_list_access_rules",
   "d": "List a space's fine-grained access rules (member/manager of the space)."
  },
  {
   "n": "brainkb_add_access_rule",
   "d": "(Space manager) Restrict a space action to a subject. action: 'read' | 'write' | 'manage'. subject_type: 'global_role' (e.g. 'Admin','Lab Member') | 'member' (a"
  },
  {
   "n": "brainkb_remove_access_rule",
   "d": "(Space manager) Delete a fine-grained access rule by its id (see brainkb_list_access_rules)."
  },
  {
   "n": "brainkb_list_reserved_graphs",
   "d": "(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 spac"
  },
  {
   "n": "brainkb_reserve_graph",
   "d": "(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"
  }
 ],
 "passed": true,
 "auth_required": false,
 "fail_reason": null,
 "category_confidence": 0.751,
 "category_source": "classifier",
 "category_scores": {
  "memory": 2.13,
  "docs": 2,
  "agent-infra": 2,
  "devops": 0.85
 },
 "subcategory": null,
 "id": "org-brainkb-brainkb",
 "listing": {
  "plan": "curated",
  "fee_usd": null,
  "note": "Listing fees are not active. Placement is earned only by test results."
 },
 "status": "listed",
 "first_seen": "2026-11-24",
 "uptime_days": "2/2"
}