{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "zju-real-polaris--query-research-library-from-coding-agent",
 "repo": "ZJU-REAL/Polaris",
 "repo_url": "https://github.com/ZJU-REAL/Polaris",
 "repo_slug": "zju-real-polaris",
 "title": "Query your research library from Claude Code or Cursor",
 "page_title": "How to query your research library from Claude Code or Cursor with Polaris",
 "summary": "Expose Polaris's read-only tools as an MCP server so coding agents can search your knowledge base.",
 "who": "A researcher who already works in Claude Code, Codex or Cursor and wants those agents to read their Polaris library while writing code or notes.",
 "problem": "Switching between the research app and a coding agent breaks flow, and the agent cannot see the papers and notes already collected.",
 "outcome": "A coding agent that can search and read your project's papers and wiki pages through the MCP server, without being able to change them.",
 "steps": [
  "Open Polaris and find the MCP server settings, then check the self-check result.",
  "Choose the transport the README lists, Streamable HTTP or stdio, that your agent supports.",
  "Add the Polaris MCP server to Claude Code, Codex or Cursor using the connection details shown in the app.",
  "Use the try-it playground in Polaris to confirm the tools return results for your project.",
  "Ask your coding agent a question about your library and check the cited wiki pages."
 ],
 "agent_prompt": "Using the Polaris repo at ZJU-REAL/Polaris, connect the MCP server for project <project name> to <claude-code, codex or cursor>. Expected output: the agent lists papers from that project that match the query <search query>. Verify that the results come only from the chosen project and that no write tool was called.",
 "agents": [
  "claude-code",
  "codex",
  "cursor"
 ],
 "difficulty": "Intermediate",
 "time": "45 minutes",
 "basis": "readme",
 "caveat": "The README says the MCP tools are strictly read-only and project-isolated, so the agent cannot edit your library or experiments through them.",
 "category": "Research",
 "tags": [
  "Research"
 ],
 "lang": "python",
 "requirements": [
  "A computer where the Polaris desktop app can run (the README says new releases are desktop-only)",
  "A model source: an agent you already use, such as Claude Code, Codex or Gemini CLI, or a model API key",
  "For experiments: SSH access to a GPU server and your own SSH credentials",
  "A research direction or topic you want to explore"
 ],
 "risk": "sensitive",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.7,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/zju-real-polaris/query-research-library-from-coding-agent/",
 "md": "https://dedupedai.com/use-cases/zju-real-polaris/query-research-library-from-coding-agent/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/zju-real-polaris--query-research-library-from-coding-agent.json",
 "api_version": "v1"
}
