An AI-powered research paper analysis platform that helps you understand credibility, detect bias, and evaluate research quality with intelligent insights.
- π Search Research Papers: Search from the OpenAlex database with millions of papers
- π€ AI-Powered Analysis: Uses Claude API to analyze papers using a comprehensive adaptive framework
- π Credibility Assessment: Evaluates papers on methodological rigor, transparency, source quality, author credentials, statistical validity, and logical consistency (0-10 scale)
β οΈ Bias Detection: Identifies multiple types of bias including selection, confirmation, publication, reporting, funding, citation, demographic, and measurement bias- π Key Findings Extraction: Automatically extracts research fundamentals, methodology, findings, limitations, and conclusions
- π Bookmark Papers: Save your favorite analyses for later review
- π¨ Beautiful UI: Modern, responsive design with smooth animations inspired by contemporary design patterns
- Frontend: Next.js 15 with React 19
- Styling: Tailwind CSS v3
- APIs:
- OpenAlex API (paper database)
- Anthropic Claude API (LLM analysis)
- State Management: React hooks with localStorage for bookmarks
- Node.js 18.17 or later
- npm or yarn package manager
- Clone the repository:
cd research-analysis- Install dependencies:
npm install- Create
.env.localfile in the project root with your API keys:
# Copy from .env.example and fill in your actual keys
CLAUDE_API_KEY=sk-ant-...Note: Never commit
.env.localto git. Add your actual API keys only in the local.env.localfile.
npm run devOpen http://localhost:3000 in your browser.
npm run build
npm start- Search Papers: Use the search bar on the homepage to find research papers by topic, author, or keywords
- View Results: Papers appear as cards with basic information
- Analyze: Click the "Analyze" button on any paper to run the full AI analysis
- Review Analysis: The analysis includes:
- Credibility score with breakdown by component
- Identified biases and their severity
- Key research findings and methodology
- Research perspective and theoretical framework
- Bookmark: Save papers you find interesting using the bookmark button
- View Bookmarks: Access your saved papers from the Bookmarks page
app/
βββ api/
β βββ search/ # CORE API search endpoint
β βββ analyze/ # Groq LLM analysis endpoint
βββ components/
β βββ SearchBar.tsx # Search interface
β βββ ResultsCard.tsx # Paper result cards
β βββ DetailedAnalysisView.tsx # Full analysis modal
βββ lib/
β βββ bookmarks.ts # Bookmark management utilities
βββ types/
β βββ index.ts # TypeScript type definitions
βββ bookmarks/
β βββ page.tsx # Bookmarks page
βββ page.tsx # Home page
βββ globals.css # Global styles
Searches for papers using the OpenAlex API.
Query Parameters:
q(required): Search querypage(optional): Page number (default: 1)
Response:
{
"papers": [{ paper objects }],
"totalHits": number,
"hasMore": boolean,
"currentPage": number
}Analyzes a paper using the Claude API with the comprehensive adaptive framework.
Request Body:
{
"paper": { paper object },
"fullText": "Paper content or abstract"
}Response:
{
"paper": { paper object },
"credibility": { credibility assessment },
"bias": { bias analysis },
"keyFindings": { extracted findings },
"perspective": { research perspective },
"timestamp": "ISO timestamp"
}The AI analysis uses a comprehensive framework that includes:
- Methodological Rigor (0-2.5)
- Data Transparency (0-2)
- Source Quality (0-1.5)
- Author Credibility (0-1.5)
- Statistical Validity (0-1.5)
- Logical Consistency (0-1)
- Selection Bias
- Confirmation Bias
- Publication Bias
- Reporting Bias
- Funding Bias
- Citation Bias
- Demographic Bias
- Measurement Bias
- Research fundamentals
- Research questions and hypotheses
- Methodology details
- Primary and secondary findings
- Limitations and severity assessment
- Conclusions and implications
- Theoretical framework
- Epistemological stance
- Research assumptions
- Ideological positioning
- Author positionality
- Contextual information
Create or edit .env.local with your API keys (never commit this file):
# Required for Claude API analysis
CLAUDE_API_KEY=sk-ant-...
# Optional - for future features
# OPENAI_API_KEY=sk-...See .env.example for the template format.
- Tailwind configuration:
tailwind.config.ts - Global styles:
app/globals.css - Color scheme is defined in the Tailwind config
To change the Claude model, update app/api/analyze/route.ts:
model: 'claude-3-5-haiku-20241022', // Change this lineSee Anthropic documentation for available models.
- Papers are fetched on-demand from OpenAlex API
- Analysis requests are sent to Claude API (may take a few seconds)
- Bookmarks are stored in browser localStorage
- Consider implementing pagination for large search results
- Analysis quality depends on Claude API capabilities
- Full-text document analysis is available when full text is provided
- Bookmarks are stored locally in the browser (not synced across devices)
- OpenAlex API may have rate limits
- Full-text PDF parsing for complete paper analysis
- Database backend for persistent bookmark storage
- User accounts and authentication
- Advanced filtering by bias level, credibility score, etc.
- Comparison view for multiple papers
- Export analysis as PDF
- Community annotations and ratings
- Advanced search filters
- Research collaboration features
- Verify the API keys are correct in
.env.local - Check if the APIs are accessible from your network
- Try regenerating the API keys from the provider dashboards
- Claude API analysis can take 10-30 seconds per paper
- This is normal behavior for comprehensive analysis
- Consider implementing a progress bar for better UX
- Try simpler search terms
- Check the OpenAlex API is responsive
- Verify you have internet connectivity
MIT License - feel free to use this project for personal and commercial purposes.
Contributions are welcome! Feel free to submit issues and pull requests.
For issues and questions, please open an issue on the GitHub repository.