Skip to main content
Glama

DoWhy MCP v2.0

by lesong36
MIT License
pyproject.toml4 kB
[build-system] requires = ["hatchling"] build-backend = "hatchling.build" [project] name = "dowhy-mcp-server" version = "2.0.0" description = "Professional DoWhy MCP Server - Comprehensive Causal Inference Tools" authors = [ {name = "DoWhy MCP Team", email = "contact@dowhy-mcp.org"} ] readme = "README.md" license = {text = "MIT"} keywords = ["causal inference", "DoWhy", "MCP", "causal analysis", "statistics"] classifiers = [ "Development Status :: 4 - Beta", "Intended Audience :: Science/Research", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Topic :: Scientific/Engineering :: Mathematics", "Topic :: Scientific/Engineering :: Artificial Intelligence", ] requires-python = ">=3.10" dependencies = [ # MCP framework (primary dependency) "mcp[cli]>=1.0.0", # Core causal inference "dowhy>=0.11.0", "econml>=0.14.0", "causal-learn>=0.1.3.3", # Scientific computing "numpy>=1.21.0", "pandas>=1.5.0", "scipy>=1.9.0", "scikit-learn>=1.1.0", # Graph and visualization "networkx>=2.8", "graphviz>=0.20", "matplotlib>=3.5.0", "seaborn>=0.11.0", # Statistical analysis "statsmodels>=0.13.0", # Data validation and serialization "pydantic>=2.0.0", # Utilities "tqdm>=4.64.0", "typer>=0.9.0", "rich>=13.0.0", ] [project.optional-dependencies] dev = [ "pytest>=7.0.0", "pytest-cov>=4.0.0", "pytest-xdist>=3.0.0", "black>=23.0.0", "isort>=5.12.0", "ruff>=0.1.0", "mypy>=1.0.0", "pre-commit>=3.0.0", ] docs = [ "mkdocs>=1.5.0", "mkdocs-material>=9.0.0", "mkdocstrings[python]>=0.22.0", ] benchmark = [ "memory-profiler>=0.60.0", "psutil>=5.9.0", "pytest-benchmark>=4.0.0", ] all = [ "dowhy-mcp-server[dev,docs,benchmark]", ] [project.urls] Homepage = "https://github.com/dowhy-mcp/dowhy-mcp-server" Documentation = "https://dowhy-mcp.readthedocs.io/" Repository = "https://github.com/dowhy-mcp/dowhy-mcp-server.git" Issues = "https://github.com/dowhy-mcp/dowhy-mcp-server/issues" [project.scripts] dowhy-mcp-server = "dowhy_mcp_server.cli:main" [tool.hatch.build.targets.wheel] packages = ["src/dowhy_mcp_server"] [tool.black] line-length = 88 target-version = ['py39', 'py310', 'py311', 'py312'] include = '\.pyi?$' [tool.isort] profile = "black" multi_line_output = 3 line_length = 88 known_first_party = ["dowhy_mcp_v2"] [tool.mypy] python_version = "3.9" 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] testpaths = ["tests"] python_files = ["test_*.py", "*_test.py"] python_classes = ["Test*"] python_functions = ["test_*"] addopts = [ "--strict-markers", "--strict-config", "--cov=src/dowhy_mcp_v2", "--cov-report=term-missing", "--cov-report=html", "--cov-fail-under=85", ] markers = [ "slow: marks tests as slow (deselect with '-m \"not slow\"')", "integration: marks tests as integration tests", "unit: marks tests as unit tests", "benchmark: marks tests as benchmark tests", ] [tool.coverage.run] source = ["src/dowhy_mcp_v2"] omit = [ "*/tests/*", "*/test_*.py", "*/__pycache__/*", ] [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__.:", "class .*\\bProtocol\\):", "@(abc\\.)?abstractmethod", ]

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lesong36/dowhy_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server