# Convex

CreateWithAI Hub page: https://createwithaihub.com/vector-databases/convex
Latest version of this file: https://createwithaihub.com/vector-databases/convex.md

- Type: Tool · Category: Vector Databases
- Publisher: Convex
- Pricing: Free plan plus paid plans · License: FSL-1.1-Apache-2.0
- Runs on: Web, API (cloud), Docker / self-hosted

Reactive backend platform where queries, mutations and actions are TypeScript functions, with realtime sync, auth, files and vector search.

Convex is a backend platform built around a reactive database: you write queries, mutations and actions as TypeScript functions, and clients subscribed to a query update automatically when its data changes. It also covers auth, file storage, scheduled functions and cron jobs, full-text search and vector search, plus reusable components. It runs as a hosted cloud with a free plan or can be self-hosted from the convex-backend repo with Docker, and it suits app builders who want one TypeScript backend for data, realtime updates and embeddings.

Useful for: Building a realtime chat or collaborative app whose UI updates live, with sign-in, file uploads and semantic search over stored embeddings from one TypeScript backend.

## Key features

- Queries, mutations and actions as TypeScript functions with automatic caching and realtime updates
- Convex Auth plus integrations with Auth0, Clerk, WorkOS AuthKit and custom OIDC/JWT providers
- File storage, scheduled functions and cron jobs
- Vector search and full-text search over documents
- Clients for React, Next.js, Vue, Svelte, React Native, Swift, Kotlin, Python and Rust, plus an HTTP API
- Local stdio MCP server (npx -y convex@latest mcp start) that lets coding agents inspect tables, run functions, read logs and manage env vars; production access only with an explicit flag

## Connection

- Deployment: Managed cloud, Self-hostable
- Search: Vector, Full-text
- Pricing model: Usage-based

## Before you start

- Node.js and npm
- Convex account for the hosted cloud (not needed when self-hosting)

## Install steps from the official documentation

Add to a project:

```
npm install convex
```

Start a dev deployment:

```
npx convex dev
```

MCP server (stdio; add as a command in your MCP client config):

```
npx -y convex@latest mcp start
```

## Limitations

- Free & Starter plan includes 1M function calls, 0.5 GB database, 1 GB file storage and 1 GB bandwidth per month, then pay as you go
- Professional is $25 per developer/month; Business & Enterprise have a $2,500 monthly minimum
- Backend code is under FSL-1.1-Apache-2.0 (source-available, not OSI open source); each release converts to Apache-2.0 after two years
- Backend logic is written in Convex's TypeScript function model rather than SQL

## Official links

- Website: https://www.convex.dev
- Source repository: https://github.com/get-convex/convex-backend
- Documentation: https://docs.convex.dev/home
- Source: https://docs.convex.dev/home (Reactive database with TypeScript queries/mutations/actions; auth, file storage, scheduling, cron, full-text and vector search, components; client libraries)
- Source: https://docs.convex.dev/quickstart/react (npm install convex and npx convex dev)
- Source: https://www.convex.dev/pricing (Free & Starter ($0, pay as you go) limits, Professional $25/developer/month, Business & Enterprise $2,500 monthly minimum)
- Source: https://docs.convex.dev/ai/convex-mcp-server (MCP server command, flags and tools (status, tables, data, runOneoffQuery, functionSpec, run, logs, insights, env vars))
- Source: https://github.com/get-convex/convex-backend ('The open-source reactive database for app developers'; self-host with Docker (recommended) or a prebuilt binary)
- Source: https://raw.githubusercontent.com/get-convex/convex-backend/main/LICENSE.md (Functional Source License 1.1, Apache 2.0 Future License; Apache-2.0 grant on the second anniversary of each release)
- Source: https://raw.githubusercontent.com/get-convex/convex-backend/main/npm-packages/convex/src/cli/mcp.ts (convex mcp start serves over stdio (serveStdio))
