Back to Home
EOSC-Data-Commons icon

data-commons-mcp

Verified Safe

by EOSC-Data-Commons

Overview

Provides natural language search over open-access datasets and tools using a Large Language Model-assisted search, compliant with the Model Context Protocol (MCP).

Installation

Run Command
uv run uvicorn src.data_commons_search.main:app --log-config logging.yml --reload

Environment Variables

  • OPENSEARCH_URL
  • EINFRACZ_API_KEY
  • MISTRAL_API_KEY
  • OPENROUTER_API_KEY
  • CHAT_API_KEY
  • SERVER_PORT
  • SERVER_HOST
  • CORS_ENABLED
  • DEBUG_ENABLED
  • OPENSEARCH_INDEX
  • EMBEDDING_MODEL
  • EMBEDDING_DIMENSIONS
  • LLM_MAX_TOKENS
  • LLM_SEED
  • APP_NAME
  • LOGS_FILEPATH
  • OPENSEARCH_RESULTS_COUNT
  • RERANKING_RESULTS_COUNT
  • FILEMETRIX_API
  • TOOL_REGISTRY_API

Security Notes

API keys for LLM providers and optional chat API key are loaded from environment variables (keys.env), which is a good practice. The system uses CORS (allow_origins=['*']), common for public APIs but requires consideration for sensitive operations. No direct 'eval' on user-controlled input or obvious code injection vulnerabilities were found. Debug logging should be disabled in production environments.

Similar Servers

Stats

Interest Score38
Security Score8
Cost ClassMedium
Avg Tokens1500
Stars9
Forks1
Last Update2025-11-28

Tags

AI SearchLLMData DiscoveryOpenSearchMCP