litcoin-mcp
Enables querying the LitCoin knowledge graph for nodes, edges, and relationships, with support for semantic similarity search over nodes and edges via MCP.
README
LitCoin MCP Server
MCP server for the LitCoin Knowledge Graph (KG) - query LitCoin knowledge graph for nodes, edges, relationships as well as semantic similarity search over nodes and relationships. It supports semantic + structural LitCoin knowledge graph access for AI agents via MCP.
This MCP server exposes the following tools:
- get_node(node_id: CURIE str)
- Get information about a specific node by CURIE.
- get_node_edges(node_id: CURIE str)
- Get all edges connected to a node.
- get_edges_between(source_id: CURIE str, target_id: CURIE str)
- Find all edges connecting two nodes by CURIEs
- get_semantic_similar_nodes(query: str, top_k: int = 10, k_per_index: int = 2)
- Find top_k semantically similar nodes to an input text query
- get_semantic_similar_edges(query: str, top_k: int = 10, k_per_index: int = 2)
- Find top_k semantically similar relationships to an input text query
Note that for semantic search tools to work, this MCP server assumes Neo4j embedding vector indexes already exist.
Response Format
- All responses are JSON serializable.
- Embedding vectors stored in Neo4j are never returned to the client.
- Semantic search results are sorted by similarity score (descending).
Recommended Usage: Use with uvx
No installation needed! Use uvx to run the server in isolated environments.
Configuration
Environment Variables
The following environmental variables must be configured for this LitCoin MCP Server:
- OPENAI_API_KEY - OPENAI API Key for semantic search related tools
such as get_semantic_similar_nodes and get_semantic_similar_edges.
the embedding vectors for nodes and edges in the LitCoin KG were created
using the
text-embedding-3-smallmodel from OpenAI. It's recommended to use the same model to generate embeddings for input text queries to ensure dimensional compatibility for semantic search related tools. - NEO4J_USERNAME - LitCoin Neo4j server authentication username.
- NEO4J_PASSWORD - LitCoin Neo4j server authentication password.
- NEO4J_URI - LitCoin Knowledge Graph endpoint (default:
bolt://litcoin-graph.apps.renci.org:7687)
MCP CLient (e.g., Goose, Claude Desktop) Configuration
Using uvx
The easiest way to use this MCP server is with uvx, which runs it in isolated environments without installation:
{
"mcpServers": {
"litcoin": {
"command": "uvx",
"args": ["litcoin-mcp"]
}
}
}
For Local Development
When running from source, use the full uv command:
{
"mcpServers": {
"robokop": {
"command": "uv",
"args": [
"run",
"--directory",
"/absolute/path/to/litcoin-mcp",
"python",
"run_server.py"
]
}
}
}
Note: Replace /absolute/path/to/litcoin-mcp with your actual path.
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
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
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.