MCP.so
Sign In

Overview

What is Extreme P Value MCP Server?

This MCP server provides an API interface for extreme p-value calculations (z, t, F, chi‑square, SAIGE, Wald) that are implemented in the R script extreme-P.R, accessed via Python using pyper and served with FastMCP. It is intended for researchers and statisticians who need high‑precision p‑values for extreme test statistics.

How to use Extreme P Value MCP Server?

Install dependencies with uv sync, then start the server with uv run server.py. API endpoints such as /pvalue_extreme_z(z: float) are available, and the helper class ExtremePHelper in extreme_p_helper.py provides a direct Python interface.

Key features of Extreme P Value MCP Server?

  • Extreme p‑value computations for z, t, F, chi‑square, SAIGE, and Wald.
  • Returns results as mantissa and exponent.
  • Built with FastMCP for easy API access.
  • Integrates R calculations via the pyper bridge.
  • Simple setup using uv and a single pyproject.toml.

Use cases of Extreme P Value MCP Server?

  • Computing extremely small p‑values in genome‑wide association studies.
  • Evaluating statistical significance in fixed‑effect meta‑analyses.
  • Handling p‑values beyond standard floating‑point precision.
  • Using the SAIGE method for case‑control study p‑values.
  • Automating p‑value calculations in a server‑based workflow.

FAQ from Extreme P Value MCP Server

What dependencies are required?

You need uv, pyper, fastmcp, and mcp[cli]. All are defined in pyproject.toml.

Is the server stable and ready for production?

No — the project is under active development and its APIs and features may change without notice.

How do I start the server?

Run uv sync to install dependencies, then uv run server.py.

What API endpoints does the server provide?

Endpoints include /pvalue_extreme_z, /pvalue_extreme_t, /pvalue_extreme_f, /pvalue_extreme_chisq, `/pvalue_extreme

Tags

More from Other