Loading languages...
KA

kaz56-t/mcp-latest-document

@kaz56-t

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

documentation
python
claude-desktop
context-protocol

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
  2. uv

Configuration

Configure for Claude Desktop

  1. clone this repository
  2. Download Claude Desktop.
  3. Launch Claude and go to Settings > Developer > Edit Config.
  4. Modify claude_desktop_config.json with:
{
    "mcpServers": {
        "latest_document": {
            "command": "uv",
            "args": [
                "--directory",
                "<YOUR_PATH_TO_MCP_LATEST_DOCUMENT>",
                "run",
                "src/mcp_latest_document/server.py"
            ],
            "env": {
                "TOOLS": "React, ChakraUI",
                "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 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.

# mcpServer Config

{
  "mcpServers": {
    "latest_document": {
      "command": "uv",
      "args": [
        "--directory",
        "<YOUR_PATH_TO_MCP_LATEST_DOCUMENT>",
        "run",
        "src/mcp_latest_document/server.py"
      ],
      "env": {
        "TOOLS": "React, ChakraUI",
        "URLS": "https://api.openai.com/v1"
      }
    }
  }
}

# stdio

uv --directory <YOUR_PATH_TO_MCP_LATEST_DOCUMENT> run src/mcp_latest_document/server.py
Transport:
stdio
Language:
Python
Created: 4/23/2025
Updated: 5/12/2025