URL Content Extractor
A local MCP server providing the fetch_url_content tool. It fetches HTTP/HTTPS pages, removes common non-content HTML elements, and returns text with a source URL.
Requirements
Python 3.14 or later. This release uses the official MCP Python SDK 2.x.
Run
uvx url-content-extractor
The server uses stdio and waits for an MCP client; it is not an interactive terminal application.
MCP client configuration
{
"mcpServers": {
"url-content-extractor": {
"command": "uvx",
"args": ["url-content-extractor"]
}
}
}
Tool
fetch_url_content(url: str) accepts an HTTP or HTTPS URL. Requests follow redirects and use a 30-second timeout for network operations. Normal results are limited to 5000 characters including the source URL. Failures return a short Chinese error message.
This is basic HTML text extraction, not a browser: JavaScript is not executed, and navigation or advertising text may remain. The return limit does not limit download size. URLs are fetched from the machine running the server; use it with trusted callers and URLs.
0.1.4
Updated implementation based on MCP Python SDK 2.x; URL validation, content-type checks, text cleanup, concise errors, and a packaged stdio command entry point.
Metadata
Release files for url-content-extractor 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| url_content_extractor-0.1.4.tar.gz | 5.0 kB | Without provenance | Details for url_content_extractor-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| url_content_extractor-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for url_content_extractor-0.1.4-py3-none-any.whl |
Total release size: 10.7 kB
Release files / url_content_extractor-0.1.4.tar.gz
| Download URL | url_content_extractor-0.1.4.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e11f4f06ef7f329411cfeece8cb0cd322dfc9c240de42b713f6b1472cd5ae4ee
|
|
BLAKE2b-256 checksum How to use checksums |
46527b077b2a8473567e73ca4c977fb767f2c16213861f6b4524e09a9deef7d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / url_content_extractor-0.1.4-py3-none-any.whl
| Download URL | url_content_extractor-0.1.4-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
35c0ca2d6f3fecc09f230cbc7c2585ad79bc93cb7d910b1c0e1a1a8a0a18e07a
|
|
BLAKE2b-256 checksum How to use checksums |
b010b73d8675bf011db449c518bba1b339f40034f7853955644d58a3432a2273
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for url-content-extractor 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.