MCP server
Primes MCP
Prime testing, factorisation and searches offline with BigInt: Miller-Rabin and Pollard…
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 1.0.1
- Listing updated
- 5 days ago
About Primes MCP
Primes MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Prime testing, factorisation and searches offline with BigInt: Miller-Rabin and Pollard rho
Install
Run in a terminal
claude mcp add primes-mcp -- npx -y @mrfentmen/primes-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"primes-mcp": {
"command": "npx",
"args": [
"-y",
"@mrfentmen/primes-mcp"
]
}
}
}Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"primes-mcp": {
"command": "npx",
"args": [
"-y",
"@mrfentmen/primes-mcp"
]
}
}
}Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:
Add to .vscode/mcp.json
{
"servers": {
"primes-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mrfentmen/primes-mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"primes-mcp": {
"command": "npx",
"args": [
"-y",
"@mrfentmen/primes-mcp"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"primes-mcp": {
"command": "npx",
"args": [
"-y",
"@mrfentmen/primes-mcp"
]
}
}
}Pricing
Open source
Primes MCP FAQ
Is Primes MCP free?
Yes. Primes MCP is open source, so you can use and self-host it for free.
How do I add Primes MCP to Claude Code?
Run this command in your terminal: claude mcp add primes-mcp -- npx -y @mrfentmen/primes-mcp