Skip to main content
Glama

neutrinos-mcp

Local AI-first knowledge pipeline over documentation.neutrinos.com (ClickHelp portal).

Layout

  • scraper/scrape.py — ingestion: sitemap-diff scraper → CSV. Stdlib only.

  • data-source/documentation-source.csv — the source of truth. One row per topic: publication, slug, url, lastmod, title, content_markdown, outgoing_links, fetched_at

  • data-source/cache/ — per-topic markdown cache (lets the CSV be rebuilt offline).

  • data-source/state.json — lastmod per topic (change detection).

  • docker/ — container: loops daily at 14:00 IST, catches up on startup if a run was missed. restart: unless-stopped + healthcheck (last_run.json < 48h old).

  • logs/scrape.log — JSON-lines run log (10 MB × 3 rotation).

  • logs/last_run.json — last run status; partial/failed includes per-topic failures.

  • ai-data/ — (next phase) derived SQLite + sqlite-vec + knowledge graph, embedded locally via an Ollama sidecar (nomic-embed-text).

Related MCP server: mcp-docs

How scraping works

The ClickHelp reader at /articles/#!pub/slug is a login-walled SPA, but /article/{pub}/{slug} serves complete server-rendered HTML with no auth (verified 2026-09-07). The sitemap index (/sitemaps/sitemap.xml) enumerates all publications → per-publication sitemaps → every topic with lastmod. Each run:

  1. read sitemaps, diff lastmod against state.json

  2. fetch only changed topics (HTML → markdown-ish via stdlib HTMLParser)

  3. rewrite documentation-source.csv atomically (cache + state)

  4. append a JSON run record to logs/scrape.log, update logs/last_run.json

Full corpus: 3,141 topics / 53 publications, ~9.2 MB of markdown text. First fetch took ~2 min at concurrency 8; a no-change run takes ~3 s.

Commands

python3 scraper/scrape.py             # one run (diff + fetch changes)
python3 scraper/scrape.py --full      # re-fetch everything
python3 scraper/scrape.py --loop      # the container's daily loop
python3 scraper/scrape.py --selftest  # assert-based extraction checks
docker compose up -d                  # start the scheduled scraper

Available Tools

6 tools
compare_versionsA

Show how one documentation topic differs between product versions, section by section. Use this for any 'this worked in version N but not N+1' question, or before answering when search_docs set version_ambiguous. Note that some products were renamed between versions (App Builder became Studio, for example) - this tool follows renames, so it spans them where a name-based search would not.

Inputs: slug (required), product, versions, include_text. Returns: slug, product, verdict, versions, +1 more

fetch_documentA

Retrieve the full text of a documentation page, or one section of it, by the ref returned from search_docs. Use this when a search passage is clearly relevant but cut off mid-explanation or mid-code-block. Prefer passing section - whole pages can be long, and the response is hard-capped at max_tokens.

Inputs: ref (required), section, max_tokens, include_code_samples. Returns: ref, url, title, content, +11 more

list_productsA

List every Neutrinos product in the documentation with its versions, which version is current, how many topics it has, and when it was last updated. Call this before search_docs when you are unsure what to pass for product or version - guessing filter values is the most common cause of an empty search. Cheap and cacheable; the answer only changes when the index is rebuilt.

Inputs: name_contains, include_archived. Returns: products, total_topics, index_built_at

search_docsA

Search the Neutrinos product documentation (53 publications, 3,117 topics) and return ranked, citable passages. This is the entry point for any question about Neutrinos products. IMPORTANT: the same topic is often documented separately for several product versions. If the user's version is known, pass product and version; otherwise only current versions are searched. Check sufficient_evidence before answering - when it is false, say the documentation does not cover the question rather than inferring an answer. Call list_products first if unsure what to pass for product.

Inputs: query (required), top_k, product, version, +2 more. Returns: notice, results, truncated, confidence, +4 more

traverse_knowledge_graphA

Explores thematic relationships between entities, returning nodes and edges up to max_depth hops. Use this to understand structural or dependency links between concepts rather than text search.

Inputs: entity_name (required), max_depth. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.4/5.0

    Scored across 6 tools

    Disambiguation4/5

    Each tool targets a distinct stage of documentation interaction: discover products, search, fetch content, navigate page relationships, compare versions, and explore the knowledge graph. The only mild overlap is between list_related and traverse_knowledge_graph, but the descriptions clarify page-level navigation versus entity-level thematic exploration.

    Naming Consistency4/5

    Tool names follow a consistent imperative snake_case pattern, mostly verb_noun (search_docs, fetch_document, list_products, compare_versions, traverse_knowledge_graph). Minor deviations include list_related lacking an explicit object and search_docs/fetch_document mixing plural and singular noun forms.

    Tool Count5/5

    Six tools is well-scoped for a documentation knowledge server; each tool covers a distinct need without redundancy. The set is neither sparse nor bloated, and every tool earns its place in the workflow.

    Completeness5/5

    The surface covers the full read-oriented documentation workflow: product discovery, search, content retrieval, navigation, cross-version comparison, and conceptual graph exploration. For a read-only documentation MCP, there are no obvious dead ends or missing operations.

    Maintenance

    ActivityNo data
    ResponsivenessSyncing

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents to search Nokia product documentation with hybrid BM25+vector search and return section-precise deep-link citations.
      -
    • A
      license
      A
      quality
      C
      maintenance
      Enables LLM hosts to perform grounded, cited retrieval and answer generation over your own documents using hybrid BM25 and dense search, with explicit refusal when answers are not supported by the sources.
      5
      6 npm
      MIT