BrainKB is a knowledge base platform for searching, exploring, visualizing, and contributing neuroscience knowledge using knowledge graphs (KGs).
git clone https://github.com/sensein/BrainKBTools overview
# BrainKB
BrainKB is a cutting-edge knowledge base platform designed to empower scientists worldwide by providing tools for searching, exploring, and visualizing Neuroscience knowledge through knowledge graphs (KGs). Additionally, BrainKB offers advanced tools that enable scientists to contribute new information to the platform, ensuring it remains the premier destination for neuroscience research.
BrainKB serves as a knowledge base platform that provides scientists worldwide with tools for searching, exploring, and visualizing Neuroscience knowledge represented by knowledge graphs (KGs). Moreover, BrainKB provides cutting-edge tools that enable scientists to contribute new information (or knowledge) to the platform, ensuring it remains the go-to destination for all neuroscience-related research needs.
## Organization
- [Ingest Service](ingest_service) Provides the service related to data ingestion and consumption using RabbitMQ. Not used currently.
- [GraphDB](graphdb) The docker compose configuration of GraphDB.
- [JWT User & Scope Manager](APItokenmanager) A toolkit to manage JWT users and their permissions for API endpoint access.
- [Query Service](query_service) Provides the functionalities for querying (and updating) the knowledge graphs from the graph database.
- [SPARQL Queries](sparql_queries) List of SPARQL queries tested or used in BrainKB.
## Running
### Quick Start
#### 1. Setup Environment variables
**Important**: Change default passwords in `.env` for security.
```bash
# Copy the environment template
cp env.template .env
# Edit .env with your configuration (make sure to change passwords!)
nano .env # or use your preferred editor
```
#### 2. Start Services
**Recommended: Use the wrapper script (includes Ollama setup + pgAdmin config):**
```bash
chmod +x start_services.sh
./start_services.sh
```
#### 3. Access Services
Once started, services are accessible at:
- **API Token Manager (Django)**: `http://localhost:8000/`
- Once you register JWT user you need to activate it using token manager. You can also assign permission.
- **Query Service (FastAPI)**: `http://localhost:8010/`
- Now supports ingestion than just querying.
- **ML Service (FastAPI)**: `http://localhost:8007/`
- Integrates StructSense (multi-agent NER + structured-resource extraction).
- Hosts **SynthScholar** at `/api/synth-scholar/*` — PRISMA-guided literature
review pipeline (search → screening → critical appraisal → synthesis,
with SSE progress streaming and markdown / JSON / RDF exports). Reuses
the unified `brainkb` Postgres database. See `env.template` for the
optional API keys (OpenRouter, NCBI, Semantic Scholar, CORE).
- **Oxigraph SPARQL**: `http://localhost:7878/` (password protected) graph database
- **pgAdmin**: `http://localhost:5051/`
- **User management service**: http://localhost:8004
**Please note:** for the Query Service and ML Service, you won’t see anything at their base URLs. To verify they are running, open their API docs at `http://localhost:8010/docs` and `http://localhost:8007/docs` respectively.
### Troubleshooting
If you encounter Docker mount errors or issues with file sharing, please refer to the [Troubleshooting section in LOCAL_DEPLOYMENT.md](LOCAL_DEPLOYMENT.md#troubleshooting).
## Documentation
Please refer to the BrainKB documentation below for additional information regarding BrainKB, its rationale, deployment instructions, and lessons learned.
- [https://sensein.group/brainkbdocs/](https://sensein.group/brainkbdocs/)
## Contact
- Tek Raj Chhetri <tekraj@mit.edu>
## License
This project is licensed under the [Apache License 2.0](https://opensource.org/license/apache-2-0).
**Copyright © 2024–Present Senseable Intelligence Group**
You may obtain a copy of the license at: [Apache License, Version 2.0](https://opensource.org/license/apache-2-0)
What people ask about BrainKB
What is sensein/BrainKB?
+
sensein/BrainKB is tools for the Claude AI ecosystem. BrainKB is a knowledge base platform for searching, exploring, visualizing, and contributing neuroscience knowledge using knowledge graphs (KGs). It has 4 GitHub stars and was last updated today.
How do I install BrainKB?
+
You can install BrainKB by cloning the repository (https://github.com/sensein/BrainKB) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is sensein/BrainKB safe to use?
+
sensein/BrainKB has not been audited yet by our security agent. Review the original repository on GitHub before using it in production.
Who maintains sensein/BrainKB?
+
sensein/BrainKB is maintained by sensein. The last recorded GitHub activity is from today, with 13 open issues.
Are there alternatives to BrainKB?
+
Yes. On ClaudeWave you can browse similar tools at /categories/tools, sorted by popularity or recent activity.
Deploy BrainKB to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/sensein-brainkb)<a href="https://claudewave.com/repo/sensein-brainkb"><img src="https://claudewave.com/api/badge/sensein-brainkb" alt="Featured on ClaudeWave: sensein/BrainKB" width="320" height="64" /></a>More Tools
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
An AI SKILL that provide design intelligence for building professional UI/UX multiple platforms
🪨 why use many token when few token do trick — Claude Code skill that cuts 65% of tokens by talking like caveman
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies
The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
AI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary