[project]
name = "paper-download-mcp"
version = "0.4.1"
description = "MCP server for downloading academic papers from multiple sources"
readme = "README.md"
requires-python = ">=3.10"
license = { text = "MIT" }
authors = [
{ name = "Oxidane", email = "1317078257maroon@gmail.com" }
]
keywords = ["mcp", "academic-papers", "sci-hub", "unpaywall", "research"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"mcp[cli]>=1.0.0",
"requests>=2.31.0",
"beautifulsoup4>=4.12.0",
"curl-cffi>=0.13.0",
"cloudscraper>=1.2.71",
"pydantic>=2.0.0",
"lxml>=4.9.0",
]
[project.urls]
Homepage = "https://github.com/Oxidane-bot/paper-download-mcp"
Documentation = "https://github.com/Oxidane-bot/paper-download-mcp#readme"
Repository = "https://github.com/Oxidane-bot/paper-download-mcp"
Issues = "https://github.com/Oxidane-bot/paper-download-mcp/issues"
Changelog = "https://github.com/Oxidane-bot/paper-download-mcp/blob/main/CHANGELOG.md"
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-asyncio>=0.21.0",
"mypy>=1.0.0",
"ruff>=0.1.0",
]
[project.scripts]
paper-download-mcp = "paper_download_mcp.server:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/paper_download_mcp"]
[tool.ruff]
# Python version
target-version = "py310"
# Line length
line-length = 100
# Exclude directories
exclude = [
".git",
".venv",
"__pycache__",
"build",
"dist",
"*.egg-info",
]
[tool.ruff.lint]
# Enable rule sets
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"N", # pep8-naming
"UP", # pyupgrade
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"SIM", # flake8-simplify
]
# Ignore specific rules
ignore = [
"E501", # line too long (handled by formatter)
]
[tool.ruff.format]
# Use double quotes
quote-style = "double"
# Indent with spaces
indent-style = "space"
# Unix line endings
line-ending = "lf"
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false