MCPcopy Create free account
hub / github.com/pallets/flask

github.com/pallets/flask

Chat with this repo
repository ↗ · DeepWiki ↗ · release 3.1.0 ↗ · + Follow · compare 2 versions
1,514 symbols 4,446 edges 83 files ⚖ BSD-2-Clause 291 documented · 19% updated 13d ago3.1.3 · 2026-02-19★ 72,143

Browse by type

Functions 1,195 Types & classes 136 Endpoints 183
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Flask

Flask is a lightweight WSGI web application framework. It is designed to make getting started quick and easy, with the ability to scale up to complex applications. It began as a simple wrapper around Werkzeug and Jinja, and has become one of the most popular Python web application frameworks.

Flask offers suggestions, but doesn't enforce any dependencies or project layout. It is up to the developer to choose the tools and libraries they want to use. There are many extensions provided by the community that make adding new functionality easy.

A Simple Example

# save this as app.py
from flask import Flask

app = Flask(__name__)

@app.route("/")
def hello():
    return "Hello, World!"
$ flask run
  * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)

Donate

The Pallets organization develops and supports Flask and the libraries it uses. In order to grow the community of contributors and users, and allow the maintainers to devote more time to the projects, please donate today.

Core symbols most depended-on inside this repo

browse all functions →

Shape

Function 805
Method 390
Route 183
Class 136

Languages

Python100%

Modules by API surface

tests/test_basic.py260 symbols
tests/test_blueprints.py149 symbols
tests/test_user_error_handler.py65 symbols
tests/test_cli.py59 symbols
tests/test_helpers.py54 symbols
tests/test_views.py47 symbols
tests/test_templating.py47 symbols
tests/test_json.py47 symbols
tests/test_testing.py45 symbols
src/flask/json/tag.py44 symbols
src/flask/cli.py41 symbols
tests/test_reqctx.py38 symbols

Dependencies from manifests, versioned

Jinja23.1.2 · 1×
Werkzeug3.1 · 1×
amqp5.1.1 · 1×
async-timeout4.0.2 · 1×
billiard3.6.4.0 · 1×
blinker1.9 · 1×
click8.1.3 · 1×
click-didyoumean0.3.0 · 1×
click-plugins1.1.1 · 1×
click-repl0.2.0 · 1×
flask2.3.2 · 1×
itsdangerous2.2 · 1×

For agents

$ claude mcp add flask \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page