Skip to main content

MCP server for factorial calculations with FastMCP

Project description

Factorial MCP Server

A Model Context Protocol (MCP) server that provides factorial calculation tools.

Tools

  • factorial_value: Calculate and return the exact value of n! (factorial of n)
  • factorial_digits: Return the number of decimal digits in n! without computing the full value

Installation

pip install factorial-mcp-server

Usage

Run the server:

python factorial_server.py

Or use as a module:

from factorial_server import mcp
mcp.run()

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

factorial_mcp_server-1.0.0.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

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

factorial_mcp_server-1.0.0-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file factorial_mcp_server-1.0.0.tar.gz.

File metadata

  • Download URL: factorial_mcp_server-1.0.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for factorial_mcp_server-1.0.0.tar.gz
Algorithm Hash digest
SHA256 ed89ea5cf39ccdf66b241875d8a06d451df8085299bb526ff16fc79414793d59
MD5 a7e8cb1af2b86482594609ba4d37fdb9
BLAKE2b-256 543ce0e3378a8c7dd4e972cc745cd44f36224981be575dc91a132f510ef9abe2

See more details on using hashes here.

File details

Details for the file factorial_mcp_server-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for factorial_mcp_server-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c2ce99b2f273eb485c9209fdb84e15513569689dd3c6a3c6e1c884e9da272e1d
MD5 4995b7912b8b94f43e9cbd107c1a979c
BLAKE2b-256 f54f17fdb65786ddbf050835d5de977449372ed9a654395c1d077243485b0f00

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