4PDA MCP
MCP server exposing the 4PDA forum lofi (text) version without a
browser. Uses impit to pass Cloudflare's TLS
challenge.
Why lofi?
The lofi/text version is ~50x smaller than the full page and has stable, simple
markup — ideal for LLM consumption. The full version (?act=idx, ?showforum=,
?showtopic=) is JS-heavy and Cloudflare-gated.
URL conventions (discovered)
4PDA changed the lofi entry. lofiversion/index.php?index.html now 404s. The
live format is:
lofiversion/index.php?f{forum_id}.html— a forum page (subforums + topics list)lofiversion/index.php?t{topic_id}.html— topic page 1lofiversion/index.php?t{topic_id}-{offset}.html— topic page N, step 20index.php?act=idx— full index, used only to enumerate top categories
The pinned header post repeats on every topic page; this server drops it on page ≥ 2.
Tools
list_forums(forum_id?)— top categories whenforum_idomitted, else the subforums (and topics summary) of a forum as a flat list. Returns a tree the client can nest.list_topics(forum_id)— topics in a forum: id, title, replies, is_important.list_posts(topic_id, page=1)— posts on a page: author, date, html (with internal links rewritten to lofi where possible). Header post dropped on page ≥ 2.
Run
pip install -e .
4pda-mcp # stdio MCP server
# or: mcp run src/fourpda_mcp/server.py
No browser, no auth needed (read-only public content). impit impersonates Chrome to clear Cloudflare.
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 4pda_mcp-0.1.0.tar.gz.
File metadata
- Download URL: 4pda_mcp-0.1.0.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
80f5b88b93e85acfbf187c41feebbdb8e95ce904df64e01d54bebebc68abf6ce
|
|
| MD5 |
5ab33cbc5e47dda7258c912789caa833
|
|
| BLAKE2b-256 |
44f163fab909ec61ed0181fee33089be3328e7dd2bde9569772d5207b107b0ed
|
Provenance
The following attestation bundles were made for 4pda_mcp-0.1.0.tar.gz:
Publisher:
publish.yml on mishannn/4pda-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
4pda_mcp-0.1.0.tar.gz -
Subject digest:
80f5b88b93e85acfbf187c41feebbdb8e95ce904df64e01d54bebebc68abf6ce - Sigstore transparency entry: 2582023653
- Sigstore integration time:
-
Permalink:
mishannn/4pda-mcp@2c780378a1e6d38ff078ceb3bfd6950fe6db3f1d -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/mishannn
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@2c780378a1e6d38ff078ceb3bfd6950fe6db3f1d -
Trigger Event:
push
-
Statement type:
File details
Details for the file 4pda_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: 4pda_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ace802299e4478f83d1e90ab9ffa96ebbdee941a416c2442b186f576c3c6ada7
|
|
| MD5 |
41c4a0da76453a352340a0cb630ea5ad
|
|
| BLAKE2b-256 |
93d77193c5632bb55ae0c9084f4602127fcb417fb2aef0fab26d241f67946c24
|
Provenance
The following attestation bundles were made for 4pda_mcp-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on mishannn/4pda-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
4pda_mcp-0.1.0-py3-none-any.whl -
Subject digest:
ace802299e4478f83d1e90ab9ffa96ebbdee941a416c2442b186f576c3c6ada7 - Sigstore transparency entry: 2582023672
- Sigstore integration time:
-
Permalink:
mishannn/4pda-mcp@2c780378a1e6d38ff078ceb3bfd6950fe6db3f1d -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/mishannn
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@2c780378a1e6d38ff078ceb3bfd6950fe6db3f1d -
Trigger Event:
push
-
Statement type: