A comprehensive open-source research analysis platform combining a modern Next.js frontend with a powerful Python/FastAPI backend to help academics, researchers, and curious individuals understand scientific literature through AI-driven insights and analytics.
Try it here https://metascience.fqxi.org
The Metascience Platform consists of two main components working together:
- Frontend (
/frontend): A Next.js 15 application providing an intuitive interface for searching papers, visualizing citation networks, and viewing AI-generated insights. - Backend (
/backend): A Python/FastAPI service that integrates with multiple academic data sources (ArXiv, OpenAlex, Semantic Scholar) and AI models (Claude 4.5 Sonnet, Google Gemini 3 Flash) to power the analysis.
- π Multi-Database Search: Unified search across ArXiv, Semantic Scholar, and OpenAlex.
- π€ AI-Driven Insights: Natural language query processing and automated paper reviews using Claude 4.5 Sonnet and Gemini 3 Flash.
- πΈοΈ Citation Network Analysis: Visualize relationships between papers and identify influential research.
- π Advanced Analytics: Trend discovery, author collaboration networks, and key metrics.
- Node.js: 18.x or higher
- Python: 3.11+ or 3.13+
- pnpm (recommended) or npm/yarn
- Anthropic API Key (for AI features)
- Google API Key (for Gemini features)
Clone the repository:
git clone https://github.com/Kernel-Science/Metascience_Platform.git
cd Metascience_PlatformNavigate to the backend directory and start the server:
cd backend
python -m venv .venv
source .venv/bin/activate # Windows: .\.venv\Scripts\Activate.ps1
pip install -r requirements.txt
# Configure environment
cp .env.example .env
# Edit .env to add your ANTHROPIC_API_KEY and GOOGLE_API_KEY
# Start the server
uvicorn app.main:app --reloadThe backend API will be available at http://localhost:8000.
In a new terminal, navigate to the frontend directory:
cd frontend
pnpm install
# Configure environment
cp .env.example .env.local
# Add required environment variables (e.g., Supabase config if needed)
# Start the development server if you want the next.js controls visible on the frontend
pnpm dev
# If running in prod, build and serve the static files
pnpm build
pnpm startOpen http://localhost:3000 to view the application.
metascience-platform/
βββ frontend/ # Next.js Frontend Application
β βββ app/ # Application routes and pages
β βββ components/ # UI Components
β βββ ...
βββ backend/ # FastAPI Backend Service
β βββ app/ # Application logic (routes, services)
β βββ services/ # AI & Data integrations
β βββ ...
βββ README.md # This file
For detailed documentation on each component, please refer to their respective README files:
Contributions are welcome! Please read the Contributing Guidelines and our Code of Conduct.
This project is licensed under the MIT License.
To report a security vulnerability, please see our Security Policy.