Password Utilities

Generate Passphrase

Creates human-readable passphrases by combining random dictionary words, like "correct-horse-battery-staple". Access via MCP in Cursor or Windsurf, or call GET /v1/password/generate-passphrase directly. Configurable word count and separators let you balance security with memorability. Uses cryptographically secure randomness for enterprise-grade entropy.

API Endpoint

GET /v1/password/generate-passphrase

Code Examples

curl "https://tinyfn.io/v1/password/generate-passphrase" \
  -H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/password/generate-passphrase', {
  headers: { 'X-API-Key': 'YOUR_API_KEY' }
});
const data = await response.json();
console.log(data);
import requests

response = requests.get('https://tinyfn.io/v1/password/generate-passphrase',
    headers={'X-API-Key': 'YOUR_API_KEY'})
data = response.json()
print(data)

Use via MCP

Add to your AI agent

Connect your AI agent (Claude, Cursor, Windsurf, etc.) to TinyFn's password tools:

{
  "mcpServers": {
    "tinyfn-password": {
      "url": "https://tinyfn.io/mcp/password",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Learn more about MCP setup →

FAQ

How do I generate a passphrase with custom word count and separator?

Pass query parameters like ?words=5&separator=_ to get passphrases like 'mountain_river_cloud_forest_stone'. Default is 4 words with hyphens.

Are passphrases more secure than random character passwords?

Multi-word passphrases offer better entropy-to-memorability ratio. 'correct-horse-battery-staple' is easier to remember than 'Tr0ub4dor&3' but provides similar security.

Can I use this MCP tool in my AI coding assistant for password generation?

Yes, agents in Cursor, Windsurf, or Cline can call this tool to generate passphrases during development workflows or security setup tasks.

What word list does the passphrase generator use?

Uses a curated dictionary of common English words, excluding profanity and ambiguous terms. Each word provides roughly 11 bits of entropy.

How long should my passphrase be for different security requirements?

4 words (~44 bits) for basic accounts, 5-6 words (~55-66 bits) for sensitive systems, 7+ words for high-security environments.

Try Generate Passphrase Now

Get your free API key and start using Generate Passphrase in seconds.

Get Free API Key