Skip to main content

Get the latest documents

Project description

MCP Latest Document

A Model Context Protocol server that provides access to the latest documentation for various services.

Requirements

  1. Python 3.10 or higher

Installation

Step 1. Install uv

  • MacOS/Linux:
curl -LsSf https://astral.sh/uv/install.sh | sh
  • Windows:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

Step 2. Install the package

You can install the package directly using pip:

pip install mcp-latest-document

Or use uv:

uv pip install mcp-latest-document

Configuration

Configure for Claude Desktop

  1. Download Claude Desktop.
  2. Launch Claude and go to Settings > Developer > Edit Config.
  3. Modify claude_desktop_config.json with:
{
  "mcpServers": {
    "documentation": {
      "command": "uvx",
      "args": [
        "mcp_latest_document"
      ],
      "env": [
        "URLS": "https://api.openai.com/v1"
      ]
    }
  }
}
  1. Relaunch Claude Desktop.

Available Tools

  • get_html_content - Get the HTML content as markdown of a URL

    • Required arguments:
      • url (string): The URL to fetch content from
  • find_link_by_keyword - Find URL links by keyword

    • Required arguments:
      • keyword (string): Keyword to search for in links and URLs

Available Resources

  • links:// - Get all available document links

Debugging

You can use the MCP inspector to debug the server:

uv run mcp dev ./src/mcp_latest_document/server.py

For developer

How to deploy (To be automated)

  1. uv run -m build
  2. uv run -m twine upload dist/*

Contributing

We encourage contributions to help expand and improve mcp-latest-document. Whether you want to add new documentation sources, enhance existing functionality, or improve documentation, your input is valuable.

Pull requests are welcome! Feel free to contribute new ideas, bug fixes, or enhancements.

License

mcp-latest-document is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_latest_document-0.1.1.tar.gz (49.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_latest_document-0.1.1-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file mcp_latest_document-0.1.1.tar.gz.

File metadata

  • Download URL: mcp_latest_document-0.1.1.tar.gz
  • Upload date:
  • Size: 49.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.15

File hashes

Hashes for mcp_latest_document-0.1.1.tar.gz
Algorithm Hash digest
SHA256 946acc1abb6e6eb79dd9bc13cc773aa6fa567dd8947b410a25d2cf4e00acc668
MD5 1906fa9e1e8123f220ab786274fd00a5
BLAKE2b-256 c25e68a83f27652925a34b25c5dc77f3a24d6d96398d085f6ef5aef174821fbd

See more details on using hashes here.

File details

Details for the file mcp_latest_document-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_latest_document-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 45dcb392c0d2556103cbd9c4f956bf333e650a6da624c60194bbae60d698c7d4
MD5 0b070f35b0772d897c41688b60541fe0
BLAKE2b-256 318fdd1c886b18eb54f93f73c74f27cfd7f61508c816b7d5dbc38495b0ab900b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page