Anthropic FastAPI Service
furkankyildirim/anthropic-fastapi-service
API REST para Claude com FastAPI e Docker
Ver no GitHubServiço FastAPI que expõe uma API RESTful para o modelo Claude da Anthropic, permitindo integrar IA em aplicações web. Inclui documentação interativa via Swagger e suporte para mensagens de sistema customizadas.
Instalação
npx convez-ai furkankyildirim/anthropic-fastapi-service1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.
Métricas
Casos de uso
- Criar backends de IA para aplicações web
- Integrar Claude em microsserviços
- Prototipar chatbots com API padronizada
Veredito

Solução prática e bem estruturada para expor Claude via HTTP, ideal para equipes que precisam de uma camada de API antes de usar o modelo em produção. Docker e documentação Swagger reduzem fricção de deployment.
README
A tradução para o português deste README ainda está na fila.
Anthropic FastAPI Service
This is a FastAPI service that provides a RESTful API for the Anthropic Claude AI model using anthropic-sdk-python. For more information on the model, please refer to the Anthropic Claude AI model
Documentation
The API documentation can be found at http://localhost:8000/docs
Running the Project
Running the Project Locally
- Clone the repository
git clone https://github.com/furkankyildirim/anthropic-fastapi-service.git
cd anthropic-fastapi-service/
- Create a
.envfile in the root directory and add the following environment variables
ANTHROPIC_API_KEY=YOUR_API_KEY
- Create a system message file on src/data/system-messages.txt (Optional)
echo "You are a personal AI assistant" > src/data/system-messages.txt
- Create a virtual environment and install the dependencies
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
- Run the following commands to start the server
chmod +x runner.sh
./runner.sh
Running the Project with Docker
- Clone the repository
git clone https://github.com/furkankyildirim/anthropic-fastapi-service.git
cd anthropic-fastapi-service/
- Create a
.envfile in the root directory and add the following environment variables
ANTHROPIC_API_KEY=YOUR_API_KEY
- Create a system message file on src/data/system-messages.txt (Optional)
echo "You are a personal AI assistant" > src/data/system-messages.txt
- Build and run the docker container
docker-compose up --build