prompts.chat
The world's largest open-source prompt library for AI
Replaces Aiprm, Flowgpt

Who it's for
A private self-hosted instance gives a team one searchable, versioned prompt library accessible from the CLI, MCP server, or web interface. Engineers can share prompts across projects without digging through chat logs or rebuilding work.
Skip if your team uses a single AI model and has fewer than five people sharing prompts. A shared document adds less overhead at that scale.
The library covers ChatGPT, Claude, Gemini, Llama, and Mistral. Practitioners switching between models can search by model tag and find tested prompts without starting from scratch each time.
Skip if you are locked to one model and that model's native prompt-saving features meet your needs.
The MCP server endpoint lets AI coding assistants and agent pipelines pull prompts directly from the library at runtime. Teams building multi-step agents can reference shared, versioned prompts instead of hardcoding them in configuration files.
Skip if your toolchain does not support MCP. The web interface and CLI remain accessible, but the agent-workflow integration requires MCP support in your AI tool.
The project's citations from Harvard and Columbia and 40+ academic paper references reflect its use as a reference for instruction. The built-in interactive book covers chain-of-thought, few-shot learning, and agent prompting across 25+ chapters.
Skip if you need LMS integration, student assessment tools, or classroom management features. prompts.chat is a library and community tool, not a learning management system.
The problem
Teams working with AI models quickly discover that prompts are valuable intellectual property, but there is no good default way to store, share, or reuse them. Engineers paste prompts into Slack messages, designers keep personal text files, and product managers start fresh every time a new use case comes up. There is no version history, no search, and no way to know whether a colleague already solved the same prompting problem last week. Paid prompt-management products exist, but they come with per-seat pricing, proprietary storage, and vendor lock-in. If the service changes its pricing model or shuts down, the team's prompt library goes with it. For organizations that want to treat prompts as a first-class internal asset, a self-hosted open-source library that the team controls is the right path.
How it works
Browse, submit, and collect prompts contributed by a community that has earned 169,000 GitHub stars and 40+ academic citations. The prompt dataset is published separately under CC0 1.0 on Hugging Face, where it is the most-liked dataset on the platform.
Prompts are tagged and browsable by AI model, covering ChatGPT, Claude, Gemini, Llama, Mistral, and more. Switching models does not mean abandoning your prompt library.
Use prompts.chat as a Model Context Protocol server in any AI tool that supports MCP. Both a remote hosted endpoint and a local npx path are available, so you can wire it into AI coding assistants and agent workflows without additional infrastructure.
The npx prompts.chat command surfaces the library directly in your terminal. No browser tab required for quick lookup or copy during development sessions.
Deploy your own branded prompt library by cloning the repo. A setup wizard configures branding, themes, and authentication via GitHub, Google, or Azure AD. PostgreSQL is the recommended backing store, and Docker support is available.
The repository includes an interactive book covering 25+ chapters on prompt engineering, from chain-of-thought reasoning to few-shot learning and AI agents. Source lives in src/content/book and is freely accessible.
Features
- Community-driven prompt library
- Multi-model prompt support
- MCP server integration
- CLI access via npx
- Self-hosted private library with setup wizard
- Interactive prompt engineering book
How to install
Self-hosting deploys a Next.js app backed by PostgreSQL using the official setup wizard.
git clone https://github.com/f/prompts.chat.git
cd prompts.chat
npm install
npm run setupRecommended for this setup
Strengths
- Largest open-source prompt library by adoption: 169,000 GitHub stars puts prompts.chat at position 33 among all starred repositories in the world. The project has been cited by Harvard and Columbia, referenced in Forbes, and named a GitHub Staff Pick. For teams evaluating whether a project is well-maintained, the adoption signal is unusually strong.
- No restrictions on self-hosting or commercial use: Source code carries the MIT License with no SaaS restriction clauses. Prompt data is CC0 1.0 (public domain). Organizations can run it internally, modify it, and use it in commercial products with no per-seat fee and no attribution requirement on the data side.
- Broad AI model coverage: The library covers ChatGPT, Claude, Gemini, Llama, and Mistral. Teams that work across multiple models can maintain one shared library instead of separate silos per provider.
- Ecosystem integrations across surfaces: Beyond the web app, prompts.chat ships a CLI, a Raycast extension, an App Store app, a Claude Code plugin, and an MCP server. Teams can access the library from whichever tool they are working in.
Trade-offs
- Self-hosting requires a PostgreSQL database: The setup wizard deploys a Next.js app backed by PostgreSQL. Teams without an existing managed database will need to provision one separately. Docker support is available via DOCKER.md in the repo, but it is not a single-container zero-dependency deployment.
- Community prompt quality varies: Content is community-submitted and moderated, so quality is uneven across the library. Production teams building reliable AI workflows should evaluate and curate prompts before using them in critical paths.
Tech stack
FAQ
Yes. The source code is MIT licensed with no restrictions on self-hosting or commercial use. Prompt data is CC0 1.0 (public domain). You pay only for your own hosting costs such as a server and a PostgreSQL database. There is no per-seat fee or proprietary license.
The library covers ChatGPT, Claude, Gemini, Llama, Mistral, and any other AI chat model. Prompts are not hard-coded to a single provider, and the community tags submissions by model compatibility.
Yes. prompts.chat provides both a remote MCP endpoint (https://prompts.chat/api/mcp) and a local npx path. Any AI tool that supports the Model Context Protocol can connect to it and pull prompts at runtime without additional configuration.
Clone the repository and run npm install followed by npm run setup. The setup wizard configures branding, theme, and authentication via GitHub, Google, or Azure AD. PostgreSQL is the recommended backing database. A Docker path is documented in DOCKER.md in the repository.
AIPRM is a paid browser extension with preset templates primarily for ChatGPT. prompts.chat is open source, supports all major AI models, and can be self-hosted for complete data privacy. It also ships a CLI, Raycast extension, and MCP server that AIPRM does not offer.