Skip to content

Instantly share code, notes, and snippets.

@davidmezzetti
Created April 15, 2025 17:59
Show Gist options
  • Save davidmezzetti/a2c229b8471187844dde3e1a0b759c9e to your computer and use it in GitHub Desktop.
Save davidmezzetti/a2c229b8471187844dde3e1a0b759c9e to your computer and use it in GitHub Desktop.

Wikipedia Embeddings MCP Server

config.yml

# Enable MCP server
mcp: True

# Load Wikipedia Embeddings index
cloud:
  provider: huggingface-hub
  container: neuml/txtai-wikipedia

Start the service.

CONFIG=config.yml uvicorn "txtai.api:app"

Test the service.

npx @modelcontextprotocol/inspector node build/index.js

Enter http://localhost:8000 and now you have a Wikipedia embeddings search via MCP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment