paradiselabs_ai_whatsupdoc

paradiselabs_ai_whatsupdoc

by paradiselabs-ai

License

Skip to content

You signed in with another tab or window. Reload
to refresh your session. You signed out in another tab or window. Reload
to refresh your session. You switched accounts on another tab or window. Reload
to refresh your session. Dismiss alert

paradiselabs-ai / WhatsUpDoc Public

Scrape any developer documentation and save it locally as a markdown file using anthropic's MCP to standardize communication between the cli and the documentation server

License

MIT license

2 stars
0 forks
Branches
Tags
Activity

Star

Notifications
You must be signed in to change notification settings

paradiselabs-ai/WhatsUpDoc

main

1 Branch
3 Tags


Go to file

Code

Folders and files

| Name | | Name | Last commit message | Last commit date |
| --- | --- | --- | --- |
| Latest commit
-------------

dead-developers
dead-developers

update

Mar 14, 2025

84b7642
 · Mar 14, 2025

History
-------

10 Commits

| | |
| .github | | .github | update package.json | Mar 14, 2025 |
| Examples/'Framework Docs' | | Examples/'Framework Docs' | pushed to NPM | Mar 13, 2025 |
| src | | src | Initial commit of WhatsUpDoc (docmd) CLI tool | Mar 13, 2025 |
| .gitignore | | .gitignore | Configure GitHub Packages workflow | Mar 14, 2025 |
| LICENSE | | LICENSE | Initial commit of WhatsUpDoc (docmd) CLI tool | Mar 13, 2025 |
| README.md | | README.md | pushed to NPM | Mar 13, 2025 |
| package-lock.json | | package-lock.json | Bump axios from 1.7.9 to 1.8.2 | Mar 13, 2025 |
| package.json | | package.json | update | Mar 14, 2025 |
| package.json.npm | | package.json.npm | update package.json | Mar 14, 2025 |
| tsconfig.json | | tsconfig.json | Initial commit of WhatsUpDoc (docmd) CLI tool | Mar 13, 2025 |
| View all files | | |

Repository files navigation

WhatsUpDoc (downmarked)

A command-line tool for fetching and storing developer documentation locally using the Model Context Protocol (MCP).

npm version
License: MIT

Features

  • Fetch documentation from any website and convert it to Markdown
  • Save documentation to any location on your system
  • Target specific content using CSS selectors
  • Recursively fetch linked documentation pages
  • Split documentation by headers into separate files
  • Uses the Model Context Protocol (MCP) for standardized communication

Installation

# Install globally
npm install -g downmarked

# Or use with npx
npx downmarked fetch https://reactjs.org/docs/getting-started.html

Usage

Basic Usage

downmarked fetch <url>

This will prompt you for an output location and save the documentation as Markdown.

Options

# Fetch documentation with specific options
downmarked fetch https://reactjs.org/docs/getting-started.html \
  -o ~/Documents/react-docs.md \
  -s "main" \
  -r \
  -d 2 \
  --split

Available Options

Option Description
-o, --output <path> Output path (absolute or relative)
-s, --selector <selector> CSS selector to target specific content
-r, --recursive Recursively fetch linked documentation pages
-d, --max-depth <number> Maximum depth for recursive fetching (default: 3)
--split Split documentation by headers into separate files

Examples

Fetch React Documentation

# Save React documentation to a specific location
downmarked fetch https://reactjs.org/docs/getting-started.html -o ~/Documents/react-docs.md

# Target only the main content area
downmarked fetch https://reactjs.org/docs/getting-started.html -s "main"

# Recursively fetch linked pages up to 2 levels deep
downmarked fetch https://reactjs.org/docs/getting-started.html -r -d 2

Fetch Python Documentation

# Save Python documentation
downmarked fetch https://docs.python.org/3/tutorial/index.html -o python-tutorial.md

How It Works

WhatsUpDoc (downmarked) uses the Model Context Protocol (MCP) to standardize communication between the CLI and the documentation server. The tool:

  1. Fetches HTML content from the specified URL
  2. Parses the HTML using Cheerio
  3. Converts the HTML to Markdown using Turndown
  4. Saves the Markdown to the specified location

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

About

Scrape any developer documentation and save it locally as a markdown file using anthropic's MCP to standardize communication between the cli and the documentation server

Resources

Readme

License

MIT license

Activity

Custom properties

Stars

2 stars

Watchers

0 watching

Forks

0 forks

Report repository

Releases 2


Release v0.1.2 Latest\
\
Mar 14, 2025

+ 1 release

Packages 1


Contributors 2


Languages

You can’t perform that action at this time.

Features & Capabilities

Categories
mcp_server model_context_protocol

Implementation Details

Stats

0 Views
2 GitHub Stars

Repository Info

paradiselabs-ai Organization

Similar MCP Servers

continuedev_continue by continuedev
25049
21423
9300