Skip to main content

CAILculator MCP Server - High-dimensional data analysis with dual algebra frameworks

Project description

Applied Pathological Mathematics™ was born from this hypothesis:

Higher-dimensional algebras following the Cayley-Dickson sequence, which have been wrongly dismissed as "pathological" mathematics, can be interpreted and exploited for computational advantage, with particular benefits for data journalism, AGI research, and high-frequency quantitative analysis.


CAILculator MCP Server v2.0

Universal High-Precision Mathematical Structure Analysis for AI Agents

"Leveling the playing field with high-end, formally verified data analysis tools"

🏆 Milestone: High-Precision Universal Engine (v2.0 - April 2026)

CAILculator has been completely overhauled to meet a $10^{-15}$ machine precision standard. The core engine is now strictly governed by Lean 4 formal verification, grounding every calculation in machine-verified mathematical truth.

  • BilateralCollapse.lean: Formally proves the bilateral zero divisor identity ($PQ=0 \land QP=0$) used to gate all v2.0 transmissions.
  • ChavezTransform_genuine.lean: Proved stability constant $M$, ensuring transform outputs never exceed rigorous theoretical bounds.
  • Dual Frameworks: v2.0 natively supports both non-associative Cayley-Dickson and associative Clifford (Geometric) algebras.

The Mission: Data Analysis for Everyone

CAILculator v2.0 is designed to "level the playing field." By translating high-dimensional algebraic structures into domain-specific insights, we empower journalists, students, and researchers with tools previously reserved for elite quantitative shops.

Specialized Profiles

v2.0 introduces the Profile Manager, which projects universal algebraic patterns into semantic leads:

  • Journalism Profile: Leveraging 30+ years of reporting expertise.
    • Tipping Points: Detects sudden structural collapses in budgets, consensus, or policy (Bilateral Zeros).
    • Sourcing Confidence: Measures signal robustness against noisy FOIA data (Transform Convergence).
    • Beats: Optimized mappers for Politics (Campaign Finance), Public Health, and Poverty.
  • Quant Equity Profile: Designed for AGI-driven financial analysis.
    • Regime Detection: Bridges HMM statistical baselines with algebraic structural analysis.
    • Volatility Anchors: Identifies bifurcation risks using verified zero-divisor loci.
  • RHI & General Data: Spectral research mapping (Riemann Hypothesis Investigation) and general-purpose CSV analysis.

Core v2.0 Upgrades

1. High-Precision standard ($10^{-15}$)

Unlike v1.x which relied on approximate $10^{-8}$ thresholds, v2.0 enforces full double-precision accuracy across all hypercomplex operations. If a pattern isn't a zero divisor to $10^{-15}$, it doesn't pass the v2.0 gate.

2. The "Option A" Embedding Fix

v2.0 resolves the "dispatch collapse" issue. Instead of embedding scalars into the $e_0$ channel, data is strictly mapped to non-real sedenion channels ($e_1$-$e_{15}$). This enables true mathematical differentiation across the Canonical Six patterns.

3. ZDTP 2.0 (Zero Divisor Transmission Protocol)

The protocol now uses Bilateral Grounding. Transmissions (16D → 32D → 64D) are derived from the four-factor bilateral interaction ${Px, xQ, Qx, xP}$, ensuring data integrity is verified by the same physics that governs the transform.

4. Cross-Algebra Universality

v2.0 identifies Pattern 2 as the "Universal Bilateral Anchor"—a zero divisor pattern that holds identically across both Cayley-Dickson and Clifford algebras.

System Requirements

  • Python: 3.10 to 3.13 (64-bit)
  • OS: Windows 10/11, macOS 10.15+, Linux (Ubuntu 20.04+)
  • Architecture: 64-bit required for high-precision scipy and numpy operations.

Installation

pip install cailculator_mcp

Configuration (Claude Desktop)

Open your configuration file and add the CAILculator server:

{
  "mcpServers": {
    "cailculator": {
      "command": "cailculator-mcp",
      "args": ["--transport", "stdio"],
      "env": {
        "CAILCULATOR_API_KEY": "your_api_key_here"
      }
    }
  }
}

Available Tools (v2.0)

🔬 High-Precision Tools

  • chavez_transform: Apply the formally verified transform to find hidden structure in data.
  • detect_patterns: Algebraic detection of Tipping Points and Pattern Consistency.
  • verify_bilateral_oracle: High-precision check ($10^{-15}$) for any zero divisor pair.
  • map_e8_orbit: Project 16D/32D vectors onto verified E8 Weyl orbits.

📰 Domain Intelligence

  • list_domain_profiles: Explore Journalism, Quant, and RHI tiers.
  • zdtp_transmit: Protocol-level structural data transmission with convergence scoring.
  • illustrate: High-precision visualizations (Refactored to resolve System32 path regressions).

📈 Financial & Batch Analysis

  • regime_detection: Dual-method market analysis.
  • batch_analyze_market: Smart sampling strategy for GB-scale datasets.

Research & Collaboration

Built on formal research published at DOI: 10.5281/zenodo.17402495. All core structural claims are verified in Lean 4.

Interested in custom profile development? Contact Chavez AI Labs at paul@chavezailabs.com or iknowpi@gmail.com.


Chavez AI Labs - "Verification over assumption. Better math, less suffering."

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

cailculator_mcp-2.0.2.tar.gz (157.2 kB view details)

Uploaded Source

Built Distribution

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

cailculator_mcp-2.0.2-py3-none-any.whl (89.0 kB view details)

Uploaded Python 3

File details

Details for the file cailculator_mcp-2.0.2.tar.gz.

File metadata

  • Download URL: cailculator_mcp-2.0.2.tar.gz
  • Upload date:
  • Size: 157.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for cailculator_mcp-2.0.2.tar.gz
Algorithm Hash digest
SHA256 efd4abf6ed386b1f08156429cefa82841c7cb2aa950e5168e56fce6c6592b49e
MD5 f65ee68bec04b5f2470846b391e7054c
BLAKE2b-256 15b155f71f0694e0b880d7a347dc2747df44898f4ee134db9ac784ff1bfa429d

See more details on using hashes here.

File details

Details for the file cailculator_mcp-2.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for cailculator_mcp-2.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 13bf76a61b269ae7b52a8cbfc42291f28b1e4c7526e83820a04e815ba8d4aca8
MD5 39e3ca7c9df0ea9ba188624b94448234
BLAKE2b-256 786faf74179a04bd7506475d5d73132f334334c2f1bf8dc9f6620380ef85ea9a

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