Back to Home
robsyc icon

ld-spec-mcp

Verified Safe

by robsyc

Overview

Serves W3C Semantic Web specifications section-by-section and resource-by-resource to AI agents for efficient, targeted information retrieval.

Installation

Run Command
python src/main.py

Environment Variables

  • SPEC_VERSIONS
  • CACHE_TTL

Security Notes

The server fetches content from a predefined set of trusted W3C URIs listed in `index.yaml`. User input (`spec_key`, `ns_key`) is used to look up these trusted URIs, preventing arbitrary URL fetching (SSRF). While fetching external content inherently carries some risk, robust libraries like `httpx` (with timeout) and `BeautifulSoup`/`RDFLib` are used, along with explicit sanitization in `html_to_markdown` for known `html-to-markdown` library issues. No direct command injection, use of `eval`, or hardcoded secrets were identified. Input validation relies on `FastMCP` framework's `Annotated` types.

Similar Servers

Stats

Interest Score45
Security Score9
Cost ClassMedium
Avg Tokens1000
Stars16
Forks0
Last Update2026-01-15

Tags

Semantic WebLinked DataW3C SpecsAI Agent ToolsKnowledge Base