GCC Docs MCP Server
An MCP server that indexes Singapore Government GCC documentation and exposes search tools for AI assistants.
README
GCC Docs MCP Server
An MCP (Model Context Protocol) server that indexes Singapore Government GCC documentation and exposes search tools for AI assistants. Works with Kiro, Claude Desktop, Cline, and any MCP-compatible client.
Quick Start
Prerequisites
- Python 3.11+
- Git
- gcc-docs-sourceoftruth cloned as a sibling folder
Setup
# Clone both repos side by side
git clone https://github.com/Fredwong76/gcc-docs-sourceoftruth.git sourceoftruth
git clone https://github.com/Fredwong76/gcc-docs-mcp-server.git gcc-docs-mcp-server
# Install the MCP server
cd gcc-docs-mcp-server
pip install -e .
Configure your MCP client
Add to your MCP settings (e.g. ~/.kiro/settings/mcp.json):
{
"mcpServers": {
"gcc-docs": {
"command": "python",
"args": ["-m", "server.cli"],
"cwd": "/absolute/path/to/gcc-docs-mcp-server",
"disabled": false,
"autoApprove": ["search_docs", "get_page", "list_topics"]
}
}
}
Replace /absolute/path/to/gcc-docs-mcp-server with the actual path on your machine.
What it does
On startup the server:
- Runs
git pullon the sourceoftruth folder (gets latest docs from collaborators) - Discovers all markdown files in the sourceoftruth folder
- Builds a full-text search index (Whoosh/BM25F)
- Exposes 3 MCP tools via stdio transport
Tools
| Tool | Description | Example |
|---|---|---|
search_docs |
Full-text search across all indexed docs | "security groups port 22" |
get_page |
Retrieve full content of a specific page | "TechPass/reset-password.md" |
list_topics |
Browse documentation hierarchy | parent="TechPass" |
Configuration
The server finds the sourceoftruth folder using this precedence:
--crawl-store <path>CLI argumentSOURCEOFTRUTH_PATHenvironment variable- Default:
../sourceoftruth(sibling directory)
Folder Structure
parent-folder/
sourceoftruth/ <-- git clone of gcc-docs-sourceoftruth
GCC/
TechPass/
Cloudscape/
...
gcc-docs-mcp-server/ <-- this repo
server/ <-- MCP server code
crawler/ <-- Playwright-based crawler (optional)
postprocessing/ <-- PDF-to-MD converter
Development
# Install with dev dependencies
pip install -e ".[dev]"
# Run tests
pytest tests/ --ignore=tests/integration
# Run the server directly
python -m server.cli
Adding Documents
See the sourceoftruth README for how to contribute documentation.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Neon Database
MCP server for interacting with Neon Management API and databases
E2B
Using MCP to run code via e2b.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.