• TOTALS
  • RATIOS
  • SUMMARY
  • HUMAN

How to aggregate cohort metrics with your AI

Connect this MCP to your AI client to handle the math for population and case totals. Once linked, your agent does the heavy lifting across your datasets.

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 can I aggregate cohort metrics with my AI?

Your AI uses the aggregate_group_metrics tool to sum up population and case counts for specific cohorts. This gives you the exact totals needed to calculate attack rates across multiple groups. You get a clear breakdown of the data below.

The results you get

Data outcomes

The AI processes your raw group data into these specific outputs.

TOTALS

Aggregated group counts

The AI sums up every individual population and case count. You get a single set of totals for the entire cohort.

RATIOS

Calculated attack rates

Once the totals are ready, your agent calculates the infection attack rate for each group. This shows the relative impact across different demographics.

SUMMARY

Cohort comparison report

The AI organizes the results into a clean summary. You can see how one group compares to another without manual math.

HUMAN

Validation and review

The AI provides the numbers, but you decide if the cohort definitions are correct. You remain in control of the final epidemiological interpretation.

The workflow

What your AI does when the data arrives.

The AI handles the math and the grouping so you don't have to.

  1. Identify groups

    Your agent scans your provided data to find the specific cohorts you want to analyze.

    aggregate_group_metrics
  2. Sum the data

    The AI pulls the population and case totals for every identified group.

    aggregate_group_metrics
  3. Calculate rates

    The agent divides the case totals by the population counts to find the attack rate.

    aggregate_group_metrics
  4. Format output

    The AI presents the final rates and totals in a way that is easy to read.

    aggregate_group_metrics

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 Infection Attack Rate 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.

Use these prompts to kick off your analysis.

Starting points

Replace the bracketed text with your specific data source or group names.

Infection Attack Rate Calculator Connector

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

Connector linkhttps://edge.vinkius.com/vk_preview_2O6EKWRRIgY1DSpK4HFuA0ApOqhwx3IXVfruoprM/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, Infection Attack Rate Calculator capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "infection-attack-rate-calculator-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_2O6EKWRRIgY1DSpK4HFuA0ApOqhwx3IXVfruoprM/mcp"
    }
  }
}
Copy into chat04
  • 01

    Aggregate the population and case totals for the 'Age 18-30' and 'Age 31-50' cohorts in my spreadsheet.

  • 02

    Calculate the infection attack rate for each group listed in the 'Clinical_Trial_Data' file.

  • 03

    Summarize the total case counts across all regional groups in this dataset.

  • 04

    Compare the attack rates between the vaccinated and unvaccinated cohorts in my current project.

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

Start here

Connect Infection Attack Rate Calculator once, then ask.

Click the link to connect the MCP to your client. Your credentials stay encrypted and you can start asking questions immediately.

Connect Infection Attack Rate Calculator to your AI

FAQ

How this task behaves

  • 01

    Can the AI change my original data files?

    No. The AI only reads the data to perform calculations; it cannot modify or delete your source files.

  • 02

    Does the AI decide which groups to include?

    No. You must tell the AI which cohorts or groups to aggregate. It only follows your specific instructions.

  • 03

    Can it calculate rates for groups not in my data?

    No. The AI can only aggregate metrics for the data it can actually access through the tool.

  • 04

    Will it automatically run every time I add a row?

    No. You need to prompt your AI to run the aggregation whenever you want new results.

  • 05

    What happens if a group has zero cases?

    The AI will include that group in the summary and report an attack rate of 0%.

  • More questions about Infection Attack Rate Calculator? The Connector page answers them. See everything the Infection Attack Rate 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 Infection Attack Rate 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.

    Infection Attack Rate 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 Infection Attack Rate 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.