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
- 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
- Download Claude Desktop.
- Launch Claude and go to Settings > Developer > Edit Config.
- Modify
claude_desktop_config.jsonwith:
{
"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"
}
}
}
}
- 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
- Required arguments:
-
find_link_by_keyword- Find URL links by keyword- Required arguments:
keyword(string): Keyword to search for in links and URLs
- Required arguments:
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
uv run mcp dev src/mcp_latest_document/server.py
How to deploy (To be automated)
uv run -m builduv 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a66b93e675928ce9b8672545d28484f2da71829f3aef0c1d16ae0059c0e63a4a
|
|
| MD5 |
bfc891348ce163de6b9c072e10cfced8
|
|
| BLAKE2b-256 |
61fdb40dc576b15a9fc7c0ca6f98d1447a82d6fcf61293a78ffcd3ee20c7702f
|
File details
Details for the file mcp_latest_document-0.1.2-py3-none-any.whl.
File metadata
- Download URL: mcp_latest_document-0.1.2-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3f9855b4f5f495f08e8283a63f1875180b9339f8952f5fb16ec7f5f7c485239e
|
|
| MD5 |
50ae4826a58fe3589bbb8982f6cb4b47
|
|
| BLAKE2b-256 |
ca90e5b33a6dd260c087dd0ece857a034497d391a64667dde158dd52fc2043b9
|