Aerostack
Aerostack

Serverless Edge Functions for Claude, Cursor & AI Agents on Aerostack

Browse 32+ serverless edge functions on Aerostack Marketplace — including Stripe webhooks, Slack handlers, PDF extractors, and more. Each function deploys to Cloudflare Workers in one command from your Aerostack workspace. Use them as callable tools from Claude, Cursor, or any MCP-compatible AI agent.

sec-api-key-generatesecurity

Generates a cryptographically random API key with a custom prefix using a base62 alphabet — no ambiguous characters, URL

@navin

text-extract-emailscontent

Extracts all valid email addresses from free-form text using an RFC 5321 compliant pattern. Supports deduplication and p

@navin

text-html-to-markdowncontent

Converts HTML to Markdown text. Handles headings, bold, italic, links, code, lists, blockquotes, and horizontal rules. S

@navin

text-markdown-to-htmlcontent

Converts Markdown text to HTML with optional sanitization. Supports all common Markdown syntax including headings, bold,

@navin

sec-cors-validatesecurity

Validates a request Origin against an allow list and returns the correct CORS response headers to set — supports wildcar

@navin

sec-csp-generatesecurity

Generates a Content-Security-Policy header value from a structured directives object — supports report-only mode and rep

@navin

sec-decrypt-aessecurity

Decrypts an AES-256-GCM encrypted bundle produced by sec-encrypt-aes — key is derived via SHA-256, auth tag is verified

@navin

sec-encrypt-aessecurity

Encrypts a string with AES-256-GCM using Web Crypto — key is derived via SHA-256, output is a portable IV:ciphertext bun

@navin

text-keyword-highlightcontent

Highlights keyword occurrences in text by wrapping them in configurable HTML tags. Handles case-insensitive matching, lo

@navin

text-sanitize-htmlcontent

Sanitizes HTML by removing dangerous tags and attributes. Always strips script, style, iframe, form elements, and all ev

@navin

text-truncate-smartcontent

Truncates text at character, word, or sentence boundaries. Appends a configurable suffix and never cuts mid-word or mid-

@navin

text-word-countcontent

Counts words, unique words, characters, and sentences in a text string. Handles edge cases like empty text, whitespace,

@navin

ai-chunk-overlapai

Splits text into overlapping chunks with configurable size, overlap, and boundary snapping (char, word, sentence) for RA

@navin

ai-context-window-fitai

Trims a conversation message array to fit within a model's context window using configurable strategies, without making

@navin

ai-cost-estimateai

Calculates the API cost for an LLM request given a model name, prompt token count, and completion token count, supportin

@navin

ai-extract-keywordsai

Extracts the top N keywords from text using TF-IDF inspired scoring with built-in English stopword filtering, no externa

@navin

ai-guardrail-injection-detectai

Scores text for common prompt injection attack patterns including role overrides, instruction leaking, and jailbreak att

@navin

ai-language-detectai

Detects the natural language of a text string using character trigram frequency analysis, supporting 13 languages with n

@navin

ai-messages-to-promptai

Serialises a structured message array into a formatted prompt string for open-source LLMs, supporting ChatML, Llama 2, A

@navin

ai-output-validateai

Validates and optionally repairs LLM output against a schema type (JSON, list, boolean, number, email, URL) without call

@navin

data-aggregate-statsdata

Computes descriptive statistics (count, sum, min, max, mean, median, stdDev, variance, percentiles) for an array of numb

@navin

data-csv-parsedata

Parses a CSV string into an array of row objects with headers, handling quoted fields, custom delimiters, and escaped ch

@navin

data-csv-to-jsondata

Converts a CSV string to a typed JSON array, automatically inferring numbers, booleans, and null values from string fiel

@navin

data-deep-diffdata

Computes a structural deep diff between two JSON-serializable values, classifying each change as added, removed, or modi

@navin

data-sort-objectsdata

Sorts an array of objects by one or more fields with configurable direction, null handling, and nested field dot-notatio

@navin

datetime-diffutilities

Calculate the difference between two dates in specified units (ms, seconds, minutes, hours, days, weeks, months, years).

@navin

web-headers-parseweb-search

Parse a raw HTTP header block string or object into a structured lowercase-keyed object with content-type and authorizat

@navin

data-dedupe-arraydata

Removes duplicate items from an array using strict equality for primitives, deep equality for objects, or a key field fo

@navin

data-filter-querydata

Filters an array of objects using a MongoDB-style query language supporting $eq, $ne, $gt, $gte, $lt, $lte, $in, $nin, $

@navin

data-paginatedata

Paginates an array of items with offset-based page/limit logic, returning metadata like totalPages, hasNext, and hasPrev

@navin

int-notion-page-contentai

Reads the full content (blocks) of a Notion page — paragraphs, headings, lists, code blocks — and returns both structure

@navin

int-notion-page-updatedatabase

Updates an existing Notion page's properties — change status, tags, dates, or any database field. Supports archiving pag

@navin

Frequently asked questions

What community edge functions are available?+

Browse TypeScript edge functions for authentication, payment processing, AI inference, data transformation, and webhook handling — all deployable to Cloudflare Workers.

Can I fork a community function?+

Yes. Fork any community function to your workspace and modify it. Your fork is private by default — publish it when ready.

Do community functions have full TypeScript support?+

Yes. All Aerostack functions are TypeScript. They include type-safe DB bindings, fetch utilities, and the full Cloudflare Workers API surface.

How do I call a community function from my project?+

Install the function to your workspace. It deploys as an edge endpoint with a stable URL. Call it from your app like any REST API.

Are community functions production-ready?+

Quality varies. Look for verified-developer badge, high install count, and active maintenance date. Aerostack-official functions are production-hardened.