VedaApex
MCP server for VedaApex search aggregation, providing unified search, browser search, health check, and chat tools via REST-compatible backend.
README
title: VedaApex emoji: 🚀 colorFrom: blue colorTo: indigo sdk: docker app_port: 7860 pinned: false
VedaApex MCP Server
This backend now runs as a FastAPI application with an MCP layer added on top. Your original REST routes continue to work, and Claude can call the same backend through MCP tools.
What changed
- Existing FastAPI routes remain available at the original REST endpoints.
- MCP endpoints are exposed at
/mcpfor HTTP transport and/ssefor SSE transport. - Search, health, and chat endpoints are exposed as MCP tools.
Installation
cd c:/Users/heyhi/Downloads/backend
.\.venv\Scripts\python.exe -m pip install -r requirements.txt
Configuration
Copy the sample environment file and adjust the values:
copy .env.example .env
Important variables:
APP_NAME=VedaApex Search Aggregation
APP_VERSION=1.0.0
APP_ENV=development
PORT=7860
HOST=0.0.0.0
PEXELS_API_KEY=your_pexels_key_here
NASA_API_KEY=DEMO_KEY
WIKIMEDIA_API_KEY=
MCP_HTTP_PATH=/mcp
MCP_SSE_PATH=/sse
Run the server
.\.venv\Scripts\python.exe main.py
The API will be available at:
- REST docs: http://localhost:7860/api/v1/docs
- MCP HTTP: http://localhost:7860/mcp
- MCP SSE: http://localhost:7860/sse
Test MCP locally
curl http://localhost:7860/api/v1/health
curl http://localhost:7860/mcp
You can also run the test suite:
.\.venv\Scripts\python.exe -m pytest -q test_mcp.py
MCP tools available
health_check— returns service health and enabled providersunified_search— runs the main intelligent search workflowbrowser_search— runs the browser-style search helperchat— sends a chat request to the configured LLM provider
Claude Desktop configuration
Use this configuration in your Claude Desktop config file:
{
"mcpServers": {
"vedaapex": {
"type": "streamable-http",
"url": "http://localhost:7860/mcp"
}
}
}
If you prefer SSE instead of HTTP transport, use:
{
"mcpServers": {
"vedaapex": {
"type": "sse",
"url": "http://localhost:7860/sse"
}
}
}
Notes
- Your existing REST API behavior is preserved.
- Authentication headers are forwarded for tool calls when present.
- If an endpoint needs an API key, pass it through the request headers or environment variables used by the app.
Docker
docker build -t vedaapex-search . && docker run -p 7860:7860 vedaapex-search
Render
See DEPLOYMENT.md for cloud deployment guides.
❓ FAQ
Q: Can I add my own provider?
A: Yes! Create a provider class and add to providers/. The router will automatically include it.
Q: How are conflicts handled (space + scientific)?
A: Primary provider is chosen based on which category matches first.
Q: What if all providers fail?
A: Returns empty results with error details in logs.
Q: Can I disable a provider?
A: Yes, set ENABLE_PEXELS=false in .env
Built for intelligent search! 🧠✨
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
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
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.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.