OrganizedProgrammers/DocIndexer-v2
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
MCP indexing server
In addition to the existing web dashboard and REST endpoints, this Space exposes an MCP (Model Context Protocol) server, docindexer-indexing, over Streamable HTTP at:
https://<your-space>.hf.space/index/mcpIt wraps the same TDoc/3GPP/ETSI indexing jobs used by the web dashboard (sharing the same locks, so a job started from the dashboard and one started via MCP can't run concurrently on the same resource) as MCP tools:
list_meetings(working_group)— list meeting folders for a working group (e.g.S1,C3,RP)index_tdocs_workgroup(working_group)— re-index TDocs for every meeting of a working groupindex_tdocs_meeting(working_group, meetings)— re-index TDocs for specific meetingsindex_all_tdocs()— re-index TDocs across all of SA/CT/RANindex_3gpp_specs()— re-index all 3GPP specifications and rebuild their BM25 indexesindex_etsi_specs()— re-index all ETSI specifications and rebuild their BM25 indexes
These are slow, mutating operations (minutes to hours) that push to the shared OrganizedProgrammers/* Hugging Face datasets, so they should be used deliberately rather than called freely.
Connecting from Claude Code
claude mcp add --transport http docindexer-indexing https://<your-space>.hf.space/index/mcpMCP_ALLOWED_HOSTS (only needed if you rename/fork the Space)
FastMCP enables DNS-rebinding protection and validates the incoming Host header. The Space's current hostname (organizedprogrammers-docindexer-v2.hf.space) is allow-listed by default in mcp_indexing.py. If you rename the Space or deploy a copy under a different name, requests will get 421 Misdirected Request until you either update that default or set a Space variable MCP_ALLOWED_HOSTS to a comma-separated list of the extra hostnames to allow, e.g. my-other-space.hf.space.
