is_even
Check if a number is even.
numberrequired
io.tinyfnPublished by tinyfn.ioOfficial publisherv1.0.2Updated Oct 24, 2026
500+ deterministic tools for AI agents: math, conversion, validation, hashing, encoding, date/time.
TinyFn is a remote MCP server giving an assistant 500+ deterministic tools for math, conversions, validation, hashing, encoding, dates and statistics.
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.
Read https://sourceweft.com/mcp/io.tinyfn%2Ftinyfn/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.Add this to your client's mcpServers config.
{
"mcpServers": {
"tinyfn": {
"type": "http",
"url": "https://api.tinyfn.io/mcp/all/",
"headers": {
"X-API-Key": "<YOUR_API_KEY>"
}
}
}
}
🧮 Give your AI agent 500+ deterministic tools
Stop hallucinating math. Start getting correct answers.
Quick Start • Servers • Examples • Pricing • Docs • Support
LLMs are great at reasoning. They're terrible at math.
Ask any AI assistant to compute 17% of 4,847 and you'll get a confident, wrong answer. Ask it to validate an email with regex, generate a SHA-256 hash, or convert timezones — same story. LLMs hallucinate on deterministic tasks.
TinyFn is a Model Context Protocol (MCP) server that gives your AI assistant 500+ tools that always return the correct answer. Math, conversions, validations, hashing, date arithmetic — the boring stuff, done right.
TinyFn runs as a remote MCP server — no npx, no Docker, no local install. Just add the URL to your config.
💡 Why category servers? Most AI clients limit the number of tools. TinyFn splits 500+ tools across 12 focused servers so you can pick exactly what you need.
Once connected, just ask your AI assistant in plain language:
Math & Numbers
Conversions
Validation
Encoding & Hashing
Date & Time
Generators
1. Get your free API key at tinyfn.io (takes 10 seconds)
2. Add TinyFn to your MCP client:
Claude Code supports Tool Search, so you can use the full server with all 500+ tools:
Add this to ~/.claude/settings.json or use claude mcp add.
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
Tip: Claude Desktop supports ~100 tools. Add 2–3 category servers based on your workflow.
These platforms have a ~40 tool limit. Pick 1–2 focused servers:
Recommended for Cursor/Windsurf: validate (15 tools), hash (18 tools), encode (20 tools), convert (42 tools).
3. Start asking questions. Your AI now has deterministic tools for math, conversions, validation, and more.
All servers use base URL https://api.tinyfn.io. Pick the categories you need:
⚠️ Important: All URLs must end with a trailing
/or requests will return 404 errors.
All plans include access to every tool. Sign up free →
All MCP server URLs must end with a trailing slash /.
tf_live_X-API-Key header (not Authorization)Your MCP client has a tool limit. Instead of /mcp/all/, use category-specific servers:
See the full server list for all options.
You've hit your plan's rate limit. Options:
llms.txt for AI-readable documentationMIT License — see LICENSE for details.
Source: README.md at commit e9f2d8e
Check if a number is even.
numberrequiredCheck if a number is odd.
numberrequiredCheck if a number is prime.
numberrequiredCheck if a number is positive.
numberrequiredCheck if a number is negative.
numberrequiredCheck if a number is zero.
numberrequiredCheck if a number is an integer.
numberrequiredCheck if a number is divisible by another number.
numberrequireddivisorrequiredCheck if a number is a perfect square.
numberrequiredCheck if a number is a Fibonacci number.
numberrequiredCalculate the factorial of a number.
numberrequiredGet the nth Fibonacci number.
nrequiredCalculate the greatest common divisor.
arequiredbrequiredCalculate the least common multiple.
arequiredbrequiredGet the absolute value of a number.
numberrequiredCalculate the square root of a number.
numberrequiredCalculate base raised to the power of exponent.
baserequiredexponentrequiredCalculate what percentage value is of total.
totalrequiredvaluerequiredCalculate the average of a list of numbers.
numbersrequiredRound a number to specified decimal places.
numberrequireddecimalsClamp a number within a range.
numberrequiredmaximumrequiredminimumrequiredCalculate Euclidean distance between two points.
x1requiredx2requiredy1requiredy2requiredCalculate the sine of an angle.
anglerequiredCalculate the cosine of an angle.
anglerequiredCalculate the tangent of an angle.
anglerequiredConvert degrees to radians.
degreesrequiredConvert radians to degrees.
radiansrequiredAdd two or more numbers together.
numbersrequiredSubtract b from a.
arequiredbrequiredMultiply two or more numbers together.
numbersrequiredDivide a by b.
arequiredbrequiredCalculate a modulo b (remainder of a divided by b).
arequiredbrequiredCalculate logarithm. Natural log if no base specified.
basenumberrequiredCalculate base-10 logarithm.
numberrequiredCalculate base-2 logarithm.
numberrequiredCalculate e raised to the power of number.
numberrequiredRound down to nearest integer.
numberrequiredRound up to nearest integer.
numberrequiredFind the minimum value.
numbersrequiredFind the maximum value.
numbersrequiredCalculate the sum of numbers.
numbersrequiredGet the sign of a number (-1, 0, or 1).
numberrequiredTruncate to integer (remove decimal part).
numberrequiredCalculate the hypotenuse of a right triangle.
arequiredbrequiredCalculate the cube of a number.
numberrequiredCalculate the cube root of a number.
numberrequiredCalculate the square of a number.
numberrequiredCalculate the nth root of a number.
nrequirednumberrequiredCompare two numbers (e.g., is 0.9 greater than 0.11?).
arequiredbrequiredCompare decimal numbers with detailed explanation (handles 0.9 vs 0.11 correctly).
arequiredbrequiredRank a list of numbers from largest to smallest (or vice versa).
ordernumbersrequiredCheck if a number is between two bounds.
lowerrequiredupperrequirednumberrequiredinclusiveReverse a string.
textrequiredConvert text to uppercase.
textrequiredConvert text to lowercase.
textrequiredCapitalize the first letter of each word.
textrequiredConvert text to title case.
textrequiredConvert text to sentence case.
textrequiredConvert text to camelCase.
textrequiredConvert text to snake_case.
textrequiredConvert text to kebab-case.
textrequiredConvert text to PascalCase.
textrequiredGet the length of a string.
textrequiredCount words in text.
textrequiredTrim whitespace from text.
textrequiredTruncate text to a specified length.
textrequiredlengthsuffixPad text to a specified length.
charsidetextrequiredlengthrequiredRepeat text a specified number of times.
textrequiredtimesrequiredseparatorReplace occurrences in text.
textrequiredsearchrequiredreplacementCheck if text contains a substring.
textrequiredsearchrequiredcase_sensitiveCheck if text starts with a prefix.
textrequiredprefixrequiredCheck if text ends with a suffix.
textrequiredsuffixrequiredSplit text by delimiter.
textrequireddelimiterJoin items with a delimiter.
itemsrequireddelimiterConvert text to URL-friendly slug.
textrequiredCheck if text is a palindrome.
textrequiredignore_caseignore_spacesCount occurrences of a character (e.g., how many 'r' in 'strawberry').
charrequiredtextrequiredcase_sensitiveCount occurrences of a substring.
textrequiredsubstringrequiredoverlappingcase_sensitiveCount occurrences of each character in text.
textrequiredRemove all whitespace from text.
textrequiredNormalize whitespace (multiple spaces to single).
textrequiredCheck if text is empty or whitespace only.
textExtract all numbers from text.
textrequiredExtract all email addresses from text.
textrequiredExtract all URLs from text.
textrequiredConvert Celsius to Fahrenheit.
celsiusrequiredConvert Fahrenheit to Celsius.
fahrenheitrequiredConvert Celsius to Kelvin.
celsiusrequiredConvert Kelvin to Celsius.
kelvinrequiredConvert meters to feet.
metersrequiredConvert feet to meters.
feetrequiredConvert kilometers to miles.
kilometersrequiredConvert miles to kilometers.
milesrequiredConvert inches to centimeters.
inchesrequiredConvert centimeters to inches.
centimetersrequiredConvert kilograms to pounds.
kilogramsrequiredConvert pounds to kilograms.
poundsrequiredConvert ounces to grams.
ouncesrequiredConvert grams to ounces.
gramsrequiredConvert stone to kilograms.
stonerequiredConvert liters to US gallons.
litersrequiredConvert US gallons to liters.
gallonsrequiredConvert liters to UK gallons. Because a UK gallon isn't a US gallon.
litersrequiredConvert UK gallons to liters.
gallonsrequiredConvert milliliters to US fluid ounces.
millilitersrequiredConvert US cups to milliliters.
cupsrequiredConvert milliliters to US cups.
millilitersrequiredConvert square meters to square feet.
square_metersrequiredConvert square feet to square meters.
square_feetrequiredConvert acres to hectares.
acresrequiredConvert miles per hour to kilometers per hour.
mphrequiredConvert kilometers per hour to miles per hour.
kphrequiredConvert meters per second to miles per hour.
mpsrequiredConvert knots to kilometers per hour.
knotsrequiredConvert bytes to human-readable format.
bytes_valrequiredConvert kilobytes to megabytes.
kilobytesrequiredConvert megabytes to gigabytes.
megabytesrequiredConvert decimal to binary.
numberrequiredConvert binary to decimal.
binaryrequiredConvert decimal to hexadecimal.
numberrequiredConvert hexadecimal to decimal.
hexadecimalrequiredConvert decimal to octal.
numberrequiredConvert hex color to RGB.
hex_colorrequiredConvert RGB to hex color.
brequiredgrequiredrrequiredConvert hours to minutes.
hoursrequiredConvert minutes to seconds.
minutesrequiredConvert seconds to hours:minutes:seconds.
secondsrequiredGenerate UUID(s).
countversionGenerate UUID v7 (time-ordered).
countGenerate random integer(s).
countmax_valmin_valGenerate random float(s).
countmax_valmin_valdecimalsGenerate random string(s).
countlengthcharsetGenerate secure password(s).
countlengthnumberssymbolslowercaseuppercaseexclude_ambiguousGenerate cryptographically secure token.
formatlengthGenerate hash of text.
textrequiredalgorithmGenerate lorem ipsum text using Faker.
paragraphssentences_per_paragraphGenerate random color(s).
countformatRoll dice.
countsidesFlip a coin.
countShuffle a list of items.
itemsrequiredPick random item(s) from a list.
countitemsrequiredGenerate a number sequence.
endstepstartValidate an email address.
emailrequiredValidate a URL.
urlrequiredValidate a phone number.
phonerequiredcountryValidate a credit card number using Luhn algorithm.
numberrequiredValidate a UUID.
uuid_strrequiredValidate an IP address (v4 or v6).
iprequiredValidate a MAC address.
macrequiredValidate JSON syntax.
json_strrequiredValidate a hexadecimal string.
hex_strrequiredValidate a base64 string.
base64_strrequiredCheck if text is alphanumeric.
textrequiredCheck password strength.
passwordrequiredValidate a date string.
formatdate_strrequiredValidate a domain name.
domainrequiredValidate a semantic version string.
versionrequiredGet current date and time.
tzConvert Unix timestamp to date.
timestamprequiredConvert Unix timestamp (milliseconds) to date.
timestamp_msrequiredConvert date to Unix timestamp.
daterequiredFormat a date string.
daterequiredformatParse a date string.
daterequiredformatAdd time to a date.
daterequireddayshoursweeksminutessecondsSubtract time from a date.
daterequireddayshoursweeksminutessecondsCalculate difference between two dates.
date1requireddate2requiredCheck if a year is a leap year.
yearrequiredGet the number of days in a month.
yearrequiredmonthrequiredGet the ISO week number of a date.
daterequiredGet the day of year for a date.
daterequiredCheck if a date is a weekend.
daterequiredCalculate age from birthdate.
birthdaterequiredGet relative time description (e.g., '2 days ago').
daterequiredGet current time in specified timezone.
timezone_nameConvert datetime between timezones.
to_tzfrom_tzdatetime_strrequiredCalculate difference between two datetimes.
datetime1requireddatetime2requiredAdd time to a datetime.
dayshoursminutessecondsdatetime_strrequiredSubtract time from a datetime.
dayshoursminutessecondsdatetime_strrequiredGet the start of a time period.
perioddatetime_strrequiredGet the end of a time period.
perioddatetime_strrequiredCheck if a year is a leap year.
yearrequiredGet the number of days in a month.
yearrequiredmonthrequiredGet the ISO week number for a date.
datetime_strrequiredGet the quarter for a date.
datetime_strrequiredCount business days between two dates (excluding weekends).
end_daterequiredstart_daterequiredAdd business days to a date.
daysrequiredstart_daterequiredCalculate age from birthdate.
as_ofbirthdaterequiredList all available timezone abbreviations.
Takes no parameters.
Convert Unix timestamp to datetime.
timestamprequiredtimezone_nameConvert datetime to Unix timestamp.
datetime_strrequiredEncode text to base64. Properly handles Unicode.
textrequiredDecode base64 to text.
encodedrequiredURL encode text.
textrequiredURL decode text.
encodedrequiredHTML encode text (escape special characters).
textrequiredHTML decode text (unescape special characters).
encodedrequiredEncode text to hexadecimal.
textrequiredDecode hexadecimal to text.
encodedrequiredEncode text to binary.
textrequiredDecode binary to text.
binaryrequired100% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
{ "mcpServers": { "tinyfn": { "url": "https://api.tinyfn.io/mcp/all/", "headers": { "X-API-Key": "tf_live_YOUR_KEY_HERE" } } }}{ "mcpServers": { "tinyfn-math": { "url": "https://api.tinyfn.io/mcp/math/", "headers": { "X-API-Key": "tf_live_YOUR_KEY_HERE" } }, "tinyfn-validate": { "url": "https://api.tinyfn.io/mcp/validate/", "headers": { "X-API-Key": "tf_live_YOUR_KEY_HERE" } } }}{ "mcpServers": { "tinyfn-validate": { "url": "https://api.tinyfn.io/mcp/validate/", "headers": { "X-API-Key": "tf_live_YOUR_KEY_HERE" } } }}{ "experimental": { "mcpServers": [ { "name": "tinyfn-math", "url": "https://api.tinyfn.io/mcp/math/", "headers": { "X-API-Key": "tf_live_YOUR_KEY_HERE" } } ] }}✅ https://api.tinyfn.io/mcp/math/❌ https://api.tinyfn.io/mcp/math{ "headers": { "X-API-Key": "tf_live_YOUR_KEY_HERE" }}