Literature Manager MCP
An MCP server for organizing research papers, books, and digital sources by tracking reading progress and taking structured notes. It enables AI assistants to manage literature databases and link sources to specific concepts within a knowledge base.
README
š Literature Manager MCP
A beginner-friendly system for managing research papers, books, and other sources using AI assistants through the Model Context Protocol (MCP).
šÆ What is this?
This tool helps you:
- Organize research papers, books, websites, and videos
- Take notes on your sources with structured titles
- Track reading progress (unread, reading, completed, archived)
- Connect sources to concepts in your knowledge base
- Work with AI assistants like Claude to manage your literature
š Quick Start
1. Prerequisites
- Python 3.8 or higher
š Quick Start
1. Prerequisites
- Python 3.8 or higher
- Basic familiarity with command line
2. Installation
# Clone this repository
git clone https://github.com/Amruth22/literature-manager-mcp.git
cd literature-manager-mcp
# Install dependencies
pip install -r requirements.txt
# Create your database
python setup_database.py
3. Choose Your Usage Method
Option A: Direct Python Usage (Recommended)
# Set your database path
## š How to Use
### Command Line Interface
```bash
# Add a research paper
python cli.py add-source "Attention Is All You Need" paper arxiv 1706.03762
# Add a book
python cli.py add-source "Deep Learning" book isbn 978-0262035613
# Add a note
python cli.py add-note "Attention Is All You Need" paper arxiv 1706.03762 \
"Key Insight" "Transformers eliminate recurrence"
# Update status
python cli.py update-status "Attention Is All You Need" paper arxiv 1706.03762 completed
# Link to entity
python cli.py link-entity "Attention Is All You Need" paper arxiv 1706.03762 \
"transformer architecture" introduces
# List sources
python cli.py list --type paper --status unread
# Search sources
python cli.py search "transformer"
# Show statistics
python cli.py stats
# Get help
python cli.py help
Direct Python Usage
from src.database import LiteratureDatabase
# Initialize database
db = LiteratureDatabase("literature.db")
# Add a source
source_id = db.add_source(
title="Attention Is All You Need",
source_type="paper",
identifier_type="arxiv",
identifier_value="1706.03762"
# Add a note
db.add_note(source_id, "Key Insight", "Transformers eliminate recurrence...")
# Update status
db.update_status(source_id, "completed")
# Link to entity
db.link_to_entity(source_id, "transformer architecture", "introduces")
# Get source details
source = db.get_source_by_id(source_id)
print(source)
Running Examples
# Run basic examples
python examples/basic_usage.py
# Run advanced examples
python examples/advanced_usage.py
# Run direct usage examples
python direct_usage.py
- completed: Finished reading
- archived: Saved for later reference
š Relationship Types
When linking sources to concepts:
- discusses: Source talks about the concept
- introduces: Source first presents the concept
- extends: Source builds upon the concept
- evaluates: Source analyzes/critiques the concept
- applies: Source uses the concept practically
- critiques: Source criticizes the concept
š ļø Available Commands
Basic Operations
add_source()- Add a new sourceadd_note()- Add notes to sourcesupdate_status()- Change reading statussearch_sources()- Find sources
Advanced Operations
link_to_entity()- Connect sources to conceptsget_entity_sources()- Find sources by conceptadd_identifier()- Add more IDs to existing sources
Database Operations
list_sources()- Show all sourcesget_source_details()- Get complete source infodatabase_stats()- Show database statistics
š Project Structure
literature-manager-mcp/
āāā README.md # This file
āāā requirements.txt # Python dependencies
āāā setup_database.py # Database setup script
āāā server.py # Main MCP server
āāā src/
ā āāā __init__.py
ā āāā database.py # Database operations
ā āāā models.py # Data models
ā āāā tools.py # MCP tools
ā āāā utils.py # Helper functions
āāā examples/
ā āāā basic_usage.py # Simple examples
ā āāā advanced_usage.py # Complex workflows
āāā tests/
ā āāā test_basic.py # Unit tests
āāā docs/
āāā installation.md # Detailed setup
āāā examples.md # More examples
āāā troubleshooting.md # Common issues
š¤ Contributing
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
š License
This project is licensed under the MIT License - see the LICENSE file for details.
š Need Help?
- Check the troubleshooting guide
- Look at examples
- Open an issue
š Acknowledgments
- Based on the original work by zongmin-yu
- Built with FastMCP
- Uses Model Context Protocol
Recommended Servers
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.
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.
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.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
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.
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.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
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.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.