Skip to main content
Glama
You.com MCP Server

You.com MCP Server

by jimbul

You.com MCP Server

This MCP (Model Context Protocol) server provides AI assistants with the ability to search the web, get news, and perform research using the You.com API. Feedback welcomed.

Features

  • Web Search: Access to You.com's web search functionality

  • Smart Search: AI-powered answers with citation support

  • Research: Comprehensive, citation-backed answers for academic queries

  • News Search: Latest news articles on any topic

Related MCP server: Kagi MCP Server

Prerequisites

  • Node.js (v16 or higher)

  • npm or yarn

  • You.com API key (get one from api.you.com)

Installation

  1. Clone this repository:

    git clone https://github.com/jimbul/youcom-mcp.git
    cd youcom-mcp
  2. Install dependencies:

    npm install
  3. Create a .env file based on the example:

    cp .env.example .env
  4. Add your You.com API key to the .env file:

    YOU_API_KEY=your_actual_api_key_here
  5. Build the project:

    npm run build

Running Locally (Optional)

You can run the server locally for testing:

npm start

Setting up with Claude

To use this MCP server with Claude (Anthropic Assistant), you need to configure Claude to use this server:

  1. Open the Claude extension settings in VS Code:

    • Click on the Claude icon in the VS Code sidebar

    • Click on the settings icon (⚙️) and select "MCP Settings"

  2. Add the following configuration to the mcpServers section:

"youcom-mcp": {
  "autoApprove": [],
  "disabled": false,
  "command": "node",
  "args": [
    "/absolute/path/to/your/youcom-mcp/dist/index.js"
  ],
  "env": {
    "YOU_API_KEY": "your_actual_api_key_here"
  },
  "transportType": "stdio"
}

Important Notes:

  • Replace /absolute/path/to/your/youcom-mcp/dist/index.js with the actual path on your system

  • Replace your_actual_api_key_here with your You.com API key

Usage Examples

Once configured, you can use the MCP tools directly in your conversations with Claude:

<use_mcp_tool>
<server_name>youcom-mcp</server_name>
<tool_name>web_search</tool_name>
<arguments>
{
  "query": "latest research on renewable energy"
}
</arguments>
</use_mcp_tool>
<use_mcp_tool>
<server_name>youcom-mcp</server_name>
<tool_name>smart_search</tool_name>
<arguments>
{
  "query": "how do quantum computers work",
  "instructions": "explain in simple terms"
}
</arguments>
</use_mcp_tool>

Research

<use_mcp_tool>
<server_name>youcom-mcp</server_name>
<tool_name>research</tool_name>
<arguments>
{
  "query": "effects of climate change on ocean ecosystems",
  "instructions": "focus on coral reefs"
}
</arguments>
</use_mcp_tool>
<use_mcp_tool>
<server_name>youcom-mcp</server_name>
<tool_name>news_search</tool_name>
<arguments>
{
  "query": "latest developments in AI"
}
</arguments>
</use_mcp_tool>

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Running evals

The evals package loads an mcp client that then runs the index.ts file, so there is no need to rebuild between tests. You can load environment variables by prefixing the npx command. Full documentation can be found here.

OPENAI_API_KEY=your-key  npx mcp-eval src/evals/evals.ts src/index.ts

License

MIT

Acknowledgements

This project uses the You.com API for search functionality.

Available Tools

4 tools
researchD

Inputs: query (required), instructions.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    D1.4/5.0

    Scored across 4 tools

    Disambiguation1/5

    The tools are highly ambiguous with overlapping purposes, as all four tools appear to perform search-related functions without clear distinctions. Without descriptions, it's impossible to differentiate between 'news_search', 'research', 'smart_search', and 'web_search', making them effectively indistinguishable for an agent.

    Naming Consistency3/5

    The naming shows mixed conventions: 'news_search' and 'web_search' follow a consistent noun_verb pattern, but 'research' and 'smart_search' deviate with different structures. While readable, the inconsistency in verb usage and pattern reduces predictability across the set.

    Tool Count3/5

    With 4 tools, the count is borderline for a search-focused server, as it feels thin but not unreasonable. However, the lack of descriptions makes it hard to assess if this number adequately covers the domain, suggesting potential under-scoping or redundancy.

    Completeness2/5

    Inferred as a search server, there are significant gaps in coverage, such as missing filtering, sorting, or result management tools. The surface is severely incomplete for a robust search domain, likely causing agent failures due to limited operational capabilities.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      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.
      2
      572
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      An MCP server that enables Claude to perform web searches using Perplexity's API with intelligent model selection based on query intent and support for domain and recency filtering.
      6
      4
      MIT