glowfic-rag
Provides semantic search capabilities over glowfic.com content using a pre-built vector database and GTE-Large embeddings. It allows users to query specific continuities and authors through MCP-compatible tools in applications like Claude Code and Cursor.
README
glowfic-rag
Semantic search over glowfic.com content, exposed as an MCP server for Claude Code and Cursor.
Uses GTE-Large embeddings stored in ChromaDB. The pre-built index covers ~658K posts from:
- planecrash (board 215) — 19K posts, 28 threads
- Sandboxes (board 3) — 639K posts, 2,214 threads
- trainwreck (board 277) — 595 posts, 7 threads
Board structure fetching (src/render.py, src/auth.py) is derived from rocurley/glowfic-dl by Roger Curley and Alyssa Riceman.
Quick start
Requires Python 3.10+ (the mcp package needs it).
git clone https://github.com/keenanpepper/glowfic-rag.git
cd glowfic-rag
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
# Download the pre-built vector database (~2GB compressed, ~5GB on disk)
./setup_data.sh
Using with Claude Code
The repo includes .mcp.json, which Claude Code auto-detects. From the repo directory:
claude
Claude will have access to search_glowfic and list_indexed_continuities tools.
Using with Cursor
Create .cursor/mcp.json with the absolute path to your clone:
{
"mcpServers": {
"glowfic-search": {
"command": "/path/to/glowfic-rag/.venv/bin/python3",
"args": ["-m", "rag.mcp_server"],
"cwd": "/path/to/glowfic-rag"
}
}
}
Then reload the Cursor window.
CLI search
You can also search from the command line:
python -m rag.search "Keltham explains expected utility" -k 5
python -m rag.search "vampire meets werewolf" --continuity Sandboxes
python -m rag.search "dath ilan" --author Iarwain
Adding more continuities
Scrape a board to JSONL, then add it to the index:
# Scrape (supports --resume for interrupted runs)
python -m rag.scrape https://glowfic.com/boards/277
# Index (adds to existing collection, doesn't rebuild)
python -m rag.index data/trainwreck.jsonl
# Or reindex everything from scratch
python -m rag.index --reset
The scraper handles pagination for large boards and retries throttled requests automatically.
Performance notes
- First query: ~10 seconds (model load + index warm-up)
- Subsequent queries: < 1 second
- Memory: ~3-5GB when model + index are loaded
- Disk: ~5GB for the ChromaDB index
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.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
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.