book-recommender

book-recommender

MCP server that provides book recommendation tools, allowing an AI agent to search and filter books by genre, page count, and ratings using the Goodreads dataset.

Category
Visit Server

README

šŸ“˜ Book Recommender

šŸ“ Description

This project builds a Book Recommendation System powered by Generative AI and the Model Context Protocol (MCP).
It uses real data from the Goodreads dataset (via Kaggle) and combines Python-based data processing with an AI agent capable of understanding user prompts, translating genres, and recommending books based on genre, page count, and ratings.

The project was developed collaboratively to practice version control, team workflows, and AI tool integration in a real-world Data Science scenario.


āš™ļø Technologies and Tools Used

  • Python 3.11
  • pandas – data manipulation
  • numpy – numerical operations
  • tqdm – progress tracking
  • OpenAI API – language model for the AI agent
  • LangGraph – for building the ReAct-style reasoning agent
  • MCP (Model Context Protocol) – connects the AI agent to external tools
  • Jupyter Notebook – exploratory data analysis and prototyping

šŸ’» How to Run the Project

Step-by-step instructions to run it locally:

# Clone the repository
git clone https://github.com/nalugomesv/book-recommender.git

# Enter the project folder
cd book-recommender

# (Optional) Create a virtual environment
python -m venv .venv
.\.venv\Scripts\activate    # Windows
# or
source .venv/bin/activate   # Linux/Mac

# Install dependencies
pip install -r requirements.txt

# Run the core script
python -m src.buscador --genero "romance" --paginas 120

# Or search by title
python -m src.buscador --titulo "Dune"

🧩 Project Structure

.

ā”œā”€ā”€ src/

│ ā”œā”€ā”€ buscador.py # Core search functions (genre, pages, title)

│ └── server_mcp.py # Local MCP server exposing tools to the AI agente

ā”œā”€ā”€ notebooks/ # Exploratory and test notebooks

ā”œā”€ā”€ data/ # Dataset (not versioned)

ā”œā”€ā”€ outputs/ # Generated artifacts (ignored)

ā”œā”€ā”€ .env.example # Environment variable example

ā”œā”€ā”€ requirements.txt # Dependencies

└── README.md # Project documentation


šŸ‘„ Collaborators

⦁ Ana Luiza Gomes Vieira (@nalugomesv) ⦁ Arthur Mendes Fernandes (@thuplex)


šŸŽÆ Future Improvements

  • Add more filtering options (author, publication year, etc.)
  • Integrate external MCP APIs (HTTP/SSE)
  • Add evaluation metrics (Precision@K, MAP)
  • Improve LLM reasoning prompts for more accurate recommendations

šŸ“„ License

This project is licensed under the MIT License.


🧠 Acknowledgments

This project was inspired by the PrograMaria – Data & Generative AI Sprint,
specifically the Workshop on Predictive Query Models (MCP) and Book Recommendation System using Generative AI.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured