Lore Agent
Utilizes SearXNG for web research to supplement local knowledge with online information from multiple search engines during the research process.
Integrates with the Semantic Scholar academic API to retrieve scholarly citations and research evidence for creating structured knowledge cards.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Lore AgentSearch our project knowledge base for the authentication architecture."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Scholar Agent
General-purpose LLMs are often inaccurate and outdated in specialized domains. Scholar Agent combines online research + local knowledge accumulation into a sustainable knowledge flywheel, making your AI smarter in your domain over time. It also builds a human-readable knowledge base for quick learning. Integrates seamlessly with Claude Code and VS Code Copilot via MCP.
What It Does
Your question
│
▼
Online research (LLM web search + academic APIs)
│
▼
Structured synthesis (with citations, confidence, uncertainty)
│
▼
Local accumulation (Markdown knowledge cards + BM25 index)
│
▼
Next question: AI checks local first ── hit? ──► use directly, fast & accurate
│ miss
▼
Research again → accumulate → reindex ──► knowledge base keeps growingEach round compounds. Knowledge cards have full lifecycle management: draft → reviewed → trusted → stale → deprecated.
Academic Research Pipeline
Scholar Agent includes a comprehensive academic paper research pipeline:
Paper Search — Search papers from arXiv, DBLP, and Semantic Scholar. Filter by top conferences (CVPR, ICCV, ECCV, ICLR, AAAI, NeurIPS, ICML, ACL, EMNLP, MICCAI)
Smart Scoring — Four-dimensional scoring engine (relevance, recency, popularity, quality) ranks papers by your research interests
Deep Analysis Notes — Auto-generate 20+ section Obsidian-style markdown notes with
<!-- LLM: -->placeholders for AI-assisted completionFigure Extraction — Extract images from arXiv source archives and PDFs (via PyMuPDF)
Daily Recommendations — Automated daily paper search, scoring, deduplication, and recommendation note generation
Paper → Knowledge Card — Convert paper analyses into knowledge cards that feed back into the knowledge flywheel
Keyword Auto-Linking — Scan notes for technical terms and create
[[wiki-links]]automatically
Quick Start
Embed into an existing project
cd my-project && git clone https://github.com/zfy465914233/scholar-agent.git
bash scholar-agent/setup.sh
# Restart Claude Code to activateThis will create the directory structure, copy config templates, install skills, and build the knowledge index.
Use as a standalone project
# Clone and install
git clone https://github.com/zfy465914233/scholar-agent.git
cd scholar-agent
pip install -r requirements.txt
# Build the knowledge index
python scripts/local_index.py --output indexes/local/index.jsonMCP configs are pre-configured:
Claude Code:
.mcp.jsonis ready.cdinto the project and start Claude Code.VS Code Copilot:
.vscode/mcp.jsonis ready. Open the project, enable agent mode.
MCP Tools
Core Tools (always available)
Tool | Description |
| Search local knowledge base |
| Save structured research results as a knowledge card |
| Browse all knowledge cards |
| Quick-capture a Q&A pair as a draft card |
| Ingest a URL or raw text into the knowledge base |
| Generate an interactive knowledge graph (vis.js) |
Academic Tools (set SCHOLAR_ACADEMIC=1 to enable)
Tool | Description |
| Search arXiv + Semantic Scholar with 4-dim scoring |
| Search conference papers via DBLP + S2 enrichment |
| Generate deep-analysis markdown notes (20+ sections) |
| Extract figures from arXiv source / PDF |
| Convert paper analysis into a knowledge card |
| Daily paper recommendation workflow |
| Auto-link keywords as |
Recommended Workflow
For best analysis quality, follow this order:
Download the paper:
download_paper("2510.24701", title="Paper Title", domain="LLM")Extract images:
extract_paper_images("2510.24701")(auto-detects local PDF)Deep analysis:
analyze_paper(paper_json)(auto-detects local PDF, extracts full text)
Tip: Downloading the PDF before analysis enables full-text extraction, producing high-quality notes with specific data, formulas, and experimental results. Without a local PDF, analysis relies on the abstract only.
Configuration
.scholar.json
The .scholar.json file configures knowledge paths and academic research settings. See .scholar.example.json for a full example with comments.
Key sections:
knowledge_dir— Path to knowledge cards directoryindex_path— Path to BM25 search indexacademic.research_interests— Your research domains, keywords, and arXiv categoriesacademic.scoring— Paper scoring weights and dimensions
Environment Variables
Copy .env.example to .env and configure:
Variable | Required | Description |
| No | Set to |
| No | Semantic Scholar API key (get one free) |
| No | LLM API key for advanced synthesis pipeline |
Project Structure
scholar-agent/
├── mcp_server.py # MCP server (13 tools)
├── setup_mcp.py # Embed into existing projects
├── pyproject.toml # Package configuration
├── .scholar.json # Project & academic configuration
├── schemas/ # Answer + evidence JSON schemas
├── scripts/
│ ├── academic/ # Academic research modules
│ │ ├── arxiv_search.py # arXiv + Semantic Scholar search
│ │ ├── conf_search.py # Conference paper search (DBLP)
│ │ ├── paper_analyzer.py # Deep-analysis note generation
│ │ ├── scoring.py # 4-dim paper scoring engine
│ │ ├── image_extractor.py # Figure extraction from PDFs
│ │ ├── note_linker.py # Wiki-link discovery + keyword linking
│ │ └── daily_workflow.py # Daily recommendation pipeline
│ ├── scholar_config.py # Configuration reader
│ ├── local_index.py # BM25 index builder
│ ├── local_retrieve.py # Knowledge retrieval
│ ├── close_knowledge_loop.py # Knowledge card builder
│ └── ... # Research, synthesis, governance, graph
├── knowledge/ # Knowledge cards (gitignored, user-generated)
├── indexes/ # Generated indexes (gitignored)
└── tests/ # 247 testsMore Features
Multi-perspective research — Parallel research from 5 perspectives (academic, technical, applied, contrarian, historical)
Obsidian compatible — Standard Markdown + YAML frontmatter +
[[wiki-links]]Knowledge governance CLI — Validate frontmatter, detect orphaned cards, find duplicates, manage lifecycle
Provider fault tolerance — Each search source fails independently; falls back to local retrieval when offline
Testing
python -m pytest tests/ -v247 tests, ~13s. No external services needed.
License
MIT — see LICENSE.
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/zfy465914233/scholar-agent'
If you have feedback or need assistance with the MCP directory API, please join our Discord server