DEV Community

Cover image for AI That Reads PDFs Like a Topper ๐Ÿ˜ฎ | Built with Algolia + OpenAI
Rajguru Yadav
Rajguru Yadav

Posted on

AI That Reads PDFs Like a Topper ๐Ÿ˜ฎ | Built with Algolia + OpenAI

Hey dev

here i post ๐Ÿง  AI Study Assistant (PDF Q&A)
This is my submission for the Algolia MCP Server Challenge

๐Ÿš€ Project Overview
๐Ÿ“˜ A personal AI-powered study assistant where you can:

๐Ÿ“„ Upload your PDF notes
๐Ÿ” Use Algolia MCP server to index and chunk your content
๐Ÿ’ฌ Ask natural-language questions
๐Ÿค– Get intelligent answers powered by OpenAI
๐ŸŽฅ Demo
โ–ถ๏ธ Watch on Loom

๐Ÿ’ป GitHub Repo
๐Ÿ”— Rajyadav81/ai-study-assistant

๐Ÿงช How It Works
User uploads a PDF.
The text is extracted using PDF.js.
Text is chunked into 1000-character segments.
Chunks are pushed to Algolia index using MCP-style format.
User asks a question.
Algolia retrieves relevant chunks.
OpenAI API answers based on retrieved context.
๐Ÿงฐ Technologies Used
PDF.js
Algolia MCP Server
OpenAI API (GPT-3.5)
HTML, CSS, JavaScript
Express.js (Node backend)
๐Ÿ” MCP Integration
I used Algolia's Model Context Protocol (MCP) approach to store and query contextual information.

This allows OpenAI to respond more intelligently by grounding responses in user-uploaded notes.

โœ… Submission Categories
๐Ÿ… Ultimate User Experience

๐Ÿง  Backend Data Optimization

๐Ÿง  What I Learned
This challenge helped me:

Understand chunking and contextual memory storage
Build a full-stack app with AI-powered interaction
Work with Algolia's search APIs and OpenAI integration
๐Ÿ™Œ Thank You
Thanks to the DEV team and Algolia for this amazing challenge!

Excited to explore more with MCP and intelligent search ๐Ÿค–

Top comments (4)

Collapse
ย 
Sloan, the sloth mascot
Comment deleted
Collapse
ย 
rajguru_yadav_56d13a7b8fc profile image
Rajguru Yadav โ€ข

Thankyou โ˜บ๏ธ

Collapse
ย 
hacker_khan_a112f762053bb profile image
Hacker Khan โ€ข

Nice in the age 16 you will make a advance project you are trully genious

Collapse
ย 
rajguru_yadav_56d13a7b8fc profile image
Rajguru Yadav โ€ข

Thankyou โ˜บ๏ธ