[tool.poetry]
name = "ncbi-mcp-server"
version = "1.0.0"
description = "Model Context Protocol server for NCBI/PubMed literature search across all life sciences and biomedical research"
authors = ["Vitor Pavinato <vitor.pavinato@proton.me>"]
readme = "README.md"
license = "MIT"
homepage = "https://github.com/vitorpavinato/ncbi-mcp-server"
repository = "https://github.com/vitorpavinato/ncbi-mcp-server"
documentation = "https://github.com/vitorpavinato/ncbi-mcp-server"
keywords = ["mcp", "model-context-protocol", "ncbi", "pubmed", "literature-search", "biomedical", "life-sciences", "research", "bioinformatics", "scientific-literature"]
classifiers = [
"Development Status :: 4 - Beta",
"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",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Topic :: Scientific/Engineering :: Information Analysis",
]
packages = [{include = "ncbi_mcp_server", from = "src"}]
[tool.poetry.dependencies]
python = "^3.10"
mcp = "^1.0.0"
httpx = "^0.27.0"
typing-extensions = "^4.0.0"
python-dotenv = "^1.0.0"
redis = "^5.0.0"
aiofiles = "^23.0.0"
[tool.poetry.group.dev.dependencies]
pytest = "^7.0.0"
black = "^23.0.0"
mypy = "^1.0.0"
isort = "^5.12.0"
flake8 = "^6.0.0"
pytest-asyncio = "^0.21.0"
pytest-cov = "^4.0.0"
[tool.poetry.scripts]
ncbi-mcp-server = "ncbi_mcp_server.server:main"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 100
target-version = ['py310']
include = '\.pyi?$'
extend-exclude = '''
/(
# directories
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| build
| dist
)/
'''
[tool.isort]
profile = "black"
line_length = 100
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
warn_unreachable = true
strict_equality = true
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -q --strict-markers --cov=ncbi_mcp_server --cov-report=term-missing"
testpaths = ["tests"]
asyncio_mode = "auto"
[tool.coverage.run]
source = ["src"]
omit = ["*/tests/*"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if self.debug:",
"if settings.DEBUG",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"if __name__ == .__main__.:",
]