TinyFn MCP Server
500+ deterministic tools for AI agents: math, conversion, validation, hashing, encoding, date/time.
TinyFn scores 57 (Fair), licensed MIT and written in Python. It can be reached as a remote MCP endpoint. It declares 40 tools. Filed under Uncategorized. GitHub shows 1 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
57 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade B
70/100 for listing completeness. Lost points: 40 of 40 tools barely described, short summary, no docs link.
How quality is graded
Where the 57 comes from
22 + 10 + 1 + 10 + 4 + 10 = 57. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 10 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 1 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Remote auth: API key required. Get a key or token from the provider first, then add it as a header in your client config. How remote auth works
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "tinyfn-io-tinyfn-mcp": { "url": "https://api.tinyfn.io/mcp/all/" } }}
Environment variables
This server does not declare environment variables.
Tools40Tool docs quality grade F
All capabilitiesbytes_to_humantoolFile sizes
calculate_agetoolAge from birthdate
Temperature
compare_hashestoolTiming-safe compare
convert_timezonetoolTimezone conversion
date_difftoolDays between dates
days_in_monthtoolMonth length
Base conversion
generate_uuidtoolUUID v4
get_nowtoolCurrent timestamp
hash_crc32toolCRC32 checksum
hash_md5toolMD5 hash
About
The Problem
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.
š„ļø Works With Your Tools
TinyFn runs as a remote MCP server ā no npx, no Docker, no local install. Just add the URL to your config.
| Platform | Tool Limit | Recommended Setup | Config Location |
|---|---|---|---|
| Claude Code | 500+ (Tool Search) | /mcp/all/ ā use everything | ~/.claude/settings.json |
| Claude Desktop | ~100 tools | 2ā3 category servers | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Cursor | ~40 tools | 1ā2 focused servers | Cursor MCP settings |
| Windsurf | ~40 tools | 1ā2 focused servers | Windsurf MCP settings |
| Continue.dev | Varies | Category servers | .continue/config.json |
| Any MCP Client | Varies | Match to your tool limit | Client-specific |
š” 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.
ā Example Queries That Just Work
Once connected, just ask your AI assistant in plain language:
Math & Numbers
- ā "Is 7919 a prime number?"
- ā "What's 17% of 4,847?"
- ā "Calculate the factorial of 12"
Conversions
- ā "Convert 72°F to Celsius"
- ā "How many miles is 100 kilometers?"
- ā "Convert #3B82F6 to RGB values"
Validation
- ā "Is user@example.com a valid email address?"
- ā "Validate this credit card number: 4111111111111111"
- ā "Is 550e8400-e29b-41d4-a716-446655440000 a valid UUID?"
Encoding & Hashing
- ā "Base64 encode 'Hello, World!'"
- ā "Generate a SHA-256 hash of 'my-secret-string'"
- ā "URL encode 'hello world & goodbye'"
Date & Time
- ā "How many days between January 15 and March 22?"
- ā "What's the current Unix timestamp?"
- ā "Is 2024 a leap year?"
Generators
- ā "Generate a UUID"
- ā "Create a secure 20-character password"
- ā "Roll 3 six-sided dice"
ā” Quick Start
1. Get your free API key at tinyfn.io (takes 10 seconds)
2. Add TinyFn to your MCP client:
Claude Code
Claude Code supports Tool Search, so you can use the full server with all 500+ tools:
{
"mcpServers": {
"tinyfn": {
"url": "https://api.tinyfn.io/mcp/all/",
"headers": {
"X-API-Key": "tf_live_YOUR_KEY_HERE"
}
}
}
}
Add this to ~/.claude/settings.json or use claude mcp add.
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"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"
}
}
}
}
Tip: Claude Desktop supports ~100 tools. Add 2ā3 category servers based on your workflow.
Cursor & Windsurf
These platforms have a ~40 tool limit. Pick 1ā2 focused servers:
{
"mcpServers": {
"tinyfn-validate": {
"url": "https://api.tinyfn.io/mcp/validate/",
"headers": {
"X-API-Key": "tf_live_YOUR_KEY_HERE"
}
}
}
}
Recommended for Cursor/Windsurf: validate (15 tools), hash (18 tools), encode (20 tools), convert (42 tools).
Continue.dev
{
"experimental": {
"mcpServers": [
{
"name": "tinyfn-math",
"url": "https://api.tinyfn.io/mcp/math/",
"headers": {
"X-API-Key": "tf_live_YOUR_KEY_HERE"
}
}
]
}
}
3. Start asking questions. Your AI now has deterministic tools for math, conversions, validation, and more.
š” Available MCP Servers
All servers use base URL https://api.tinyfn.io. Pick the categories you need:
| Server | Endpoint | Tools | What It Does |
|---|---|---|---|
| All | /mcp/all/ | 500+ | Everything ā best for Claude Code |
| Math | /mcp/math/ | 52 | Arithmetic, trig, primes, factorials, comparisons |
| Convert | /mcp/convert/ | 42 | Temperature, length, weight, volume, speed, data sizes |
| String | /mcp/string/ | 33 | Case conversion, slugify, trim, word count, extraction |
| Datetime | /mcp/datetime/ | 24 | Date parsing, formatting, diffs, timezones, leap years |
| Encode | /mcp/encode/ | 20 | Base64, URL, HTML, hex, ROT13, morse, JWT decode |
| Hash | /mcp/hash/ | 18 | MD5, SHA-256, SHA-512, HMAC, bcrypt, CRC32 |
| Color | /mcp/color/ | 30 | HEX/RGB/HSL conversion, gradients, contrast, palettes |
| Stats | /mcp/stats/ | 16 | Mean, median, mode, std dev, percentiles, correlation |
| Validate | /mcp/validate/ | 15 | Email, URL, phone, credit card, UUID, IP, JSON, dates |
| Finance | /mcp/finance/ | 15 | Interest, loans, mortgage, ROI, margin, tip calculator |
| Generate | /mcp/generate/ | 15 | UUIDs, passwords, random numbers, lorem ipsum, dice |
ā ļø Important: All URLs must end with a trailing
/or requests will return 404 errors.
š ļø Tool Categories
| Tool | Description | Example |
|---|---|---|
add, subtract, multiply, divide | Basic arithmetic | add(17, 25) ā 42 |
percentage | Percentage calculation | percentage(17, 4847) ā 823.99 |
is_prime | Primality testing | is_prime(7919) ā true |
factorial | Factorial calculation | factorial(12) ā 479001600 |
fibonacci | Nth Fibonacci number | fibonacci(10) ā 55 |
gcd, lcm | GCD and LCM | gcd(48, 18) ā 6 |
power, square_root | Exponentiation | square_root(144) ā 12 |
sin, cos, tan | Trigonometric functions | sin(1.5708) ā 1.0 |
log, log10, log2 | Logarithms | log10(1000) ā 3 |
floor, ceil, round_number | Rounding | ceil(4.2) ā 5 |
absolute_value, sign | Number properties | sign(-42) ā -1 |
clamp, distance, hypotenuse | Range & geometry | hypotenuse(3, 4) ā 5 |
| Tool | Description | Example |
|---|---|---|
reverse_string | Reverse text | reverse_string("hello") ā "olleh" |
uppercase, lowercase | Case conversion | uppercase("hello") ā "HELLO" |
camel_case, snake_case, kebab_case | Naming conventions | snake_case("helloWorld") ā "hello_world" |
slug | URL-safe slugs | slug("Hello World!") ā "hello-world" |
trim, pad | Whitespace handling | trim(" hi ") ā "hi" |
word_count, string_length | Text metrics | word_count("hello world") ā 2 |
contains, starts_with, ends_with | String matching | contains("hello", "ell") ā true |
split, join | Array operations | split("a,b,c", ",") ā ["a","b","c"] |
extract_emails, extract_urls | Content extraction | Extract emails from text blocks |
is_palindrome | Palindrome check | is_palindrome("racecar") ā true |
count_char, count_substring | Character counting | count_char("hello", "l") ā 2 |
| Tool | Description | Example |
|---|---|---|
validate_email | Email format validation | validate_email("user@example.com") ā true |
validate_url | URL format validation | validate_url("https://tinyfn.io") ā true |
validate_phone | Phone number validation | validate_phone("+1-555-123-4567") ā true |
validate_credit_card | Luhn algorithm check | validate_credit_card("4111111111111111") ā true |
validate_uuid | UUID format validation | validate_uuid("550e8400-e29b-41d4-a716-446655440000") ā true |
validate_ip | IPv4/IPv6 validation | validate_ip("192.168.1.1") ā true |
validate_json | JSON syntax validation | validate_json('{"key": "value"}') ā true |
validate_date | Date format validation | validate_date("2024-02-29") ā true |
validate_hex | Hex string validation | validate_hex("1a2b3c") ā true |
validate_base64 | Base64 validation | validate_base64("SGVsbG8=") ā true |
| Tool | Description | Example |
|---|---|---|
celsius_to_fahrenheit | Temperature | celsius_to_fahrenheit(100) ā 212 |
kilometers_to_miles | Distance | kilometers_to_miles(100) ā 62.14 |
kilograms_to_pounds | Weight | kilograms_to_pounds(70) ā 154.32 |
liters_to_gallons_us | Volume | liters_to_gallons_us(3.785) ā 1.0 |
hex_to_rgb | Color | hex_to_rgb("#3B82F6") ā {r:59, g:130, b:246} |
decimal_to_binary | Base conversion | decimal_to_binary(42) ā "101010" |
bytes_to_human | File sizes | bytes_to_human(1073741824) ā "1 GB" |
mph_to_kph | Speed | mph_to_kph(60) ā 96.56 |
inches_to_centimeters | Length | inches_to_centimeters(12) ā 30.48 |
hours_to_minutes | Time | hours_to_minutes(2.5) ā 150 |
| Tool | Description | Example |
|---|---|---|
hash_md5 | MD5 hash | hash_md5("hello") ā "5d41402abc4b..." |
hash_sha256 | SHA-256 hash | hash_sha256("hello") ā "2cf24dba5fb0..." |
hash_sha512 | SHA-512 hash | Full 128-char hex digest |
hmac_sha256 | HMAC signature | Keyed hash authentication |
hash_sha3_256, hash_sha3_512 | SHA-3 family | Modern hash algorithms |
hash_blake2b, hash_blake2s | BLAKE2 | High-performance hashing |
hash_crc32 | CRC32 checksum | Error detection codes |
compare_hashes | Timing-safe compare | Constant-time hash comparison |
identify_hash | Hash identification | Detect hash algorithm from string |
| Tool | Description | Example |
|---|---|---|
base64_encode, base64_decode | Base64 | base64_encode("Hello") ā "SGVsbG8=" |
url_encode, url_decode | URL encoding | url_encode("hello world") ā "hello%20world" |
html_encode, html_decode | HTML entities | html_encode("<div>") ā "<div>" |
hex_encode, hex_decode | Hex encoding | hex_encode("hi") ā "6869" |
jwt_decode | JWT parsing | Decode JWT payload (no verification) |
rot13 | ROT13 cipher | rot13("hello") ā "uryyb" |
morse_encode, morse_decode | Morse code | morse_encode("SOS") ā "... --- ..." |
json_minify, json_prettify | JSON formatting | Minify or pretty-print JSON |
| Tool | Description | Example |
|---|---|---|
get_now | Current timestamp | ISO 8601 timestamp |
format_date, parse_date | Date formatting | Parse and format dates |
date_diff | Days between dates | date_diff("2024-01-15", "2024-03-22") ā 67 days |
add_time, subtract_time | Date arithmetic | Add/subtract days, hours, minutes |
convert_timezone | Timezone conversion | Convert between any IANA timezones |
is_leap_year | Leap year check | is_leap_year(2024) ā true |
calculate_age | Age from birthdate | Calculate exact age |
relative_time | Relative formatting | "2 hours ago", "in 3 days" |
days_in_month | Month length | days_in_month(2, 2024) ā 29 |
is_weekend | Weekend check | Check if a date falls on Sat/Sun |
| Tool | Description | Example |
|---|---|---|
generate_uuid | UUID v4 | "550e8400-e29b-41d4-a716-446655440000" |
generate_uuid_v7 | UUID v7 (time-sortable) | Timestamp-based UUIDs |
generate_password | Secure passwords | Configurable length and character sets |
random_number | Random integers | random_number(1, 100) ā 42 |
random_string | Random strings | Configurable length and charset |
generate_token | API tokens | Cryptographically secure tokens |
generate_lorem | Lorem ipsum | Generate placeholder text |
generate_color | Random colors | Random hex color codes |
roll_dice | Dice rolling | roll_dice(3, 6) ā [4, 2, 6] |
flip_coin | Coin flip | "heads" or "tails" |
shuffle_list | Shuffle arrays | Randomize array order |
| Tool | Description | Example |
|---|---|---|
hex_to_hsl, hsl_to_hex | Color space conversion | Convert between formats |
hex_to_rgb, rgb_to_hex | RGB conversion | hex_to_rgb("#FF5733") ā {r:255,g:87,b:51} |
lighten_color, darken_color | Brightness adjustment | Lighten/darken by percentage |
complement_color | Complementary colors | Get the opposite color |
triadic_colors, analogous_colors | Color harmonies | Generate color schemes |
contrast_ratio | WCAG contrast | Check accessibility compliance |
generate_gradient | Gradient generation | Generate color stops between two colors |
generate_shades, generate_tints | Shade/tint ramps | Create monochromatic palettes |
invert_color | Color inversion | Invert any hex color |
blend_colors | Color blending | Mix two colors together |
| Tool | Description | Example |
|---|---|---|
calculate_mean | Arithmetic mean | calculate_mean([10, 20, 30]) ā 20 |
calculate_median | Median value | calculate_median([1, 3, 5, 7]) ā 4 |
calculate_mode | Most frequent value | calculate_mode([1, 2, 2, 3]) ā 2 |
calculate_variance | Population variance | Statistical variance |
calculate_stddev | Standard deviation | Statistical spread |
calculate_percentile | Percentile calculation | calculate_percentile([1..100], 95) ā 95 |
calculate_quartiles | Q1, Q2, Q3 | Quartile boundaries |
calculate_correlation | Pearson correlation | Correlation coefficient between datasets |
calculate_zscore | Z-score | Standard score calculation |
describe_data | Summary statistics | Full statistical description of a dataset |
| Tool | Description | Example |
|---|---|---|
compound_interest | Compound interest | Calculate future value with compounding |
simple_interest | Simple interest | Basic interest calculation |
loan_payment | Loan payments | Monthly payment calculator |
mortgage_calculator | Mortgage | Monthly mortgage with amortization |
calculate_tip | Tip calculator | calculate_tip(85.50, 20) ā $17.10 |
percentage_change | Growth/decline | percentage_change(100, 125) ā 25% |
calculate_markup, calculate_margin | Pricing | Markup and margin calculations |
calculate_discount | Discounts | Price after discount |
return_on_investment | ROI | Investment return percentage |
rule_of_72 | Doubling time | Years to double an investment |
break_even | Break-even analysis | Units needed to break even |
| Tool | Description | Example |
|---|---|---|
calculate_bmi | Body Mass Index | calculate_bmi(70, 1.75) ā 22.86 |
calculate_bmr | Basal Metabolic Rate | Daily calorie baseline |
ideal_weight | Ideal weight range | Based on height and frame |
heart_rate_zones | Training zones | Fat burn, cardio, peak zones |
estimate_body_fat | Body fat estimate | Navy method estimation |
daily_water_intake | Water recommendation | Based on weight and activity |
calories_burned | Exercise calories | Calories for activity type and duration |
calculate_macros | Macro split | Protein/carb/fat breakdown |
sleep_cycles | Sleep optimization | Optimal wake times based on cycles |
| Tool | Description | Example |
|---|---|---|
magic_8_ball | Magic 8-Ball | Random mystical answers |
dad_joke | Dad jokes | Guaranteed groan |
fortune_cookie | Fortune cookies | Random fortune messages |
random_compliment | Compliments | Brighten someone's day |
random_excuse | Excuses | Creative excuse generator |
would_you_rather | Would You Rather | Random dilemmas |
friendly_roast | Friendly roasts | Light-hearted roasts |
random_trivia | Trivia | Random trivia facts |
yes_no | Yes/No oracle | Random yes or no |
šÆ Perfect For
- AI-Assisted Development ā Cursor and Windsurf users who need reliable math in their coding workflow
- Data Analysis ā Statistics, percentiles, and financial calculations without second-guessing
- Content Creation ā Word counts, slugification, and encoding when building with AI
- DevOps & Security ā Hash generation, UUID creation, and input validation
- Education ā Teach with tools that demonstrate correct mathematical results
- API Development ā Validate inputs, generate test data, and compute values during development
š° Pricing
š§ Troubleshooting
All MCP server URLs must end with a trailing slash /.
ā
https://api.tinyfn.io/mcp/math/
ā https://api.tinyfn.io/mcp/math
- Verify your API key starts with
tf_live_ - Check that you're using the
X-API-Keyheader (notAuthorization) - Make sure your key is active at tinyfn.io/dashboard
{
"headers": {
"X-API-Key": "tf_live_YOUR_KEY_HERE"
}
}
Your MCP client has a tool limit. Instead of /mcp/all/, use category-specific servers:
| If you need... | Use server | Tools |
|---|---|---|
| Validation only | /mcp/validate/ | 15 |
| Hashing only | /mcp/hash/ | 18 |
| Encoding only | /mcp/encode/ | 20 |
| Math only | /mcp/math/ | 52 |
See the full server list for all options.
You've hit your plan's rate limit. Options:
- Free tier: 10 requests/minute, 100/month ā upgrade at tinyfn.io
- Starter: 100 requests/minute, 10,000/month
- Check your current usage at tinyfn.io/dashboard
š Documentation & Resources
- MCP Overview ā Setup guide for all supported platforms
- API Reference ā REST API docs for direct HTTP usage
- MCP Categories ā Detailed breakdown of each server
- Authentication ā API key setup and management
- Rate Limits ā Quotas and limits per plan
- LLM Context ā
llms.txtfor AI-readable documentation
š¤ Support
- š§ Email: support@tinyfn.io
- š Issues: GitHub Issues
- š¬ Sales: sales@tinyfn.io
š License
MIT License ā see LICENSE for details.
Frequently asked questions
What is TinyFn MCP Server?
500+ deterministic tools for AI agents: math, conversion, validation, hashing, encoding, date/time.
How do I install TinyFn MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. TinyFn MCP Server connects to the remote endpoint https://api.tinyfn.io/mcp/all/, so there is nothing to install locally.
Is TinyFn MCP Server free and open source?
Yes. TinyFn MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does TinyFn MCP Server support remote (HTTP) connections?
Yes. TinyFn MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
What tools does TinyFn MCP Server provide?
TinyFn MCP Server provides 40 tools, including bytes_to_human, calculate_age, celsius_to_fahrenheit, and compare_hashes. See the full tool list for descriptions and parameters.
How is TinyFn MCP Server's trust score calculated?
TinyFn MCP Server scores 57 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yetāBe the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.