Skip to content

fatwang2/search1api-mcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Search1API MCP Server

A Model Context Protocol (MCP) server that provides search and crawl functionality using Search1API.

search1api-mcp.mp4

Features

  • Web search functionality
  • News search functionality
  • Web page content extraction
  • Website sitemap extraction
  • Seamless integration with Claude Desktop

Tools

1. Search Tool

  • Name: search
  • Description: Search the web using Search1API
  • Parameters:
    • query (required): Search query
    • max_results (optional, default: 10): Number of results to return
    • search_service (optional, default: "google"): Search service to use

2. News Tool

  • Name: news
  • Description: Search for news articles using Search1API
  • Parameters:
    • query (required): Search query
    • max_results (optional, default: 10): Number of results to return
    • search_service (optional, default: "google"): Search service to use

3. Crawl Tool

  • Name: crawl
  • Description: Extract content from a URL using Search1API
  • Parameters:
    • url (required): URL to crawl

4. Sitemap Tool

  • Name: sitemap
  • Description: Get all related links from a URL
  • Parameters:
    • url (required): URL to get sitemap

Setup Guide

1. Get Search1API Key

  1. Register at Search1API
  2. Choose a pricing plan (starts from $0.99)
  3. After payment, copy your API key from the confirmation email

2. Configure Claude Desktop

Update your Claude configuration file (claude_desktop_config.json) with the following content:

{
  "mcpServers": {
    "search1api": {
      "command": "npx",
      "args": ["-y", "search1api-mcp"],
      "env": {
        "SEARCH1API_KEY": "YOUR_SEARCH1API_KEY"
      }
    }
  }
}

Configuration file location:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Version History

  • v0.1.3: Added news search functionality
  • v0.1.2: Added sitemap functionality
  • v0.1.1: Added web crawling functionality
  • v0.1.0: Initial release with search functionality

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published