Skip to main content

Model Context Protocol (MCP) implementation for connecting AI systems with external data sources

Project description

Axiom MCP

Model Context Protocol (MCP) implementation for connecting AI systems with external data sources.

Installation

Using uv (recommended):

uv pip install axiom-mcp

Using pip:

pip install axiom-mcp

Development Setup

  1. Clone the repository:

    git clone https://github.com/yourusername/axiom-mcp.git
    cd axiom-mcp
    
  2. Install uv if you haven't already:

    curl -LsSf https://astral.sh/uv/install.sh | sh
    
  3. Create and activate a virtual environment with uv:

    uv venv
    source .venv/bin/activate  # On Unix/Linux
    # or
    .venv\Scripts\activate  # On Windows
    
  4. Install development dependencies:

    uv pip install -e ".[dev]"
    
  5. Install pre-commit hooks:

    pre-commit install
    

Pre-commit Hooks

This project uses pre-commit hooks to ensure code quality. The following checks are run automatically before each commit:

  • Code formatting with black
  • Import sorting with isort
  • Type checking with mypy
  • Linting with ruff
  • Basic syntax checks
  • Check for large files
  • Check for merge conflicts

To manually run all pre-commit hooks:

uv run pre-commit run --all-files

Running Tests

uv run python -m pytest

For tests with coverage report:

uv run python -m pytest --cov=axiom_mcp tests/

Code Quality

This project enforces high code quality standards using:

  • black for consistent code formatting
  • isort for import sorting
  • mypy for static type checking
  • ruff for fast Python linting
  • pytest for testing with coverage reporting

To run all quality checks:

black .
isort .
mypy .
ruff .
pytest

Using uv for Fast Dependencies Management

uv provides faster package installation and dependency resolution. Some useful commands:

# Update dependencies
uv pip compile pyproject.toml -o requirements.txt

# Sync your environment with requirements
uv pip sync requirements.txt

# Add a new dependency
uv pip install package-name

Contributing

  1. Fork the repository
  2. Create a new branch for your feature
  3. Make your changes
  4. Run all quality checks:
    pre-commit run --all-files
    pytest
    
  5. Submit a pull request

License

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

axiom_mcp-0.1.0.tar.gz (118.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

axiom_mcp-0.1.0-py3-none-any.whl (68.3 kB view details)

Uploaded Python 3

File details

Details for the file axiom_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: axiom_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 118.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for axiom_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e92aa81758d5c2e5ef62a7c8c0fed3f5b5004480acb76ee1fee4506ca4aecb16
MD5 c8c27cd5467bb2b130932e1ffa105681
BLAKE2b-256 42fdf2adcfb249edea3198c7537f77b49771335cbe44cc847432e74429502143

See more details on using hashes here.

File details

Details for the file axiom_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: axiom_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 68.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for axiom_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f9cc14a6f64bdbdc704721e30b3e07596d664a2020144a61aa29d334dd21a16b
MD5 f785a50e6d4eb8089be4eda03fbe4160
BLAKE2b-256 0aae8283810481a5f45140affc834a18418c147d8cf790301a5ef12c81c00d0c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page