-
Notifications
You must be signed in to change notification settings - Fork 0
Reference MCP
The Glintstone MCP server exposes the corpus to Claude as four tools. It is a stdio server — Claude Desktop or Claude Code launches it as a subprocess and communicates over stdin/stdout.
Claude (Desktop or Code)
|
| MCP stdio protocol
|
mcp/server_stdio.py
|
| httpx (HTTP)
|
REST API (api.glintstone.org)
|
| psycopg
|
PostgreSQL
The MCP server is a thin wrapper. It calls the same REST endpoints the web app uses. No separate logic, no separate data. Two-tier rule applies throughout.
pip install 'mcp[fastmcp]'Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"glintstone": {
"command": "python",
"args": ["-m", "mcp.server_stdio"],
"cwd": "/path/to/Glintstone",
"env": {
"GS_API_URL": "https://api.glintstone.org/api/v2",
"GS_CLIENT_LABEL": "claude-desktop"
}
}
}
}| Tool | Description |
|---|---|
| semantic_search | Search across tablets, lemmas, signs, scholars, publications, entities, composites |
| summarize_artifact | Grounded narrative summary of a single tablet, lazy-cached |
| interpret_token | Reading chain when lemmatized; ranked hypotheses when not |
| submit_correction | Record a scholarly correction — flows into annotation_runs |
Use MCP when you want conversational research with Claude: exploring the corpus by asking questions, following a train of thought across artifact types, requesting summaries or interpretations in prose.
Use the REST API directly when you need programmatic access from your own code, scripted ETL pipelines, or non-Claude clients. The API has finer-grained control over pagination, filtering, and response shape.
Both surfaces expose the same underlying data. The MCP tools are structured to be useful to Claude in a research context; the REST API is structured to be useful to code.
Source: github.com/wittkensis/glintstone · Issues · Edit this wiki
Start here
Getting Started
Overview
Data Model
- Data Sources
- Data Quality
- Data Issues
- Import Pipeline Guide
- ML Integration
- Citation Pipeline Summary
Reference — Data Model
Reference — API
Reference — MCP
Opportunities
Personas
Project
Research