• STATISTICS
  • VALIDATION
  • PLANNING
  • HUMAN

How to calculate required sample size with your agent

Connect this MCP to your AI client once. After that, you can run power analyses and determine participant counts by asking.

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 find the right sample size for my study?

Tell your agent your expected effect size, significance level, and target power. It will run the math to tell you exactly how many participants you need to avoid a false negative. You'll get a specific number based on your statistical parameters.

The outcomes

What you get from this MCP

Your agent handles the heavy math so you can focus on the study design.

STATISTICS

Precise participant counts

Your agent uses calculate_sample_size to output the exact N required for your specific power and alpha levels.

VALIDATION

Power level checks

Your agent confirms if your current sample size is enough to detect the effect you're looking for.

PLANNING

Study design support

Your agent suggests adjustments to your parameters if your required sample size is too large to be practical.

HUMAN

Final research decisions

You decide whether to proceed with the calculated size or change your study's scope based on your agent's output.

The workflow

What your agent does when the request arrives.

Your agent acts as a statistical consultant, taking your research goals and turning them into hard numbers.

  1. Parameter gathering

    Your agent asks you for the effect size, alpha, and target power if you haven't provided them yet.

    calculate_sample_size
  2. Math execution

    Your agent runs the statistical formulas to find the minimum number of subjects needed.

    calculate_sample_size
  3. Result delivery

    Your agent presents the required sample size clearly, often providing context on how changes to power affect the count.

    calculate_sample_size
  4. Scenario testing

    You can ask your agent to re-run the calculation with different constraints to see how it changes your recruitment needs.

    calculate_sample_size

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 Sample Size & Power 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 calculation.

Starting points

Replace the bracketed text with your actual study details like effect size or alpha.

Sample Size & Power Calculator Connector

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

Connector linkhttps://edge.vinkius.com/vk_preview_0HKPiMcnmjZdWqfJW42AGeKf8TBeJXrz8EOZigVx/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, Sample Size & Power Calculator capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "sample-size-power-calculator-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_0HKPiMcnmjZdWqfJW42AGeKf8TBeJXrz8EOZigVx/mcp"
    }
  }
}
Copy into chat04
  • 01

    Calculate the required sample size for a study with an effect size of [0.5], alpha of [0.05], and power of [0.80].

  • 02

    I have [100] participants. Based on an effect size of [0.3], do I have enough power to detect a significant result?

  • 03

    What sample size do I need if I want to increase my power from [0.80] to [0.90] for this study?

  • 04

    Help me plan a study. I'm looking for a [medium] effect size. What's my required N if I want [0.85] power?

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

Start here

Connect Sample Size & Power Calculator once, then ask.

Connect the MCP to your preferred client in one click. Your credentials stay encrypted, and you can start running math immediately.

Connect Sample Size & Power Calculator to your agent

FAQ

How this task behaves

  • 01

    Can your agent perform a t-test on my raw data?

    No. This MCP is specifically for calculating sample size requirements before you collect data, not for analyzing existing datasets.

  • 02

    Does your agent decide if my study is ethical?

    No. Your agent only provides the statistical math. You are responsible for all ethical oversight and study approvals.

  • 03

    Can I use this for non-parametric tests?

    The tool is designed for standard power calculations. If you need specific non-parametric adjustments, you should verify the results manually.

  • 04

    Will your agent save my study parameters?

    No. Your agent only processes the numbers you provide in the current chat session.

  • 05

    Can your agent change my research design?

    No. Your agent can suggest how changing a parameter like alpha might change your N, but it cannot modify your actual study protocol.

  • More questions about Sample Size & Power Calculator? The Connector page answers them. See everything the Sample Size & Power 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 Sample Size & Power 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.

    Sample Size & Power 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 Sample Size & Power 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.