Metadata-Version: 2.4
Name: mcp-number-theory
Version: 0.1.0
Summary: MCP server exposing number theory functions and factorization algorithms from RsaCtfTool
Project-URL: Homepage, https://github.com/daedalus/mcp-number-theory
Project-URL: Repository, https://github.com/daedalus/mcp-number-theory
Project-URL: Issues, https://github.com/daedalus/mcp-number-theory/issues
Author-email: Dario Clavijo <clavijodario@gmail.com>
License: MIT
License-File: LICENSE
Requires-Python: >=3.11
Requires-Dist: fastmcp
Requires-Dist: gmpy2
Provides-Extra: all
Requires-Dist: hatch; extra == 'all'
Requires-Dist: hypothesis; extra == 'all'
Requires-Dist: mypy; extra == 'all'
Requires-Dist: pytest; extra == 'all'
Requires-Dist: pytest-asyncio; extra == 'all'
Requires-Dist: pytest-cov; extra == 'all'
Requires-Dist: pytest-mock; extra == 'all'
Requires-Dist: ruff; extra == 'all'
Provides-Extra: dev
Requires-Dist: hatch; extra == 'dev'
Requires-Dist: mypy; extra == 'dev'
Requires-Dist: ruff; extra == 'dev'
Provides-Extra: lint
Requires-Dist: mypy; extra == 'lint'
Requires-Dist: ruff; extra == 'lint'
Provides-Extra: test
Requires-Dist: hypothesis; extra == 'test'
Requires-Dist: pytest; extra == 'test'
Requires-Dist: pytest-asyncio; extra == 'test'
Requires-Dist: pytest-cov; extra == 'test'
Requires-Dist: pytest-mock; extra == 'test'
Description-Content-Type: text/markdown

# mcp-number-theory

> MCP server exposing number theory functions and factorization algorithms.

[![PyPI](https://img.shields.io/pypi/v/mcp-number-theory.svg)](https://pypi.org/project/mcp-number-theory/)
[![Python](https://img.shields.io/pypi/pyversions/mcp-number-theory.svg)](https://pypi.org/project/mcp-number-theory/)

## Install

```bash
pip install mcp-number-theory
```

## Usage

```python
from mcp_number_theory import number_theory as nt

# Compute GCD
result = nt.gcd(48, 18)  # Returns 6

# Factorize
from mcp_number_theory import algos
p, q = algos.fermat(1234567890123456789)
```

## MCP Server

This package provides an MCP server that exposes number theory functions. Run with:

```bash
mcp-number-theory
```

mcp-name: io.github.daedalus/mcp-number-theory
