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": {
        "latest_document": {
            "command": "uv",
            "args": [
                "--directory",
                "E:/src/agent/mcp-latest-document",
                "run",
                "src/mcp_latest_document/server.py"
            ],
            "env": {
                "TOOLS": "React, ChakraUI",
                "URLS":"https://api.openai.com/v1"
            }
        }
    }
}
  1. Relaunch Claude Desktop.

For others

{
  "mcpServers": {
    "latest_document": {
      "command": "uvx",
      "args": [
        "mcp_latest_document"
      ],
      "env": {
        "TOOLS": "React, ChakraUI",
        "URLS":"https://api.openai.com/v1"
      }
    }
  }
}

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 test

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

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.2.tar.gz (55.2 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.2-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mcp_latest_document-0.1.2.tar.gz
  • Upload date:
  • Size: 55.2 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.2.tar.gz
Algorithm Hash digest
SHA256 a66b93e675928ce9b8672545d28484f2da71829f3aef0c1d16ae0059c0e63a4a
MD5 bfc891348ce163de6b9c072e10cfced8
BLAKE2b-256 61fdb40dc576b15a9fc7c0ca6f98d1447a82d6fcf61293a78ffcd3ee20c7702f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_latest_document-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3f9855b4f5f495f08e8283a63f1875180b9339f8952f5fb16ec7f5f7c485239e
MD5 50ae4826a58fe3589bbb8982f6cb4b47
BLAKE2b-256 ca90e5b33a6dd260c087dd0ece857a034497d391a64667dde158dd52fc2043b9

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