MCP Integration
TinyFn exposes its 500+ utility functions as MCP (Model Context Protocol) tools, allowing AI assistants like Claude to call TinyFn functions directly for accurate results.Why Use MCP?
LLMs often hallucinate when doing:- Math: Large number arithmetic, floating point operations, decimal comparisons
- Conversions: Unit conversions (UK vs US gallons, temperature)
- Encoding: Base64, URL encoding, hash generation
- Dates: Date calculations, timezone conversions
- Counting: Character counting (how many ‘r’ in ‘strawberry’)
Available Servers
TinyFn provides category-based MCP servers to avoid overwhelming LLMs with 500+ tools:
View all categories →
Platform Tool Limits
Different AI platforms have different limits on how many MCP tools they can handle:Quick Start
1. Get an API Key
Sign up at tinyfn.io to get your API key.2. Configure Your Client
- Claude Desktop
- Cursor / Windsurf
- Continue.dev
Add to
~/Library/Application Support/Claude/claude_desktop_config.json:3. Use It
Ask your AI assistant to do math, conversions, or other tasks. It will automatically use TinyFn tools when appropriate. Example:Rate Limits
MCP requests count against your normal TinyFn rate limits:Authentication Errors
If you see auth errors, verify:- Your API key starts with
tf_live_ - The
X-API-Keyheader is included - Your key hasn’t been revoked