import os
from dotenv import load_dotenv
from llama_index.embeddings.huggingface import HuggingFaceEmbedding
dotenv_path = "config/.env"
load_dotenv(dotenv_path)
embedding_model_name = os.getenv("EMBEDDING_MODEL")
if not embedding_model_name:
embedding_model_name = "NeuML/pubmedbert-base-embeddings"
model = HuggingFaceEmbedding(model_name=embedding_model_name)
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/the-momentum/fhir-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server