• TOTAL SCORE
  • SEVERITY
  • DATA VALIDATION
  • HUMAN REVIEW

How to calculate PHQ-9 severity scores with your AI

Connect this MCP to your AI client to automate the math behind depression screenings. Once connected, your agent handles the scoring and categorization for you.

Ask AI about this page

Our technology reaches across leading technology and enterprise teams.

  • Amazon
  • NVIDIA
  • Red Hat
  • Fidelity Investments
  • Intuit
  • OLX Brasil
  • Writesonic
  • Artium
  • Trolley
Bunny World Voxel Workspace

Short answer

How do I calculate PHQ-9 severity scores with my AI?

Your AI uses the PHQ-9 Score Calculator to sum individual response values and compare them against clinical thresholds. You get a total score and a specific severity category for every patient set you provide.

The scoring outcomes.

Where every score lands.

The AI categorizes every patient based on their specific response patterns.

TOTAL SCORE

Numerical sum

The AI calculates the exact total from the nine response items. You get a single integer representing the patient's score.

SEVERITY

Clinical category

The agent maps the total score to standard clinical ranges. This tells you if a score falls into minimal, mild, moderate, or severe categories.

DATA VALIDATION

Response check

The AI ensures the input data matches the expected PHQ-9 format. It flags incomplete sets before attempting to calculate a score.

HUMAN REVIEW

Clinical oversight

The AI provides the math and the category, but you must make the final clinical determination. It does not provide medical diagnoses.

The workflow

What your AI does when the data arrives.

The AI handles the heavy lifting of arithmetic and threshold mapping.

  1. Sum the responses

    The agent reads the raw patient answers and calculates the aggregate total.

    calculate_phq9_score
  2. Identify severity

    The AI pulls the standard clinical cutoffs to see where the score lands.

    get_severity_thresholds
  3. Categorize the patient

    The agent combines the total and the thresholds to label the severity level.

    calculate_phq9_scoreget_severity_thresholds
  4. Format the report

    The AI prepares a clean summary of the score and category for your review.

    calculate_phq9_score

Vinkius Agentic Execution Platform

State the outcome. Agents take it from there.

You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.

Run it in Vinkius

Agents carry the task to the end

Agents execute PHQ-9 Score Calculator tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.

Take it to any compatible AI

One connection, any client

Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.

Spaces

One Space per activity

A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.

Limits

Autonomy inside limits you set

Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.

Record

All steps, on the record

Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.

Models

Included in your plan

A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.

Try it

Copy these to start.

Paste these prompts into your chat to begin scoring.

Starting points

Replace the bracketed text with your actual data source, like a specific spreadsheet or a list of patient responses.

PHQ-9 Score Calculator Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_8i5qGhPNOuAkkdAEnv70yjeMHE2lnq3yozlG1wdd/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat, PHQ-9 Score Calculator capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "phq-9-score-calculator-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_8i5qGhPNOuAkkdAEnv70yjeMHE2lnq3yozlG1wdd/mcp"
    }
  }
}
Copy into chat04
  • 01

    Calculate the PHQ-9 scores for the patient responses in this Google Sheet.

  • 02

    Analyze the raw data from this CSV file and tell me the severity category for each person.

  • 03

    Using the patient list in my current project, run the PHQ-9 scoring workflow.

  • 04

    Check the scores in this text block and categorize them by severity.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect PHQ-9 Score Calculator once, then ask.

Click the link to connect the MCP to your client. Your credentials stay encrypted, and you can start using the tools immediately.

Connect PHQ-9 Score Calculator to your AI

FAQ

How this task behaves

  • 01

    Can the AI diagnose my patients?

    No. The AI only calculates scores and assigns categories based on mathematical thresholds. Clinical diagnosis remains your responsibility.

  • 02

    Does the AI change the original patient data?

    No. The AI only reads the data to perform calculations. It cannot edit or delete your original files or records.

  • 03

    What happens if a patient response is missing?

    The AI will identify that the data set is incomplete and will not produce a score until the input is valid.

  • 04

    Can I use this with any AI client?

    Yes, as long as the client is MCP-compatible, such as Claude, Cursor, or Windsurf.

  • 05

    Does the AI use the same thresholds every time?

    Yes, it uses the standard clinical thresholds provided by the get_severity_thresholds tool.

  • More questions about PHQ-9 Score Calculator? The Connector page answers them. See everything the PHQ-9 Score Calculator Connector can do

Building with AI? Ship this whole workflow in your product.

Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from PHQ-9 Score Calculator to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.

Explore Vinkius Connect

TypeScript · Python · Java · Go · C# · PHP · Rust

  • 01

    Your customers bring their own keys.

    Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.

  • 02

    Whole catalog, kept current.

    PHQ-9 Score Calculator plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.

  • 03

    Any agent, any model.

    Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.

Connect PHQ-9 Score Calculator to Claude, Cursor, ChatGPT & more

From idea to done

See what gets done when the agents take over the busywork

Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.