Syncretica MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Syncretica MCP Server Search for trickster gods in Norse and Greek pantheons and find their closest counterparts"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Syncretica Model Context Protocol (MCP) Server
A production-ready Model Context Protocol (MCP) server interfacing with the Syncretica comparative mythology platform (/api/v1 REST API).
Syncretica MCP allows AI agents (in Antigravity, Claude Desktop, Cursor, and custom agent harnesses) to seamlessly navigate, search, cluster, and synthesize cross-cultural mythological datasets, pgvector cosine distance manifolds, and multi-stage LLM synthesis reports.
Capabilities Overview
+---------------------------------------+
| AI Agent (Claude, Antigravity, etc.) |
+-------------------+-------------------+
|
stdio | JSON-RPC
v
+---------------------------------------+
| Syncretica MCP Server |
| - 28 Tools (Search, CRUD, ML) |
| - 4 Resources (Status, Reports) |
| - 2 Analysis Prompts |
+-------------------+-------------------+
|
HTTP | REST (/api/v1)
v
+---------------------------------------+
| Syncretica API (Rails) |
| - pgvector 1024-dim Manifold |
| - Connected-Components Clustering |
| - Multi-phase Synthesis Engine |
+---------------------------------------+1. Global Search & Manifold Traversal
search: Unified semantic or keyword search across world pantheons, deities, and myth propositions.find_counterparts: Identifies nearest structural counterparts to any god or myth using 1024-dimensional vector cosine distance.
2. Mythological Catalog Management (CRUD)
Pantheons:
list_pantheons,get_pantheon,create_pantheon,update_pantheon,delete_pantheon,upsert_pantheons_batch,populate_pantheons,populate_pantheon_gods.Gods:
list_gods,get_god,create_god,update_god,delete_god,upsert_gods_batch,generate_god_embedding,populate_god_myth,populate_gods_bulk.Myths:
list_myths,get_myth,create_myth,update_myth,delete_myth,generate_myth_embedding,populate_myths_bulk.
3. Archetype Clustering & Snapshots
compute_clusters: Dynamically calculates connected-components vector clusters across catalog entities with configurable threshold levels (1–15) and full coverage flags without modifying the database.create_cluster_snapshot: Computes and freezes clustering into an immutable database snapshot.list_cluster_snapshots,get_cluster_snapshot,delete_cluster_snapshot,get_cluster_group.
4. Scholarly Synthesis Monograph Reports
create_cluster_report: Triggers a 2-Phase Map-Reduce synthesis report on a snapshot with a custom research inquiry.generate_deep_synthesis: Initiates a 3-Phase Hierarchical Deep Synthesis monograph, grouping Phase 1 summaries into intermediate batch analyses.list_cluster_reports,get_cluster_report,get_report_summary,get_report_sub_report.
5. Background Jobs & Execution Control
get_job_status,list_jobs: Inspect ActiveJob lifecycle states.wait_for_job: Polls asynchronous operations until completion or failure with configurable intervals and timeouts.
6. System & Settings
get_platform_status: Platform health, entity counts, embedding coverage stats, and active LLM configuration.get_settings,update_context_window,trigger_bulk_embeddings,get_openapi_spec.
Related MCP server: FHIR MCP Server
MCP Resources
Directly inspectable URIs that AI agents can mount into context:
syncretica://status: Platform health, entity metrics, and active LLM models.syncretica://pantheons: Catalog overview of all registered world traditions and deity counts.syncretica://snapshots/{id}: Detailed cluster groups and members of a frozen snapshot.syncretica://reports/{id}: Full compiled markdown text of a scholarly synthesis monograph.
Comparative Mythology Prompts
comparative_archetype_analysis: Structured inquiry comparing two deities across traditions using mythemes and semantic similarity.cross_cultural_synthesis: Guides the model to draft an academic treatise based on frozen cluster snapshots.
Installation & Setup
Prerequisites
Node.js >= 18.0.0
A running Syncretica instance (default:
http://localhost:3000/api/v1)
1. Build from Source
git clone https://github.com/leouofa/syncretica-mcp.git
cd syncretica-mcp
npm install
npm run build2. Environment Configuration
Create a .env file or export environment variables:
SYNCRETICA_API_URL=http://localhost:3000/api/v1
# SYNCRETICA_API_KEY=your_optional_token
SYNCRETICA_TIMEOUT_MS=60000Client Integration Examples
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"syncretica": {
"command": "node",
"args": [
"/absolute/path/to/syncretica-mcp/dist/index.js"
],
"env": {
"SYNCRETICA_API_URL": "http://localhost:3000/api/v1"
}
}
}
}Antigravity / Gemini CLI / Cursor
Add to your client configuration:
{
"mcpServers": {
"syncretica": {
"command": "npx",
"args": ["-y", "tsx", "/absolute/path/to/syncretica-mcp/src/index.ts"],
"env": {
"SYNCRETICA_API_URL": "http://localhost:3000/api/v1"
}
}
}
}CLI Options
Usage:
syncretica-mcp [options]
Options:
-u, --url <url> Syncretica API base URL (default: http://localhost:3000/api/v1)
-k, --api-key <key> Optional API key / Bearer token
-t, --timeout <ms> Request timeout in milliseconds (default: 60000)
-h, --help Display help messageDevelopment & Testing
# Run unit and integration test suite
npm test
# Run tests in watch mode
npm run test:watch
# Compile TypeScript
npm run build
# Start server directly in development
npm run devLicense
MIT © Leonid Medovyy
Available Tools
46 toolscompute_clustersA
Compute live connected-components vector clusters for Gods or Myths across world pantheons without modifying the database.
Inputs: force, level, target_type, full_coverage.
create_cluster_reportC
Initiate a 2-Phase Map-Reduce synthesis report on a frozen cluster snapshot.
Inputs: prompt (required), cluster_snapshot_id (required).
create_cluster_snapshotC
Compute connected-components clustering and freeze it immediately into an immutable database snapshot.
Inputs: level (required), title (required), target_type (required), full_coverage.
create_godC
Create a new deity record associated with a pantheon.
Inputs: name (required), pantheon_id (required), themes, description.
create_mythB
Create or upsert a myth proposition record for a deity.
Inputs: god_id (required), themes (required).
create_pantheonC
Create a new pantheon record in the catalog.
Inputs: name (required), description.
delete_cluster_snapshotB
Delete a frozen cluster snapshot along with its cascaded cluster groups and synthesis reports.
Inputs: id (required).
delete_godB
Delete a deity and its associated myth record.
Inputs: id (required).
delete_mythC
Delete a myth record.
Inputs: id (required).
delete_pantheonB
Delete a pantheon and its cascaded deities and myths.
Inputs: id (required).
find_counterpartsA
Find nearest mythological counterparts to a specified god or myth using pgvector cosine distance across world pantheons.
Inputs: id (required), entity_type (required), limit, pantheon_id, +1 more.
generate_deep_synthesisB
Initiate a 3-Phase Hierarchical Deep Synthesis monograph, reusing Phase 1 summaries from a completed parent report.
Inputs: report_id (required), batch_size.
generate_god_embeddingB
Calculate 1024-dimensional vector embedding for a deity using the configured embedding model.
Inputs: id (required), sync.
generate_myth_embeddingC
Calculate 1024-dimensional vector embedding for a myth record.
Inputs: id (required), sync.
get_cluster_groupB
Retrieve details of a specific archetype cluster group with all member deities or myths.
Inputs: id (required), include_members.
get_cluster_reportB
Retrieve complete scholarly report content, progress percentage, markdown monograph, and intermediate summaries.
Inputs: id (required), include_summaries, include_sub_reports.
get_cluster_snapshotB
Retrieve details of a frozen cluster snapshot including member groups and generated reports.
Inputs: id (required), include_groups, include_members, include_reports.
get_godB
Retrieve full profile of a deity including pantheon, thematic attributes, and myth propositions.
Inputs: id (required), include_myth, include_embedding.
get_job_statusB
Check the status, progress, and result of an ActiveJob/Sidekiq background task.
Inputs: job_id (required).
get_mythB
Retrieve details of a myth including its 8-10 decomposed themes and associated deity.
Inputs: id (required), include_embedding.
get_openapi_specA
Retrieve the raw OpenAPI 3.1 specification for the Syncretica API.
Inputs: no named parameters.
get_pantheonB
Retrieve details of a single pantheon including its deity roster.
Inputs: id (required), include_gods.
get_platform_statusA
Get overall platform health, catalog entity counts, embedding coverage stats, and active LLM configuration.
Inputs: no named parameters.
get_report_sub_reportC
Retrieve a single Phase 2 batch analysis.
Inputs: id (required).
get_report_summaryC
Retrieve a single Phase 1 per-cluster scholarly summary.
Inputs: id (required).
get_settingsB
Get embedding completion metrics, active embedding/LLM parameters, and context window presets.
Inputs: no named parameters.
list_cluster_reportsC
List generated multi-phase comparative mythology reports and monographs.
Inputs: limit, offset, status, is_detailed, +2 more.
list_cluster_snapshotsC
List frozen archetype cluster snapshots.
Inputs: limit, offset, target_type.
list_godsB
List and filter deities with thematic tags and vector embedding status.
Inputs: q, limit, theme, offset, +5 more.
list_jobsB
List recent asynchronous background jobs (embedding calculations, LLM discoveries, synthesis reports).
Inputs: limit.
list_mythsC
List and filter mythologies with structured propositions and embedding metadata.
Inputs: q, limit, theme, god_id, +3 more.
list_pantheonsB
List world mythological pantheons registered in Syncretica with deity counts.
Inputs: q, limit, offset, include_gods.
populate_god_mythC
Generate 8-10 structured mythological themes for a deity via LLM extraction.
Inputs: id (required), sync.
populate_gods_bulkC
Trigger bulk LLM discovery across all or a single pantheon.
Inputs: sync, pantheon_id.
populate_myths_bulkB
Trigger bulk myth discovery across all deities or a single deity.
Inputs: sync, god_id.
populate_pantheon_godsC
Discover and populate deities for a specific pantheon via LLM generation.
Inputs: id (required), sync.
populate_pantheonsC
Trigger LLM discovery to identify and populate global pantheons.
Inputs: sync.
searchB
Unified cross-catalog semantic or keyword search across deities and myths in the Syncretica comparative mythology manifold.
Inputs: q (required), mode, limit, target_type.
trigger_bulk_embeddingsC
Enqueue bulk embedding generation for all Gods or Myths.
Inputs: model_type (required), only_missing.
update_context_windowC
Dynamically update the active LLM context window token size.
Inputs: context_window (required).
update_godB
Update an existing deity's attributes, pantheon, or thematic tags.
Inputs: id (required), name, themes, description, +1 more.
update_mythC
Update an existing myth's structured theme propositions.
Inputs: id (required), themes (required).
update_pantheonB
Update an existing pantheon's name or description.
Inputs: id (required), name, description.
upsert_gods_batchB
Batch insert or update deities scoped to a specific pantheon.
Inputs: gods (required), pantheon_id (required).
upsert_pantheons_batchB
Batch insert or update pantheons matching case-insensitively on name.
Inputs: pantheons (required).
wait_for_jobA
Poll a background job until completion or failure with configurable timeout.
Inputs: job_id (required), timeout_ms, poll_interval_ms.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 46 tools
Most tools target distinct resource/action pairs, but several population and embedding tools overlap: populate_gods_bulk largely subsumes populate_pantheon_gods, and populate_mysts_bulk overlaps populate_god_myth. Descriptions help, but an agent may still hesitate between bulk vs. specific and single vs. bulk embedding operations.
The tool set uses consistent snake_case and mostly follows a verb_noun pattern. Minor deviations such as search and inconsistent qualifier placement (populate_gods_bulk vs. trigger_bulk_embeddings) keep it from perfect consistency but remain readable.
At 46 tools, the surface is overloaded for an agent-facing MCP server even given the broad domain. Many granular admin, LLM discovery, embedding, and report operations could be consolidated into fewer higher-level tools.
The surface covers CRUD for pantheons, gods, and myths, plus search, embeddings, clustering snapshots, reports, jobs, settings, and platform status. There are minor gaps such as job cancellation, individual report cleanup, and broader LLM configuration updates, but no major dead ends.
Maintenance
Related MCP Connectors
Curated knowledge API for AI agents - skill packs, semantic search, validated patterns.
Catalog for building with AI agents: tools, APIs, licensed assets, prices and history, recipes.
The world's public data, one API. License-cleared public data sources for agents, via MCP and REST.
Generate AI images and videos, quote credit costs, manage media and track batch jobs with OAuth.
Related MCP Servers
AlicenseNot gradedqualityBmaintenanceConnects MCP-compatible AI assistants to query and modify worldbuilding data (entities, relationships, timelines, etc.) with changes going through a review queue.5AGPL 3.0- FlicenseNot gradedqualityAmaintenanceEnables LLM-based agents and MCP-compatible clients to perform full CRUD operations on healthcare interoperability resources, query and manipulate clinical data via natural-language prompts, and use document ingestion, semantic search, and LOINC terminology lookup.-
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to search and trace a unified domain map built from multiple Java repositories and project docs, returning services, classes, methods, routes, and tables with confidence and provenance. It also supports reading immutable evidence by ID, domain mapping, reverse-dependency impact analysis, full-text document search, and symptom-based troubleshooting.MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to ingest facts, extract entities and cause-effect relations, and recall multi-hop cited reasoning chains across documents and sessions, with conflict resolution, time-travel, causal tracing, and counterfactuals over HTTP or MCP.12 PyPI3MIT