Back to Home
dangordon1 icon

aneya-backend

by dangordon1

Overview

A FastAPI backend for a healthcare platform (Aneya) providing AI-powered clinical decision support, medical form management, and consultation analysis (including transcription, diarization, speaker role identification, and summarization). It integrates with multiple external medical knowledge bases and offers user authentication and custom form generation.

Installation

Run Command
python api.py

Environment Variables

  • ANTHROPIC_API_KEY
  • SUPABASE_URL
  • SUPABASE_SERVICE_ROLE_KEY
  • RESEND_API_KEY
  • SCOPUS_API_KEY
  • NCBI_API_KEY
  • ELEVENLABS_API_KEY
  • SARVAM_API_KEY
  • GCS_BUCKET_NAME
  • GOOGLE_APPLICATION_CREDENTIALS
  • MCP_TRANSPORT
  • MCP_PORT

Security Notes

The serverless version (api/index.py) explicitly sets `allow_origins=["*"]` for CORS, which is a significant security risk for production environments if not updated. The OTP email generation (`routers/auth.py`) embeds user-provided `name` directly into HTML, which could lead to Cross-Site Scripting (XSS) if the `name` is not rigorously sanitized. Extensive use of web scraping in MCP servers could introduce vulnerabilities if fetched content is not sanitized before use. Hardcoded default values for `user_id` are found in `api.py` during `auto-fill-consultation-form` in certain branches which is concerning.

Similar Servers

Stats

Interest Score0
Security Score6
Cost ClassHigh
Avg Tokens5000
Stars0
Forks0
Last Update2026-01-19

Tags

healthcareFastAPIAILLMclinical decision supportmedical formsauthenticationdiarizationtranscriptionserverlessSupabaseAnthropicmicroservices (MCP)