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.3.tar.gz (157.3 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.3-py3-none-any.whl (89.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cailculator_mcp-2.0.3.tar.gz
  • Upload date:
  • Size: 157.3 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.3.tar.gz
Algorithm Hash digest
SHA256 0c1196568036b46733f80868985690e71246cf14d77b3de54c7d758c3f3d7d73
MD5 73e63d89b883c0f9b783b8811171f437
BLAKE2b-256 a4ba31fc7b5735cb9aa077eb9d5fd59277727d0b8dcb73ce6ce20a59f5b0a5c4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cailculator_mcp-2.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2d68bc0bd1c8141605aa3e3dfd61c5bb1e2cdbe6f71576748369ac81e062bf0f
MD5 d3dd7aae7918826225c475d611c68f5e
BLAKE2b-256 41fb4855ee54a12bbd8b2f3e35a9115a60304c5efaafc2e51cecf8fd0b28eb14

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