Server data from the Official MCP Registry
MCP server exposing cypari2 (PARI/GP) number theory library
MCP server exposing cypari2 (PARI/GP) number theory library
Valid MCP server (0 strong, 3 medium validity signals). 5 known CVEs in dependencies (1 critical, 3 high severity) Package registry verified. Imported from the Official MCP Registry.
3 files analyzed · 6 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-daedalus-mcp-parigp": {
"args": [
"mcp-parigp"
],
"command": "uvx"
}
}
}From the project's GitHub README.
MCP server exposing cypari2 (PARI/GP) number theory library
mcp-name: io.github.daedalus/mcp-parigp
pip install mcp-parigp
Run directly:
mcp-parigp
Or use with an MCP client by configuring in your settings:
{
"mcpServers": {
"mcp-parigp": {
"command": "mcp-parigp"
}
}
}
from mcp_parigp import eval_expression, factor, isprime
# Evaluate PARI/GP expressions
result = eval_expression("factor(100)")
print(result) # [[2, 2], [5, 2]]
# Factor integers
print(factor(100)) # [[2, 2], [5, 2]]
# Test primality
print(isprime(29)) # True
factor(n) - Factor an integerisprime(n) - Test if n is primegcd(a, b) - Greatest common divisorphi(n) - Euler's totient functionsigma(n, k) - Sum of k-th power of divisorsjacobi(a, n) - Jacobi symbolznorder(x, n) - Multiplicative order modulo nprimes(n) - First n primesnextprime(n) - Next prime after npolroots(pol) - Find roots of polynomialpolcyclo(n) - n-th cyclotomic polynomialderiv(pol) - Derivative of polynomialsubst(pol, v, expr) - Substitute in polynomialnfinit(pol) - Initialize number fieldbnfinit(pol) - Initialize with Buchmann's algorithmidealadd(nf, a, b) - Add idealsidealmul(nf, a, b) - Multiply idealsellinit(eq) - Initialize elliptic curveellap(E, p) - Trace of Frobenius at pelltors(E) - Torsion subgroupellheight(E, P) - Canonical heightmatid(n) - n×n identity matrixmatdet(m) - Matrix determinantmatinv(m) - Matrix inversematrank(m) - Matrix ranksin, cos, tan, asin, acos, atansinh, cosh, tanh, asinh, acosh, atanhexp, log, sqrt, abspi(), euler(), I()git clone https://github.com/daedalus/mcp-parigp.git
cd mcp-parigp
pip install -e ".[test]"
# run tests
pytest
# format
ruff format src/ tests/
# lint
ruff check src/ tests/
# type check
mypy src/
Be the first to review this server!
by Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
by Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
by mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.
by Microsoft · Content & Media
Convert files (PDF, Word, Excel, images, audio) to Markdown for LLM consumption
by mcp-marketplace · Developer Tools
Scaffold, build, and publish TypeScript MCP servers to npm — conversationally
by mcp-marketplace · Finance
Free stock data and market news for any MCP-compatible AI assistant.