Skip to content
Agents tracked: 440 Downloads (7d): 202M down 19.5% GitHub stars: 10.4M Releases (7d): 607 Agent status: all upSince last limit reset: Claude 28d · Codex 0d Updated Oct 21, 2026

Fastify CORS

CORS middleware plugin for Fastify web framework.

HTTP servers and APIs npm MIT

Used in agent projects
9
0.2% of 4,818 JS/TS repos built with AI coding agents; 35 counting our dependency samples
Gid Score
45 /100
#2014 of 3,794 tools, #54 in http servers and apis · ranking
Rank in http servers and apis
#36 of 95
by use in those projects
Downloads
4.4M
npm, last 7 days, @fastify/cors
GitHub stars
496
71 forks · last push Oct 8, 2026

How Fastify CORS is used

Fastify CORS is a dependency in 9 of the 6,208 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 2,661, Ethereum and EVM 1,496, 3D and games 2,818, agent frameworks and SDKs 10,983); counting those, it appears in 35 projects, and what it is used with below comes from all of them. The most used alternative in our scan is cors (196 projects). Projects that use it most often also use Fastify (97.1%), tsx (68.6%), dotenv (51.4%).

Fastify CORS popularity over time

Top tools by Gid Score

Fastify CORS: downloads per weeknpm, @fastify/cors 4,408,172
Fastify CORS: GitHub starsfastify/fastify-cors 496

Gid Score 45: downloads 78, use in agent projects 36, GitHub stars 0, downloads trend 61 (each 0-100). How it is calculated.

Often used with Fastify CORS

Fastify97.1% of Fastify CORS projects · 402.0× more than average
tsx68.6% of Fastify CORS projects · 4.5× more than average
dotenv51.4% of Fastify CORS projects · 3.3× more than average
Zod62.9% of Fastify CORS projects · 2.5× more than average
TypeScript91.4% of Fastify CORS projects · 1.7× more than average
@fastify/static34.3% of Fastify CORS projects · 266.1× more than average
Vitest51.4% of Fastify CORS projects · 2.5× more than average
OpenAI28.6% of Fastify CORS projects · 6.2× more than average

From all 35 projects in our scan that use Fastify CORS, including the dependency samples.

By coding agent

Claude Code0.2% of projects set up for it

Share of public repos configured for each agent that list Fastify CORS as a dependency.

How Fastify CORS is funded

Most funded tools

Open Collective: Fastify

Received, last 12 months$11,981 Oct 2025 – Sep 2026
Estimated annual budget$15,492 Open Collective's estimate
Balance$23,397
Raised since the start$23,585 · $188 paid out
Typical month median, last 12 months$716 · $595 over 24 months
Last 12 months vs the 12 before+37%
Contributors, last 12 months9

Top company backers all time, 7 companies in total

Handsontable - JavaScript Data Grid$2,700 since Jul 2024
Val Town$1,200 since Nov 2025
OpenJS Foundation$1,090 since Nov 2025
TestMu AI (Formerly LambdaTest)$1,000 since Sep 2025
N-iX Ltd$400 since Jul 2026

Nov 2023Sep 2026

Money by month. First money received in Nov 2023. The typical month is the median: one big one-off donation does not move it.

The same collective is named by 15 more tools in our catalog: Fastify, @fastify/static, @fastify/rate-limit, @fastify/cookie, Fastify Compress, @fastify/autoload and others.

USD after payment processor fees, as Open Collective reports it; fiscal host Open Source Collective. Source

GitHub Sponsors

@fastify11 current sponsors

GitHub shows how many people and companies sponsor an account, not how much they pay.

Ways to fund Fastify CORS

GitHub Sponsors Open Collective

As the maintainers list them in FUNDING.yml on GitHub. Checked Oct 20, 2026.

Install

Packagenpm install @fastify/cors
Main stacksTypeScript / JavaScript (32), Next.js (2), Python (1)
Example projectstsensei/OpenReels, DekaPrayoga/AurixAgent, Uniswap/smallocator, hexian2001/lingxiao-coding, flaviodelgrosso/fastify-mcp-server

Alternatives to Fastify CORS

All http servers and apis

Tools that do the same job, so a project picks one or the other. Add-ons and libraries used alongside Fastify CORS are not listed here; they are in "Often used with".

Tool Gid Score Used in agent projectsDownloads / wk GitHub starsLicense
cors npm
Express/Node.js middleware for handling Cross-Origin Resource Sharing.
74 196 (4.1%) 52.5M 6,195 MIT

More in HTTP servers and APIs: Uvicorn FastAPI Express python-multipart Flask Hono Starlette express-rate-limit

Is Fastify CORS right for your project? Ask AgentGid →