Codeflash is an AI optimization tool that automatically improves the performance of your Python code while maintaining its correctness.

To install Codeflash, run:
pip install codeflash
Configure Codeflash for your project:
codeflash init
Optimize a function:
codeflash --file path/to/your/file.py --function function_name
Optimize your entire codebase:
codeflash --all
To get the most out of Codeflash:
Codeflash is licensed under the BSL-1.1 License. See the LICENSE file for details.
$ claude mcp add codeflash \
-- python -m otcore.mcp_server <graph>