Context7
Up-to-date docs for AI agents
作者による説明(英語の原文)
Perplexity answers: ask, search, reason, and deep research through the Sonar API.
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"answersearch": {
"command": "npx",
"args": [
"-y",
"@reneturcios/answersearch",
"mcp"
]
}
}
}ターミナルでこれを実行します
claude mcp add answersearch -- npx -y @reneturcios/answersearch mcpプロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"answersearch": {
"command": "npx",
"args": [
"-y",
"@reneturcios/answersearch",
"mcp"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"answersearch": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@reneturcios/answersearch",
"mcp"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月6日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント CloudCorpRecords で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(0.1.0)がレジストリに届いたのは6 日前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.js, Dockerも必要です。
同じカテゴリには:Context7, Codebase Memory, Exa
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
answersearch puts Perplexity's models within reach of a terminal or an agent. You can put a question to a search-grounded model and get an answer with its sources, pull ranked web results on their own, hand a hard problem to the reasoning model, or commission a slower, deeper research pass that reads widely before it writes. It runs as a small CLI or as an MCP server, and it needs a Perplexity API key.
Get a key from the Perplexity API portal and export it:
export PERPLEXITY_API_KEY=<redacted>
Without the variable set, every command and tool call fails with an error that names PERPLEXITY_API_KEY — nothing is sent anywhere.
npx @reneturcios/answersearch ask "what changed in the latest Node LTS?"
Or run the container image:
docker run -i -e PERPLEXITY_API_KEY ghcr.io/cloudcorprecords/answersearch
The container defaults to the MCP server (see below). Pass CLI arguments to use it as a CLI instead.
# Conversational answer grounded in live web search (sonar-pro)
answersearch ask "who won the marathon last weekend?"
answersearch search "composting basics" --max-results 5 --max-tokens 4000 --max-tokens-per-page 512
answersearch reason "prove that the square root of two is irrational"
answersearch research "compare the failure modes of lithium and sodium batteries"
answersearch --version
Successful calls print the API's JSON response. Exit codes: 0 on success, 1 when the API call fails (including a missing key), 2 for usage errors.
One bin serves both faces. The mcp subcommand starts a stdio MCP server:
npx -y @reneturcios/answersearch mcp
MCP client configuration:
{
"mcpServers": { "answersearch": { "command": "npx", "args": ["-y", "@reneturcios/answersearch", "mcp"], "env": { "PERPLEXITY_API_KEY": "your-key-here" } } } }
| Tool | Input | What it does |
|---|---|---|
perplexity_ask | messages (array of {role, content}, required) | Conversational answer with live web search, via the sonar-pro model on the chat-completions endpoint. |
perplexity_search | query (string, required), max_results, max_tokens, max_tokens_per_page (integers, optional) | Direct call to the Search API; returns its ranked results and metadata as returned upstream. |
perplexity_reason | messages (required, same shape) | Analytical reasoning via sonar-reasoning-pro. |
perplexity_research | messages (required, same shape) | Deep research via sonar-deep-research; expect a longer wait than the other tools. |
Tool results are the upstream JSON, pretty-printed as text. Upstream failures (bad key, quota, HTTP errors) come back as tool errors carrying the status and the API's own message.
npm install
npm run build # tsc -> dist/ npm test # node test runner over test/*.test.ts, no network (fake fetch fixtures) npm run dev # run the CLI from source via tsx
MIT — see LICENSE.