# Wisp > Wisp (wispfn.com) builds and hosts backend functions from a plain-language description. Describe an API endpoint, webhook receiver, scheduled job or AI agent tool; Wisp writes it in JavaScript or Python, deploys it and gives it a URL. Every project is also an MCP server for AI agents (Claude, ChatGPT, Cursor) and publishes an OpenAPI document. Key facts: - Each function can have a public HTTPS API, be an MCP tool, run on a schedule (cron, in any timezone, minimum every 5 minutes), and/or be a library function other functions call. - Built in: secrets and variables, key-value storage, tables, files, logs, rate limits, edge caching, versioned releases with a draft and a live version, custom domains. - Pricing: 7-day free trial without a card, then Starter, Pro and Business plans (https://wispfn.com/pricing). - Documentation: https://docs.wispfn.com (machine-readable index: https://docs.wispfn.com/llms.txt). ## Product - [Home](https://wispfn.com/): what Wisp does - [Solutions](https://wispfn.com/solutions): APIs, webhooks, scheduled jobs and agent tools - [Security](https://wispfn.com/security): how code is isolated and secrets are stored - [Pricing](https://wispfn.com/pricing) ## Templates - [Stripe webhook to Slack: post every payment to a channel](https://wispfn.com/templates/stripe-webhook-to-slack): A Stripe webhook receiver that verifies the signature and posts each completed checkout to Slack. Code, setup and a one-click hosted version. - [GitHub webhook to Discord: pushes and pull requests in a channel](https://wispfn.com/templates/github-webhook-to-discord): Verify GitHub’s X-Hub-Signature-256 and post pushes, pull requests and releases to a Discord channel. Copy the code or get it hosted in a minute. - [Hide your OpenAI API key behind a proxy endpoint](https://wispfn.com/templates/hide-openai-api-key-proxy): A small backend endpoint that calls OpenAI for your frontend, so the API key never reaches the browser — with a per-visitor daily limit. - [Uptime monitor with Slack alerts, checked every 5 minutes](https://wispfn.com/templates/uptime-monitor-slack-alerts): A scheduled function that checks your URLs every 5 minutes and alerts Slack when a site goes down — and again when it recovers. - [Daily RSS digest by email](https://wispfn.com/templates/daily-rss-digest-email): Every morning, fetch your RSS feeds, pick the new items and email yourself a digest with Resend. No server, no cron box to maintain. - [Contact form backend: store messages and get an email](https://wispfn.com/templates/contact-form-backend): A POST endpoint for any site’s contact form: validates input, filters bots with a honeypot, saves the message and emails you. Works with Lovable and Framer. - [Waitlist signup API with position and duplicate checks](https://wispfn.com/templates/waitlist-signup-api): An endpoint that adds emails to a waitlist, ignores duplicates, tells people their position — plus a public count for your landing page. - [URL shortener API with click counts](https://wispfn.com/templates/url-shortener-api): Create short links with a POST, redirect with a GET, count clicks — a complete URL shortener in two small functions and a key-value store. - [Weather MCP tool for Claude, ChatGPT and Cursor](https://wispfn.com/templates/weather-mcp-tool): An MCP tool that gives AI agents a 3-day forecast for any city, using the free Open-Meteo API. No API key; works in Claude, ChatGPT and Cursor. - [GitHub issue MCP tool: let an AI agent file bugs](https://wispfn.com/templates/github-issue-mcp-tool): An MCP tool that creates GitHub issues in one repository with a fine-grained token — so Claude or Cursor can file bugs without access to anything else. - [Notion MCP tool: add tasks to a database from any AI chat](https://wispfn.com/templates/notion-task-mcp-tool): An MCP tool that adds a page to a Notion database — “add a task to review the Q3 deck” from Claude, ChatGPT or Cursor lands in your task list. - [Slack slash command backend with signature verification](https://wispfn.com/templates/slack-slash-command): Handle a Slack slash command (/status, /lookup …): verify Slack’s request signature, parse the form body and reply in the channel within 3 seconds. - [Daily Slack reminder on weekdays at 9am](https://wispfn.com/templates/daily-slack-reminder): Post a stand-up or check-in reminder to Slack every weekday at 9am in your timezone — with a different prompt each day. A cron job without a server. - [Stripe Checkout endpoint for a frontend (Lovable, Bolt, v0)](https://wispfn.com/templates/stripe-checkout-session-api): A POST endpoint that creates a Stripe Checkout Session and returns its URL, so a frontend-only app can take payments without exposing the Stripe secret key. - [Nightly cleanup job: delete old rows on a schedule](https://wispfn.com/templates/nightly-database-cleanup): A scheduled function that runs at 3am and deletes rows older than 30 days — sessions, logs, expired tokens — so storage never grows without bound. ## Free tools - [Cron expression generator](https://wispfn.com/tools/cron-expression): Write a cron expression or describe a schedule in plain English — see what it means, the next run times in any timezone, and the same schedule for GitHub Actions, Kubernetes and AWS. - [JSON to JSON Schema](https://wispfn.com/tools/json-to-json-schema): Paste JSON and get a JSON Schema (draft 2020-12) with types, required fields and formats like email and date-time — plus a TypeScript type. Runs in your browser. - [curl converter](https://wispfn.com/tools/curl-converter): Convert a curl command to JavaScript fetch or Python requests: headers, JSON and form bodies, basic auth, file uploads and query strings. Runs in your browser. ## Cron schedules - [Cron every minute: * * * * *](https://wispfn.com/cron/every-minute) - [Cron every 30 seconds: why cron can’t, and what to do instead](https://wispfn.com/cron/every-30-seconds) - [Cron every 2 minutes: */2 * * * *](https://wispfn.com/cron/every-2-minutes) - [Cron every 5 minutes: */5 * * * *](https://wispfn.com/cron/every-5-minutes) - [Cron every 10 minutes: */10 * * * *](https://wispfn.com/cron/every-10-minutes) - [Cron every 15 minutes: */15 * * * *](https://wispfn.com/cron/every-15-minutes) - [Cron every 20 minutes: */20 * * * *](https://wispfn.com/cron/every-20-minutes) - [Cron every 30 minutes: */30 * * * *](https://wispfn.com/cron/every-30-minutes) - [Cron every 45 minutes: why */45 doesn’t work, and what does](https://wispfn.com/cron/every-45-minutes) - [Cron every hour: 0 * * * *](https://wispfn.com/cron/every-hour) - [Cron every 2 hours: 0 */2 * * *](https://wispfn.com/cron/every-2-hours) - [Cron every 3 hours: 0 */3 * * *](https://wispfn.com/cron/every-3-hours) - [Cron every 4 hours: 0 */4 * * *](https://wispfn.com/cron/every-4-hours) - [Cron every 6 hours: 0 */6 * * *](https://wispfn.com/cron/every-6-hours) - [Cron every 12 hours: 0 */12 * * *](https://wispfn.com/cron/every-12-hours) - [Cron every 90 minutes: the two-line schedule](https://wispfn.com/cron/every-90-minutes) - [Cron every day at midnight: 0 0 * * *](https://wispfn.com/cron/every-day-at-midnight) - [Cron every day at noon: 0 12 * * *](https://wispfn.com/cron/every-day-at-noon) - [Cron every day at 8am: 0 8 * * *](https://wispfn.com/cron/every-day-at-8am) - [Cron every day at 9am: 0 9 * * *](https://wispfn.com/cron/every-day-at-9am) - [Cron twice a day, at 9am and 9pm: 0 9,21 * * *](https://wispfn.com/cron/twice-a-day) - [Cron every weekday: 0 0 * * 1-5](https://wispfn.com/cron/every-weekday) - [Cron every weekday at 9am: 0 9 * * 1-5](https://wispfn.com/cron/every-weekday-at-9am) - [Cron every 5 minutes during business hours: */5 9-17 * * 1-5](https://wispfn.com/cron/every-5-minutes-during-business-hours) - [Cron every hour during business hours: 0 9-17 * * 1-5](https://wispfn.com/cron/every-hour-during-business-hours) - [Cron every Monday at 9am: 0 9 * * 1](https://wispfn.com/cron/every-monday) - [Cron every Friday at 5pm: 0 17 * * 5](https://wispfn.com/cron/every-friday-at-5pm) - [Cron every Sunday at midnight: 0 0 * * 0](https://wispfn.com/cron/every-sunday-at-midnight) - [Cron every Saturday and Sunday at 10am: 0 10 * * 0,6](https://wispfn.com/cron/every-weekend) - [Cron every week: 0 0 * * 0](https://wispfn.com/cron/every-week) - [Cron on the first day of every month: 0 0 1 * *](https://wispfn.com/cron/every-month) - [Cron on the 15th of every month at 9am: 0 9 15 * *](https://wispfn.com/cron/every-month-on-the-15th) - [Cron on the last day of the month: the 28–31 trick](https://wispfn.com/cron/last-day-of-month) - [Cron on the first day of every quarter: 0 0 1 1,4,7,10 *](https://wispfn.com/cron/every-quarter) - [Cron once a year: 0 0 1 1 *](https://wispfn.com/cron/once-a-year) ## Guides - [What is an MCP server? The Model Context Protocol explained](https://wispfn.com/resources/what-is-an-mcp-server): A plain-language guide to the Model Context Protocol (MCP): what an MCP server is, how tools work, and why AI agents need them. - [How to build an MCP server without running infrastructure](https://wispfn.com/resources/build-an-mcp-server-without-servers): Ship a remote MCP server for Claude, ChatGPT or your own agents without managing servers, deploys or TLS — step by step. - [Connect Claude, ChatGPT, Gemini, Grok and Cursor to an MCP server](https://wispfn.com/resources/connect-ai-clients-to-mcp): Copy-paste setup for connecting the most popular AI clients and APIs to a remote MCP server, including API-key authentication. - [MCP vs REST API: what changes when an AI agent is the client](https://wispfn.com/resources/mcp-vs-rest-api): How the Model Context Protocol relates to REST APIs, when to expose tools over MCP, and why you usually want both. - [Serverless functions explained: how they work and when to use them](https://wispfn.com/resources/serverless-functions-explained): What serverless functions are, how cold starts, scaling and pricing work, and which backend jobs they fit best. - [AI-generated backends: how they work and where they fit](https://wispfn.com/resources/ai-generated-backends): What it means to generate a backend with AI, how prompt-to-API tools work, and how to keep generated code safe and maintainable. - [Adding a backend to apps built with Lovable, Bolt or v0](https://wispfn.com/resources/backend-for-ai-app-builders): AI app builders are great at screens. Here is how to add the server-side parts — API keys, payments, webhooks, email — safely. - [How to hide API keys from your frontend with a proxy endpoint](https://wispfn.com/resources/hide-api-keys-with-a-proxy-endpoint): Never ship secret keys in browser code. Learn the proxy-endpoint pattern, with rate limits and caching, to call paid APIs safely. - [Webhook receivers done right: Stripe, GitHub and Shopify](https://wispfn.com/resources/webhook-receivers-done-right): How to receive webhooks reliably: signature verification, idempotency, fast acknowledgements and logs you can replay. - [Scheduled jobs and cron without a server](https://wispfn.com/resources/scheduled-jobs-without-a-server): Run reports, syncs and cleanups on a schedule without keeping a server up. Cron syntax, time zones and failure handling explained. - [Where to host an API in 2026: VPS, containers, serverless or AI platforms](https://wispfn.com/resources/api-hosting-options-compared): A practical comparison of API hosting options — virtual servers, containers, serverless functions and AI backend platforms — by cost and effort. - [API rate limiting and quotas: protect your API and your budget](https://wispfn.com/resources/api-rate-limiting-and-quotas): How rate limits and daily quotas work, per-client vs global limits, the right HTTP headers, and how to stop one caller draining your budget. - [Edge caching for APIs: faster responses for less](https://wispfn.com/resources/edge-caching-for-apis): When and how to cache API responses at the edge, how Cache-Control works, and what must never be cached. - [Secure AI-generated code: a 6-point checklist for production](https://wispfn.com/resources/securing-ai-generated-code): How to secure AI-generated code before it runs in production: isolation, secrets, input validation, least privilege, drafts and logging. - [Key-value, tables or blobs? Choosing storage for a small backend](https://wispfn.com/resources/storage-for-small-backends): When to use a key-value store, structured tables or blob storage for APIs, webhooks and jobs — with simple rules of thumb. - [JSON Schema for APIs and AI tools: a practical guide](https://wispfn.com/resources/json-schema-for-apis): Why JSON Schema matters for APIs and AI agent tools, the fields that matter, and examples you can copy. - [Designing MCP tools that models use correctly](https://wispfn.com/resources/designing-mcp-tools): Names, descriptions, schemas and outputs that help AI agents pick the right MCP tool and call it with the right arguments. - [Securing MCP servers: authentication, prompt injection and least privilege](https://wispfn.com/resources/mcp-security-best-practices): The security risks specific to MCP servers and AI tools — and practical defences: auth, scoping, confirmation, validation and logging. - [MCP transports: stdio vs Streamable HTTP](https://wispfn.com/resources/mcp-transports-explained): How MCP clients and servers talk: local stdio servers, remote Streamable HTTP servers, and how to choose between them. - [Turn your existing API into an MCP server](https://wispfn.com/resources/turn-your-api-into-an-mcp-server): A practical path from a REST API to MCP tools your customers’ AI agents can use: pick the jobs, wrap them, secure them, ship them. - [AI agents and tool calling, explained](https://wispfn.com/resources/ai-agents-and-tool-calling): What an AI agent is, how tool calling works under the hood, and what it takes to give an agent tools that do real work. - [Giving AI agents memory: state, storage and context](https://wispfn.com/resources/giving-ai-agents-memory): Agents forget everything between runs. How to give them durable memory with tools backed by key-value stores and tables. - [AI code generation in production: what changes when the model writes the code](https://wispfn.com/resources/ai-code-generation-in-production): Moving AI-written code from demo to production: review, testing, versioning, secrets, observability and rollback. - [How to test AI-generated code (and let the AI test it too)](https://wispfn.com/resources/testing-ai-generated-code): A practical testing approach for code written by AI: realistic requests, edge cases, draft environments and letting the model fix what fails. - [How to describe an API so an AI builds it right](https://wispfn.com/resources/describing-an-api-to-ai): Prompting for backend code: inputs, outputs, errors, data and limits — with examples of vague versus precise requests. - [Vibe coding the backend: where it works and where it breaks](https://wispfn.com/resources/vibe-coding-the-backend): Building backends by describing them works well for many jobs. Where it shines, where it struggles, and how to stay out of trouble. - [Controlling LLM API costs behind your own endpoint](https://wispfn.com/resources/controlling-llm-api-costs): Keep AI API bills predictable: proxy endpoints, per-user limits, caching, model choice, token caps and usage logging. - [API rate limit best practices: 10 rules for limits callers can live with](https://wispfn.com/resources/api-rate-limit-best-practices): Practical API rate limit best practices: what to count, where to enforce, which headers to send, and how to keep limits fair for every client. - [API rate limiting algorithms: fixed window, sliding window and token bucket](https://wispfn.com/resources/api-rate-limiting-algorithms): How the common API rate limiting algorithms work, where each one breaks, and which to pick for bursts, fairness and simplicity. - [What is a Wisp endpoint? One URL, one function, live in minutes](https://wispfn.com/resources/what-is-a-wisp-endpoint): A Wisp endpoint is one HTTP route backed by one function. What it receives, what it returns, its settings and limits, and how to call it. - [How WISPs handle billing once they outgrow manual invoicing](https://wispfn.com/resources/billing-automation-for-wisps): For wireless internet service providers: the signs you have outgrown spreadsheets and manual invoices, what to automate first, and how to connect billing to the network. - [How to secure AI-generated code: a review workflow that scales](https://wispfn.com/resources/how-to-secure-ai-generated-code): A step-by-step workflow to secure AI-generated code: threat-model the prompt, scan code and dependencies, test abuse cases, and run it with least privilege. - [Caching API responses: choosing a web cache service (CDN, proxy or app cache)](https://wispfn.com/resources/caching-api-responses): How to cache API responses: CDN and edge caching, reverse-proxy caches and in-app caches compared — with Cache-Control, cache keys and invalidation done right. - [AI code execution: how to run code an AI wrote, safely](https://wispfn.com/resources/ai-code-execution): What AI code execution is, the risks of running model-written code, and the controls that make it safe: sandboxes, limits, secrets and review. - [Code execution APIs: running untrusted Python and JavaScript on demand](https://wispfn.com/resources/code-execution-api): How code execution APIs work, what to look for (isolation, limits, packages, latency) and when to deploy code as an endpoint instead. - [Sandboxing for AI code: containers, gVisor, microVMs and WebAssembly compared](https://wispfn.com/resources/sandboxing-ai-code): The main ways to sandbox AI-generated code — containers, user-space kernels, microVMs, WebAssembly and V8 isolates — and how to pick one. - [Sandboxing AI agents: limit what an agent can touch](https://wispfn.com/resources/sandboxing-ai-agents): How to sandbox AI agents: isolate their code, restrict network and file access, scope their tools and credentials, and keep a human in the loop for risky actions. - [Who owns AI-generated code? Copyright, licenses and practical steps](https://wispfn.com/resources/who-owns-ai-generated-code): A plain-language overview of ownership and copyright for AI-generated code, open-source license risks, and practical steps teams take. Not legal advice. - [Is AI-generated code production-ready? A practical quality bar](https://wispfn.com/resources/ai-generated-code-quality): What AI-generated code does well, where it falls short, and the quality bar — tests, schemas, review and monitoring — that makes it safe to ship. - [AI API generators: from a sentence to a deployed endpoint](https://wispfn.com/resources/ai-api-generator): What an AI API generator does, what to expect from the code it writes, and how to go from a plain-language description to a live, scalable endpoint. - [AI tools for developers: a practical map](https://wispfn.com/resources/ai-tools-for-developers): The main kinds of AI developer tools — editor assistants, coding agents, app builders, backend generators, MCP servers and review tools — and what each is best at. - [How to build an AI tool your agents can call](https://wispfn.com/resources/build-ai-tools-for-agents): A step-by-step guide to building a tool for AI agents: define the job, write the schema, implement and host it, secure it, and connect it over MCP or function calling. - [Scaling AI-generated backends: from first request to production traffic](https://wispfn.com/resources/scaling-ai-generated-backends): How serverless scaling works for AI-generated APIs, what usually breaks under load, and how Wisp scales endpoints automatically — and down to zero. - [CORS errors explained: why the browser blocks your API call (and how to fix it)](https://wispfn.com/resources/cors-errors-explained): "No Access-Control-Allow-Origin header" and preflight failures, explained — what CORS is, why the browser blocks requests, and the right fixes for your API. - [API authentication methods: API keys vs OAuth 2.0 vs JWT vs HMAC](https://wispfn.com/resources/api-authentication-methods): The main ways to authenticate API requests — API keys, OAuth 2.0, JWTs, HMAC signatures and mTLS — how each works, and which to choose. - [Cron expression examples: a cheat sheet for every schedule](https://wispfn.com/resources/cron-expression-examples): Cron syntax explained with copy-paste examples — every 5 minutes, hourly, weekdays at 9am, the first of the month — plus time zones and common mistakes. - [How to verify Stripe webhook signatures (Node.js and Python)](https://wispfn.com/resources/stripe-webhook-signature-verification): Verify the Stripe-Signature header correctly in Node.js and Python: raw bodies, the signing secret, timestamps, retries and idempotent handling. - [HTTP status codes for APIs: which to return and when](https://wispfn.com/resources/http-status-codes-for-apis): A practical guide to HTTP status codes for REST APIs — 200 vs 201 vs 204, 400 vs 422, 401 vs 403, 404, 409, 429 and 5xx — with error body examples. - [MCP server examples: 12 useful tools to give your AI agent](https://wispfn.com/resources/mcp-server-examples): Practical MCP server examples — order lookups, CRM search, ticket creation, internal docs, metrics and more — with the tool design that makes each one work. - [Function calling explained: how OpenAI, Claude and Gemini call your tools](https://wispfn.com/resources/function-calling-explained): How LLM function calling (tool use) works across OpenAI, Anthropic Claude and Google Gemini — the request/response loop, schemas, and how to host the functions. - [Zapier alternatives for developers: when code beats no-code](https://wispfn.com/resources/zapier-alternatives-for-developers): When workflow tools like Zapier get expensive or limiting, the alternatives — Make, n8n, Pipedream, scripts and serverless functions — and how to choose. - [How to deploy a Python API (without managing a server)](https://wispfn.com/resources/deploy-a-python-api): The ways to deploy a Python API — Flask or FastAPI on a VPS, containers, platforms and serverless functions — with the trade-offs and a checklist for production. - [API versioning best practices: URL, header or no versions at all](https://wispfn.com/resources/api-versioning-best-practices): How to version a REST API — URL paths, headers, date-based versions — what counts as a breaking change, and how to evolve an API without breaking clients. - [Where to find your Stripe webhook signing secret (whsec_)](https://wispfn.com/resources/where-to-find-stripe-webhook-secret): Find the whsec_ signing secret for a Stripe webhook in Workbench, the Stripe CLI or the API — and fix the "No signatures found" error caused by the wrong one. - [LLM billing: how to track and charge for AI usage per user](https://wispfn.com/resources/llm-billing-per-user): Meter LLM tokens per user or team, turn them into costs, enforce budgets and bill for usage — a practical design for apps built on OpenAI, Claude or Gemini APIs. - [AI-generated code and open-source licenses: a compliance checklist](https://wispfn.com/resources/ai-generated-code-open-source-licenses): Can AI-generated code break open-source licenses? What the real risks are, and a practical checklist: dependency scanning, snippet matching, policies and records. - [API versioning: URL path vs header vs query parameter](https://wispfn.com/resources/api-versioning-url-vs-header): Compare the ways to version a REST API — /v1/ in the URL, a custom header, Accept media types, a query parameter or dates — with examples and when to use each. - [Claude tool use (function calling) explained, with a working example](https://wispfn.com/resources/claude-tool-use-explained): How tool use works in the Claude API: defining tools with JSON Schema, the tool_use / tool_result loop, stop_reason, errors and parallel calls — with Python code. - [Build your own CORS proxy (and why public ones are a bad idea)](https://wispfn.com/resources/build-a-cors-proxy): Public CORS proxies leak your data and API keys and go down without warning. Here is how to build a small, safe CORS proxy with an origin and target allowlist.