MCPcopy Index your code
hub / github.com/thumbor/thumbor

github.com/thumbor/thumbor @7.8.0

repository ↗ · DeepWiki ↗ · release 7.8.0 ↗ · + Follow
1,873 symbols 7,278 edges 238 files 33 documented · 2% updated 4d ago7.8.0 · 2026-05-30★ 10,50412 open issues
README

Join thumbor-bootcamp for a learning and contribution experience with ❤️ and 🤗 from the thumbor team

thumbor

Crop, resize, transform and much more, all on-demand and AI Powered

thumbor is trusted by hundreds of companies worldwide

Wikipedia trusts thumbor  Globo.com trusts thumbor  Vox Media trusts thumbor  Forbes trusts thumbor  Square trusts thumbor  Deliveroo trusts thumbor  Canal+ trusts thumbor  Terra trusts thumbor  nrc trusts thumbor  web.dev indicates thumbor for high-performance web sites  aws indicates thumbor for serverless image handling

and many more!

thumbor is a smart imaging service that enables on-demand cropping, resizing, applying filters and optimizing images.

Cropping photos automatically can be a frustrating experience with severed heads involved. thumbor uses AI for smart detection.

thumbor is an HTTP server and you can create as many different images as you want just by varying path parameters:

http://<thumbor-server>/300x200/smart/thumbor.readthedocs.io/en/latest/_images/logo-thumbor.png

You should see an image of the thumbor logo in 300x200.

Learn more about all you can do in thumbor's documentation.

⚙️ Installation

Decide which installation option you want to use.

Option 1: pip

# thumbor with main dependencies only
pip install thumbor

# thumbor with OpenCV dependency
pip install thumbor[opencv]

# thumbor with all dependencies
pip install thumbor[all]

Option 2: Binary

Available as a package in the official repositories of distributions such as Debian and Ubuntu.

sudo apt update
sudo apt install thumbor

Option 3: Docker

An official Docker image is available on GitHub Container Registry:

docker run -p 8888:8888 ghcr.io/thumbor/thumbor:latest

For more information about the Docker image and available tags, visit the GitHub Container Registry.

For more ways, please check out Installation.

Run

Running it is as easy as hit:

thumbor

After this, you can reach it on http://localhost:8888/unsafe/https://raw.githubusercontent.com/thumbor/thumbor/master/example.jpg

Troubles?

If you experience any troubles, try running:

thumbor-doctor

If you have a thumbor.conf file, you can use that to help thumbor-doctor:

thumbor-doctor -c thumbor.conf

If you still need help, please raise an issue. Remember to send your thumbor-doctor output in the issue:

thumbor-doctor --nocolor -c thumbor.conf

🎯 Features

  • supports all common images formats out of the box
  • intelligent cropping and resizing
  • blazing fast using caching
  • supports many storages (local storage, AWS S3, Rackspace, Ceph, ...)
  • AI-powered cropping based on face and feature detection (glasses, interesting points, ...)
  • integrated with many programming languages and frameworks and many more...
  • highly extensible

🌟 Awesome Goodies

awesome-thumbor is a curated list of all things thumbor. There you can find filters, storages, engines, loaders, docker images, extensions in your favorite language and framework, and much more.

All of it with a clear indication of each project's quality. Have fun!

👍 Contribute

thumbor is an open-source project with many contributors. Join them contributing code or contributing documentation.

If you use thumbor, please take 1 minute and answer this survey? Only 2 questions!

Join the chat at https://gitter.im/thumbor/thumbor

👀 Demo

You can see thumbor in action at http://thumborize.me/

Core symbols most depended-on inside this repo

read
called by 113
thumbor/engines/pil.py
load
called by 96
thumbor/engines/gif.py
import_modules
called by 65
thumbor/importer.py
get
called by 38
thumbor/storages/no_storage.py
validate
called by 36
thumbor/filters/frame.py
_error
called by 26
thumbor/handlers/__init__.py
incr
called by 25
thumbor/metrics/__init__.py
image_data_as_rgb
called by 24
thumbor/engines/pil.py

Shape

Method 1,362
Class 312
Function 158
Route 41

Languages

Python100%

Modules by API surface

tests/filters/test_base_filter.py80 symbols
tests/loaders/test_http_loader.py59 symbols
thumbor/engines/__init__.py53 symbols
tests/handlers/test_base_handler.py45 symbols
thumbor/handlers/__init__.py41 symbols
tests/handlers/test_upload_api.py38 symbols
tests/test_server.py35 symbols
tests/engines/test_base_engine.py35 symbols
tests/handlers/test_base_handler_with_auto_jpg.py34 symbols
thumbor/engines/json_engine.py30 symbols
tests/storages/test_file_storage.py30 symbols
tests/engines/test_pil.py30 symbols

For agents

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

⬇ download graph artifact