anthology-mcp

v0.1.4
anthology-mcp Checked 2 days ago Published 8 months ago

MCP server for Anthology — scrape documentation sites into AI-ready Markdown

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

list_scraped_docs

Returns a list of all documentation projects that have been scraped and saved in Anthology.

read_scraped_docs

Fetches the full markdown content of a scraped project based on its ID. The server will write the multi-file JSON output directly to a temporary text file on the host system and return the absolute file path to you. ALWAYS prioritize using `jq` to read and parse the returned file path.

ParameterTypeDescription
project_id *stringThe ID of the project to retrieve.

scrape_new_docs

Triggers a new Anthology web scraping job to fetch and convert documentation to markdown. The scraper crawls links within the same domain/path asynchronously and saves the output. Returns the new project ID which you can then read using read_scraped_docs.

ParameterTypeDescription
url *stringThe URL of the documentation site to scrape (e.g. https://docs.example.com)
max_depthintegerMaximum link depth to traverse from the root URL. Default is 3.
max_pagesintegerMaximum number of pages to scrape. Default is 50, maximum is generally 500.
use_playwrightbooleanIf true, uses a headless Chromium browser to render JS-heavy Single Page Apps. If false, uses fast HTTP. Use true ONLY if the site is known to require JS to render content.