Enables AI assistants to perform AI-assisted development and project scaffolding using the Duck Python web framework.
Also known as duckframework/duck, duck
- Stars
- 46
- Tools
- —
- Downloads, 30 days
- —
- Latest version
- 1.2.0
- Last commit
- Nov 9, 2026
- License
- BSD-3-Clause
What is Duck Framework MCP?
Duck Framework enables AI assistants to perform AI-assisted development and project scaffolding using the Duck Python web framework.
Summary generated from the project's README
About Duck Framework MCP server
Duck Framework MCP allows AI assistants to participate in the development of web applications using the Duck Python web framework. This server enables an AI client to perform project scaffolding and AI-assisted development tasks. It is designed for developers who want to build server-side reactive web applications without managing a separate JavaScript stack or complex frontend frameworks.
Users can interact with the framework to initialize new projects using the duck makeproject command and manage the local development environment. The framework itself is an open-source Python tool that requires Python 3.10 or higher. It features a built-in reactive UI engine and real-time WebSocket support, making it suitable for high-performance applications. The setup involves installing the duckframework package via pip and running the webserver through python web/main.py or the duck runserver command.
What you can do with it
- 1Scaffold a new web projectAsk the AI to initialize a new Duck project structure using the command line.
- 2Start a local development serverInstruct the AI to launch the webserver so you can view the application at localhost:8000.
- 3Develop reactive web interfacesHave the AI assist in building server-side reactive applications using the built-in UI engine.
- 4Integrate with existing Django appsUse the AI to add security and HTTP/2 features to a Django project.
Written from the project's README. Every use case is checked against a quote from it.
How to install Duck Framework MCP
Formats verified 10 Nov 2026Install Duck Framework MCP in Claude Code
$ claude mcp add --transport http duck https://duckframework.com/mcpInstall Duck Framework MCP in Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"duck": {
"url": "https://duckframework.com/mcp"
}
}
}Install Duck Framework MCP in VS Code
.vscode/mcp.json
{
"servers": {
"duck": {
"type": "http",
"url": "https://duckframework.com/mcp"
}
}
}Install Duck Framework MCP in Codex
~/.codex/config.toml
[mcp_servers.duck] url = "https://duckframework.com/mcp"
Install Duck Framework MCP in Gemini CLI
~/.gemini/settings.json
{
"mcpServers": {
"duck": {
"httpUrl": "https://duckframework.com/mcp"
}
}
}Automated checks
Ran Nov 13, 2026Full report →Passed our automated checks. That is not a security audit: read the code and give the server the narrowest access it needs. How checks work
- Source repository linked and reachablePass
- Open source license (OSI)Pass
- Commit or release in the last yearPass
- Package name not close to a popular packageNot checked
- Remote endpoint uses HTTPSPass
- Destructive tools are labelledNot checked
- No hidden instructions to the modelPass
- No critical advisory in the package or its dependenciesNot checked
README
View on GitHub
Duck Framework is an open-source Python web framework and web server with a built-in reactive UI engine and real-time WebSocket support.
Build high-performance, flexible, scalable, server-side reactive web applications — without a separate frontend framework or a complex JavaScript stack.
(More badges — security, performance, integrations — on the Features page.)
Quickstart
# Install Duck Framework
pip install duckframework
# Create a project
duck makeproject myproject
# Change directory to myproject
cd myproject
# Run the webserver
python web/main.py # Optionally use duck runserver
Visit http://localhost:8000 — you're running Duck. For the full walkthrough (install options, project types, what gets generated), see Getting Started.
HTML & Lively Components
Duck includes everything you need to build your UI, while Quirl, the official component library, provides modern, reusable HTML and Lively components for building richer interfaces and interactions.
Documentation
New to Duck? Start with Getting Started, then Understanding the Project. You'll have everything you need to build your first app. Explore the other guides as your project grows.
1. Start Here
- Getting Started — install Duck, create a project, and start the server.
- Understanding the Project — understand
main.py,urls.py, views, pages, components, templates, and static files.
2. Build with Duck
- Native Apps — get started with Duck Native and native app development.
- Django Integration — add Duck's HTTP/2, HTTPS, and security features to an existing Django project.
- Features — explore Duck's capabilities and planned features.
3. Resources
- AI Guidelines — use Duck with AI assistants and AI-assisted development.
- About & Links — discover real-world apps, useful links, and fun facts.
- Contributing — learn about contributing, reporting issues, sponsorship, and premium components.
- Official Documentation — explore the full documentation.
Duck is updated regularly — check the repo for improvements and bug fixes.
Duck Framework MCP questions
How do I add Duck Framework MCP to Claude Code?
Run claude mcp add --transport http duck https://duckframework.com/mcp in your terminal. Add --scope user to make it available in every project.
How do I add Duck Framework MCP to Cursor?
Open ~/.cursor/mcp.json and add the server under mcpServers, using the Cursor config shown in the install section above.
What is Duck Framework?
Duck Framework is an open-source Python web framework and web server featuring a built-in reactive UI engine and real-time WebSocket support.
How do I create a new project with Duck?
You can create a new project by running the command 'duck makeproject myproject' after installing the framework via pip.