Skip to main content
ClaudeWave

MCP server for Fonto XML documentation — search and fetch API docs directly in Cursor, Claude, and Claude Code

MCP ServersOfficial Registry2 stars0 forksJavaScriptUpdated today
Install in Claude Code / Claude Desktop
Method: Manual
Claude Code CLI
git clone https://github.com/DrRataplan/fonto-docs-mcp
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "fonto-docs-mcp": {
      "command": "node",
      "args": ["/path/to/fonto-docs-mcp/dist/index.js"]
    }
  }
}
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
💡 Clone https://github.com/DrRataplan/fonto-docs-mcp and follow its README for install instructions.
Use cases

MCP Servers overview

# fonto-docs-mcp

[![Deploy to Cloud Run](https://github.com/DrRataplan/fonto-docs-mcp/actions/workflows/deploy.yml/badge.svg)](https://github.com/DrRataplan/fonto-docs-mcp/actions/workflows/deploy.yml)
[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)

An MCP server that makes the [Fonto XML documentation](https://documentation.fontoxml.com/) accessible to AI tools like Claude Code, Cursor, and Claude Desktop. **Live at [fonto-docs.elliat.nl](https://fonto-docs.elliat.nl/).**

The Fonto docs are rendered by a JavaScript SPA, which makes them impossible for AI to read directly. This server fetches the underlying XML and converts it to clean, readable Markdown on demand.

## What is MCP?

MCP (Model Context Protocol) is a standard way to give AI assistants access to external tools. Once you connect this server to your AI tool, it gains access to these tools and resources:

| Tool | What it does |
|---|---|
| `search_fonto_docs` | Search by keyword — returns matching pages with titles, descriptions, and slugs |
| `get_fonto_page` | Fetch the full content of a page by its slug |
| `list_pages` | List all pages matching a keyword, with full section hierarchy — useful for discovery |

| Resource | What it contains |
|---|---|
| `fonto://catalog` | All ~2000 pages with real titles, product grouping, and ancestry paths |

You can then ask things like *"How does addDocumentChangeCallback work?"* and the AI will look it up in the live Fonto docs.

## Connect to your AI tool

The server is already running at `https://fonto-docs.elliat.nl/mcp` — you just need to point your tool at it.

### Claude Code (CLI)

```bash
claude mcp add --transport http fonto-docs https://fonto-docs.elliat.nl/mcp
```

### Cursor

Add to `.cursor/mcp.json` in your project (or `~/.cursor/mcp.json` globally):

```json
{
  "mcpServers": {
    "fonto-docs": {
      "type": "http",
      "url": "https://fonto-docs.elliat.nl/mcp"
    }
  }
}
```

### Claude Desktop

Add to `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) or `%APPDATA%\Claude\claude_desktop_config.json` (Windows):

```json
{
  "mcpServers": {
    "fonto-docs": {
      "type": "http",
      "url": "https://fonto-docs.elliat.nl/mcp"
    }
  }
}
```

## Usage examples

Once connected, ask your AI assistant:

- *"Search the Fonto docs for documentsManager"*
- *"Get the Fonto docs page for clearundostackfordocument-f0187fade723"*
- *"How does addDocumentChangeCallback work according to the Fonto docs?"*
- *"List all pages in the configure section"*
- *"What upgrade guides are available?"*

## HTTP API

The server also exposes a plain HTTP API if you want to use it without MCP:

- `GET /search?q={query}` — search pages by keyword
- `GET /page/{slug}` — fetch a page as Markdown
- `GET /catalog` — full page catalog grouped by section; add `?section={keyword}` to filter

## How it works

The Fonto documentation site stores its content as XML at predictable URLs under `/static/xml/`. This server fetches those XML files directly and converts them to Markdown, bypassing the JavaScript rendering. Page content is never cached — every `get_fonto_page` call goes to `documentation.fontoxml.com` live. The page catalog (used by `list_pages` and `fonto://catalog`) is fetched once from the Fonto search index on first use and held in memory for the lifetime of the process.

## Self-hosting

```bash
npm install
npm start        # runs on port 8080 by default
PORT=3000 npm start
```

## Contributing

PRs welcome. The XML-to-Markdown conversion in `src/fonto.js` handles two formats:

- **DITA guide pages** — `<topic>`, `<body>`, `<section>` structure
- **API reference pages** — custom `<type>`, `<members>`, `<description>` structure

If you find pages that don't convert well, open an issue with the slug.

## License

MIT
claudecursordocumentationfontomcpmodel-context-protocolxml

What people ask about fonto-docs-mcp

What is DrRataplan/fonto-docs-mcp?

+

DrRataplan/fonto-docs-mcp is mcp servers for the Claude AI ecosystem. MCP server for Fonto XML documentation — search and fetch API docs directly in Cursor, Claude, and Claude Code It has 2 GitHub stars and was last updated today.

How do I install fonto-docs-mcp?

+

You can install fonto-docs-mcp by cloning the repository (https://github.com/DrRataplan/fonto-docs-mcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.

Is DrRataplan/fonto-docs-mcp safe to use?

+

DrRataplan/fonto-docs-mcp has not been audited yet by our security agent. Review the original repository on GitHub before using it in production.

Who maintains DrRataplan/fonto-docs-mcp?

+

DrRataplan/fonto-docs-mcp is maintained by DrRataplan. The last recorded GitHub activity is from today, with 1 open issues.

Are there alternatives to fonto-docs-mcp?

+

Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.

Deploy fonto-docs-mcp to your cloud

Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.

Maintain this repo? Add a badge to your README

Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.

Featured on ClaudeWave: DrRataplan/fonto-docs-mcp
[![Featured on ClaudeWave](https://claudewave.com/api/badge/drrataplan-fonto-docs-mcp)](https://claudewave.com/repo/drrataplan-fonto-docs-mcp)
<a href="https://claudewave.com/repo/drrataplan-fonto-docs-mcp"><img src="https://claudewave.com/api/badge/drrataplan-fonto-docs-mcp" alt="Featured on ClaudeWave: DrRataplan/fonto-docs-mcp" width="320" height="64" /></a>

More MCP Servers

fonto-docs-mcp alternatives