MCP Servers/File Size Calculator

File Size Calculator

analytics

active

Convert file sizes between units, calculate cloud storage costs, and estimate transfer times

file-sizeanalyticsstorageconvertercloud-coststransfer-timeawsazuregcpdropboxunit-conversion

API Access Requires Subscription

While you can view all details here, using this MCP server's API requires a Enterprise subscription. API calls with FREE plan keys will return an access error.

View Pricing Plans

Available Tools

analyze_file_size

tool

Comprehensive file size analysis including unit conversions, storage costs, and transfer time estimates

calculate_storage_costs

tool

Calculate monthly and yearly storage costs for major cloud providers (AWS S3, Azure Blob Storage, Google Cloud Storage, Dropbox Business)

convert_file_size

tool

Convert file sizes between different storage units (bytes, KB, MB, GB, TB, PB) with support for binary (1024) and decimal (1000) systems

estimate_transfer_time

tool

Estimate file transfer time based on connection speed, with optional compression analysis

Documentation

MCP Client Configuration

MCP Client Configuration

Add this configuration to your MCP client settings file:

{
  "mcpServers": {
    "file-size-calculator": {
      "command": "curl",
      "args": [
        "-X", "POST",
        "https://apistack.online/api/mcp/analytics/file-size-calculator/sse",
        "-H", "Content-Type: application/json",
        "-H", "Authorization: Bearer YOUR_API_KEY",
        "--data-raw", "@-"
      ],
      "transport": "sse"
    }
  }
}

Replace YOUR_API_KEY with your APIStack API key from the Dashboard.

Usage Examples

Usage Examples

Example 1: Convert File Size

Convert 1024 MB to GB and TB:

const result = await mcpClient.callTool('convert_file_size', {
  inputSize: 1024,
  inputUnit: 'MB',
  outputUnits: ['GB', 'TB'],
  unitSystem: 'binary'
});

Example 2: Calculate Storage Costs

Calculate AWS S3 storage costs for 500 GB:

const result = await mcpClient.callTool('calculate_storage_costs', {
  inputSize: 500,
  inputUnit: 'GB',
  storageProvider: 'aws_s3'
});

Example 3: Estimate Transfer Time

Estimate transfer time for 10 GB file at 100 Mbps:

const result = await mcpClient.callTool('estimate_transfer_time', {
  inputSize: 10,
  inputUnit: 'GB',
  connectionSpeed: '100',
  connectionUnit: 'Mbps',
  includeCompression: true
});

Example 4: Comprehensive Analysis

Get complete file size analysis:

const result = await mcpClient.callTool('analyze_file_size', {
  inputSize: 250,
  inputUnit: 'GB',
  storageProvider: 'aws_s3',
  connectionSpeed: '1',
  connectionUnit: 'Gbps'
});

Quick Info

Endpoint
/api/mcp/analytics/file-size-calculator/sse
Transport
Server-Sent Events (SSE)
Tools Available
4
Plan Required
PRO, ENTERPRISE

MCP Configuration

Add this configuration to your MCP client:

Note: Replace "YOUR_API_KEY" with a valid Enterprise API key. FREE plan keys will receive access errors.

{
  "mcpServers": {
    "file-size-calculator-analytics": {
      "command": "curl",
      "args": [
        "-X",
        "POST",
        "https://apistack.online/api/mcp/analytics/file-size-calculator/sse",
        "-H",
        "Content-Type: application/json",
        "-H",
        "Authorization: Bearer YOUR_API_KEY",
        "--data-raw",
        "@-"
      ],
      "transport": "sse"
    }
  }
}

Try It Out

Use the MCP configuration above in your AI client, or test the underlying APIs in our playground.

API playground requires a Enterprise subscription for access.

Open in Playground