ConvertAPI MCP by usefulapi

v1.1.0
io.usefulapi/convertapi Checked 8 hours ago Published 7 days ago

Convert files between formats, read conversion options, quota and usage in ConvertAPI.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

convertapi_get_account Get account and quota

Show the ConvertAPI account status and conversion quota: Active, Status, ConversionsTotal, ConversionsConsumed, ConversionsLeft. Call this first to check quota before converting. Never returns the account secret. ConvertAPI: GET /user.

convertapi_get_usage_statistics Get usage statistics

Show conversions per day between two dates for this account, as JSON. Use it to report usage over a period. ConvertAPI: GET /user/statistic?startDate&endDate.

ParameterTypeDescription
end_date *stringLast day, yyyy-mm-dd.
start_date *stringFirst day, yyyy-mm-dd.

convertapi_get_converter Get converter details

Describe one conversion, for example pdf to docx: its title, the accepted source and destination formats, and the parameter names and types it takes. Read it before convert_file so the parameters are right. ConvertAPI: GET /info/openapi (catalog, filtered to one path).

ParameterTypeDescription
from_format *stringFile format without the dot, for example pdf, docx, xlsx, jpg.
to_format *stringFile format without the dot, for example pdf, docx, xlsx, jpg.

convertapi_convert_file Convert a file

Convert a file from one format to another. The file must be at a public https URL that ConvertAPI can read; local files cannot be sent. Each successful conversion costs ConversionCost conversions from the account quota. Returns download URLs that stay valid for a few hours. ConvertAPI: POST /convert/{from}/to/{to} (multipart, File=URL, StoreFile=true).

ParameterTypeDescription
file_url *stringPublic https URL of the file to convert.
from_format *stringFile format without the dot, for example pdf, docx, xlsx, jpg.
to_format *stringFile format without the dot, for example pdf, docx, xlsx, jpg.
parametersobjectConversion parameters by name, as strings, for example { PageSize: "A4" }. See convertapi_get_converter.