[build-system] requires = ["hatchling"] build-backend = "hatchling.build" [project] name = "eth-library-mcp" version = "0.4.0" description = "MCP Server for ETH Library Zurich — Access 30M+ resources (books, maps, images, archives) via the Discovery API" readme = "README.md" license = { file = "LICENSE" } requires-python = ">=3.11" keywords = [ "mcp", "model-context-protocol", "swiss-open-data", "eth-library", "discovery", "research", "archives", ] classifiers = [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Topic :: Scientific/Engineering :: Artificial Intelligence", ] dependencies = [ "mcp[cli]>=2.0.0,<3", "httpx>=0.27.0,<1.0.0", "pydantic>=2.0.0,<3.0.0", "structlog>=24.0.0,<27.0.0", ] [project.optional-dependencies] dev = [ "pytest>=8.0.0,<10.0.0", "pytest-asyncio>=0.23.0,<2.0.0", "pytest-cov>=5.0.0,<8.0.0", "respx>=0.21.0,<1.0.0", # Exakt die Version, die die CI faehrt (.github/workflows/ci.yml). # Eine Spanne liefert lokal eine andere ruff-Version als dort und meldet # Abweichungen an Code, den niemand angefasst hat. "ruff==0.16.5", ] [project.scripts] eth-library-mcp = "eth_library_mcp.server:mcp.run" [project.urls] Homepage = "https://github.com/malkreide/eth-library-mcp" Repository = "https://github.com/malkreide/eth-library-mcp" Issues = "https://github.com/malkreide/eth-library-mcp/issues" [tool.hatch.build.targets.wheel] packages = ["src/eth_library_mcp"] [tool.pytest.ini_options] asyncio_mode = "auto" testpaths = ["tests"] addopts = "-v --tb=short" markers = [ "live: live API tests (skipped in CI by default)", ] [tool.ruff] line-length = 100 target-version = "py311" [tool.ruff.lint] select = ["E", "F", "W", "I", "UP"] ignore = ["E501"]