remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Integrations
Manages environment variables for the MCP server, specifically for storing and accessing the SerpApi API key
Retrieves parsed search results from Baidu search engine via SerpApi
Performs searches on DuckDuckGo and retrieves parsed search results via SerpApi
SerpApi MCP 서버
다음과 같은 MCP 서버를 구축하세요.
- API 키를 사용하여 SerpApi를 통해 구문 분석된 검색 엔진 결과 페이지를 빠르게 가져옵니다.
이 MCP(모델 컨텍스트 프로토콜) 서버는 SerpApi 와 통합되어 다양한 검색 엔진에서 검색을 수행하고 실시간 및 보관된 결과를 모두 검색합니다. Grok이나 Claude for Desktop과 같은 MCP 클라이언트 또는 호스트와의 원활한 상호 작용을 위한 도구와 리소스를 제공합니다.
설치
SerpApi MCP 서버를 설정하려면 필요한 Python 라이브러리를 설치하세요.
지엑스피1
SerpApi API 키 도 필요합니다. SerpApi에 가입하여 키를 받으세요.
빠른 시작
- 서버 코드 저장: 서버 코드를 server.py와 같은 파일에 저장합니다.
- API 키 구성: SerpApi API 키와 같은 디렉토리에 .env 파일을 만듭니다.
- 서버 실행: 다음을 사용하여 서버를 시작합니다.
- MCP 클라이언트와 통합: 서버를 MCP 클라이언트 또는 호스트(예: Claude for Desktop)에 연결합니다. Claude의 경우, Claude_desktop_config.json 파일을 업데이트합니다.
서버를 로드하려면 클라이언트를 다시 시작하세요.
특징
- 지원 엔진: Google, Google Light, Bing, Walmart, Yahoo, eBay, YouTube, DuckDuckGo, Yandex, Baidu
- 도구 :
- 검색: 쿼리와 선택적 매개변수를 사용하여 지정된 엔진에서 검색을 수행합니다.
- 자원 :
- 위치: Google 위치 찾기.
사용 예
다음 예제에서는 MCP 클라이언트(예: MCP 클라이언트 SDK를 사용하여 Python으로 작성된 클라이언트)가 서버에 연결되어 있다고 가정합니다. 지원되는 엔진 나열: 지원되는 검색 엔진 목록을 가져옵니다.
Google에서 위치 필터를 사용하여 "커피"를 검색합니다.
결과 출력
구성
API 키: .env
파일에 SerpApi API 키를 SERPAPI_API_KEY
로 설정합니다.
서버 실행
프로덕션 모드: 다음을 사용하여 서버를 시작합니다.
개발 모드: 디버깅을 위해 MCP 검사기를 사용하세요.
테스트
MCP Inspector 또는 MCP 클라이언트를 사용하여 서버를 테스트하세요. Claude for Desktop의 경우, Claude_desktop_config.json
파일에서 서버를 구성하고 앱을 다시 시작한 후 망치 아이콘을 사용하여 사용 가능한 도구를 살펴보고 테스트하세요.
This server cannot be installed
Google, Bing, Yahoo 등 여러 검색 엔진에서 검색 결과를 검색하기 위해 SerpApi와 통합된 MCP 서버로, 실시간 및 보관된 검색 데이터에 빠르게 액세스할 수 있습니다.
Related Resources
Appeared in Searches
- Finding an LLM that integrates with MCP for precise calculations and accurate answers
- A resource for in-depth exploration of scientific topics
- Searching for web-based information or resources
- Using large language models to analyze and guide bid document preparation
- Using Google to search and generate answers