tinyfn · alex-jacobs08 — Claude Code MCP server: what it does, how to install
tinyfn — a remote MCP server that hands arithmetic, number checks and conversions to a deterministic tool instead of letting the model guess.
no license 517 installs updated 2026-06-19
claude mcp add --transport http tinyfn https://tinyfn--alex-jacobs08.run.toolsWhat tinyfn does
tinyfn lives at https://tinyfn--alex-jacobs08.run.tools and speaks HTTP, so the client calls it and gets a value back. Nothing is installed on the machine.
The tool list is mostly number work: checks such as is_prime, is_odd, is_divisible, is_perfect_square and is_fibonacci; arithmetic like factorial, gcd, lcm, power, percentage, average; rounding and bounds through round_number, clamp, floor, ceil; trigonometry with sin, cos, deg_to_rad, rad_to_deg; logs via log, log10, log2, exp. There is also minimum, maximum and distance.
Because the endpoint sits outside your machine, every call needs a live connection to it. Setup is one terminal line for Claude and a small JSON block for Cursor or GitHub Copilot.
What it helps with
- check whether a number is prime without trusting the model
- get the GCD of several numbers in one call
- convert degrees to radians for a geometry step
- round a computed value to a fixed number of decimals
- keep a value inside an allowed range
Example prompts for the agent
- Use
tinyfnto compute the factorial of 20 and show me the result. - Ask
tinyfnwhether 1024 is a perfect square. - Convert 45 degrees to radians with
deg_to_radfromtinyfn.
How to install tinyfn
Platform CLI: remote server
claude mcp add --transport http tinyfn https://tinyfn--alex-jacobs08.run.toolsPlatform CLI: remote server
codex mcp add alex-jacobs08-tinyfn --url https://tinyfn--alex-jacobs08.run.toolsConfig file
{
"mcpServers": {
"alex-jacobs08-tinyfn": {
"url": "https://tinyfn--alex-jacobs08.run.tools"
}
}
}Config file
{
"servers": {
"alex-jacobs08-tinyfn": {
"type": "http",
"url": "https://tinyfn--alex-jacobs08.run.tools"
}
}
}Platform CLI: remote server
gemini mcp add -t http alex-jacobs08-tinyfn https://tinyfn--alex-jacobs08.run.toolsStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about tinyfn
How do I install tinyfn in Claude Code?
Run claude mcp add --transport http tinyfn https://tinyfn--alex-jacobs08.run.tools. That is the whole setup, since the server is remote.
What does tinyfn do?
It computes what an LLM tends to guess: arithmetic, prime and divisibility checks, trig, logs, rounding. The number comes back from a tool call.
Does tinyfn run locally?
It does not. Calls go over HTTP to https://tinyfn--alex-jacobs08.run.tools, so all you need is a connection to that address.
Similar MCP servers
All MCP servers for Agent setup: memory, context, orchestration →tinyfn by other authors comes first.