If you're building AI agent pipelines, you eventually hit the same pattern: you need a small, boring utility that's annoying to self-host. Convert a DOCX to PDF. Hash a string. Read a file from GitHub. None of these are core to your product — but every agent workflow needs them eventually.
IteraTools now covers all of these with 48 pay-per-use API endpoints. This post covers the three most recently added utility tools.
1. Document Format Conversion — POST /document/convert
Convert documents between formats with a single API call:
- DOCX/PPTX → PDF (LibreOffice)
- Markdown → HTML or PDF (Pandoc)
- HTML → PDF
- PDF → DOCX
Price: $0.003/conversion
Example — Convert Markdown to HTML:
curl -X POST https://api.iteratools.com/document/convert \
-H "Authorization: Bearer YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"content": "# Hello\n\nThis is **bold** text.",
"from_format": "md",
"to_format": "html"
}'
Response:
{
"success": true,
"url": "https://cdn.iteratools.com/docs/abc123.html",
"format": "html",
"size_bytes": 312
}
Use cases for AI agents:
- Agent generates a markdown report → convert to PDF for delivery
- User uploads a DOCX → extract content for analysis
- Generate PDF invoices from HTML templates
Pass either a url (public URL to the document) or content (inline text or base64 for binary formats). The from_format and to_format fields are required.
2. Cryptographic Hash Generation — POST /hash
Generate hashes of any text using standard algorithms: MD5, SHA-1, SHA-256, SHA-384, SHA-512.
Price: $0.001/call
This runs entirely on Node.js native crypto — no external API, instant response, zero external cost.
Example:
curl -X POST https://api.iteratools.com/hash \
-H "Authorization: Bearer YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"text": "hello world", "algorithm": "sha256"}'
Response:
{
"hash": "b94d27b9934d3e08a52e52d7da7dabfac484efe3...",
"algorithm": "sha256",
"input_length": 11,
"hex": "b94d27b9934d3e08a52e52d7da7dabfac484efe3...",
"base64": "uU0nuZNNPgilLlLX2n2r+sSE7+N6U4DukIj3rOLvzek="
}
Both hex and base64 encodings are returned in every response. The algorithm defaults to sha256 if not provided.
Use cases for AI agents:
- Generate unique IDs for documents (content-addressable storage)
- Deduplicate content before storing in a vector database
- Verify file integrity — hash the content, compare later
- Generate deterministic cache keys for LLM responses
- Create short fingerprints for long prompts
3. GitHub Integration — 4 Endpoints
For AI agents that work with code, four GitHub endpoints are available:
GET /github/repo — Repository details ($0.001)
Stars, forks, language, topics, last commit, description. Pass owner and repo as query params. Optional token for higher rate limits.
GET /github/search — Search repositories ($0.001)
Full GitHub Search syntax support. q=language:python stars:>1000, sort by stars/forks/updated, up to 30 results.
POST /github/issue — Create an issue ($0.002)
Programmatically create issues with title, body, and labels. Requires a GitHub PAT with repo scope.
POST /github/file/read — Read file content ($0.001)
Read any file from any public (or private with token) GitHub repository. Pass owner, repo, path, and optionally ref for a specific branch/commit.
Example — read a file:
curl -X POST https://api.iteratools.com/github/file/read \
-H "Authorization: Bearer YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"owner": "vercel",
"repo": "next.js",
"path": "package.json"
}'
Using via MCP
All 48 tools are available as an MCP server:
{
"mcpServers": {
"iteratools": {
"command": "npx",
"args": ["-y", "mcp-iteratools"],
"env": {
"ITERATOOLS_API_KEY": "YOUR_KEY"
}
}
}
}
Add this to Claude Desktop, Cursor, or any MCP-compatible host and all tools appear automatically — including the new document converter, hash generator, and GitHub endpoints.
Pricing at a glance
| Endpoint | Price |
|---|---|
POST /hash |
$0.001 |
GET /github/repo |
$0.001 |
GET /github/search |
$0.001 |
POST /github/file/read |
$0.001 |
POST /github/issue |
$0.002 |
POST /document/convert |
$0.003 |
No subscriptions, no monthly minimums. Pay only for what you use, via x402 micropayments on Base (USDC) or a standard API key.
Get started: iteratools.com — free API key, full docs, MCP integration guide.
Top comments (0)