# Developer docs

> A free JSON API and MCP server for every calculator and converter on the site. No key, no signup: the same code as the tool pages.

Every calculator and converter on Tools Directory is also a free JSON API and an MCP tool. It runs the same code as the tool page, so the API and the page always give the same answer. There is no key and no signup.

```bash
curl -X POST https://api.tools-directory.workers.dev/v1/tools/ascii-art-generator \
  -H 'Content-Type: application/json' \
  -d '{"inputs":{"mode":"text","text":"HI","fill":"#"}}'
```

```javascript
const res = await fetch('https://api.tools-directory.workers.dev/v1/tools/ascii-art-generator', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({"inputs":{"mode":"text","text":"HI","fill":"#"}}),
});
const out = await res.json();
if (!out.ok) throw new Error(out.error.message);
console.log(out.result.stats.primary.display);
```

```python
import requests

r = requests.post(
    'https://api.tools-directory.workers.dev/v1/tools/ascii-art-generator',
    json={"inputs":{"mode":"text","text":"HI","fill":"#"}},
    timeout=10,
)
out = r.json()
print(out['result']['stats']['primary']['display'] if out['ok'] else out['error'])
```

## Start here

- [Getting started](https://directory.milunir.com/docs/getting-started/): list the tools, read a tool’s inputs, run it.
- [Limits and errors](https://directory.milunir.com/docs/limits-and-errors/): 60 requests a minute, the error codes.
- [Connect an AI agent (MCP)](https://directory.milunir.com/docs/mcp-setup/): Claude, Cursor, VS Code, ChatGPT.
- [Data feeds](https://directory.milunir.com/docs/data-feeds/): live exchange rates and metal prices, and the attribution rule.
- [API reference](https://directory.milunir.com/docs/api-reference/): every tool with its inputs and outputs.
- [Changelog](https://directory.milunir.com/docs/changelog/).

## For programs

- OpenAPI 3.1: https://directory.milunir.com/openapi.json
- Tool list: https://directory.milunir.com/api/v1/tools.json
- MCP server: `https://api.tools-directory.workers.dev/mcp`
- Any docs page or tool page as Markdown: add `index.md` to a tool URL, or `.md` to a docs URL (https://directory.milunir.com/docs/index.md).
- Site map for language models: https://directory.milunir.com/llms.txt
