TIPThe project is open-sourced at Tokisaki-Galaxy/bibliographySearchMCP. Stars are welcome.
Background
When doing academic research, literature search is the unavoidable first step. But in practice: you open Google Scholar, search a keyword, flip through dozens of pages of results, only to find that most are either irrelevant or duplicates. Especially for cross-language Chinese/English topics, you have to switch back and forth between Baidu Scholar and English databases, which is extremely inefficient.
Bibliography Search MCP solves this problem elegantly — it lets your AI assistant search papers directly.
What it is
This is an academic literature search service based on the MCP protocol, running on Cloudflare Workers. Simply put, you can plug it into any MCP-capable AI client (such as Claude Desktop, Cursor, etc.), and then use natural language to have the AI search academic papers for you.
Key highlights
7 major academic databases, one search covers them all
Supports 7 databases: arXiv, DBLP, Semantic Scholar, Crossref, OpenAlex, PubMed, and Baidu Scholar. One query automatically deduplicates, scores, and sorts the results, saving you the hassle of comparing across platforms.
Automatic Chinese/English detection
Enter a Chinese query and the system automatically detects it, searching both Baidu Scholar and English databases at the same time, returning results mixed at a 50/50 ratio. English input takes an English-database-first strategy. No need to switch languages manually — search in whatever you type.
LLM-driven query planning
This is the smartest part — it calls a large language model via the Groq API to convert natural language queries into precise boolean search expressions. For example, if you type “medical imaging diagnosis based on deep learning”, the LLM automatically generates a search statement like "deep learning" AND "medical image" AND "diagnosis", greatly improving retrieval quality.
No Groq API key? No problem — a built-in Chinese academic dictionary serves as a fallback, so it still works. However, for Chinese searches, the results are far worse than with a Groq API.
Automatic routing for medical queries
When biomedical-related keywords are detected, PubMed is queried first automatically, ensuring medical literature isn’t missed.
Intelligent scoring and ranking
Results are scored and ranked by comprehensively considering title relevance, source weight, publication year, citation count, and other dimensions. arXiv and PubMed carry the highest weight, and papers from the last 3 years get extra points.
One-click export
Search results can be exported in both CSV and BibTeX formats. BibTeX can be imported directly into LaTeX for writing papers, which is very convenient.
How to use
1. Deploy to Cloudflare Workers (optional)
git clone https://github.com/Tokisaki-Galaxy/bibliographySearchMCP.gitcd bibliographySearchMCPnpm installnpx wrangler loginnpx wrangler secret put GROQ_API_KEY # 可选,用于 LLM 查询规划npx wrangler secret put BAIDU_API_KEY # 可选,用于百度学术npm run deploy2. Configure in an MCP client
Using Claude Desktop as an example, add the following to the configuration file:
{ "mcpServers": { "bibliography-search": { "url": "https://bib.api.tski.uk/mcp" } }}3. Search directly in natural language
Once configured, just say it to your AI assistant:
Find me the latest papers on transformer for time series prediction
The AI automatically calls the search_papers tool and returns a structured list of papers, including title, authors, year, abstract, PDF link, and more.
Don’t want to deploy? Use API key passthrough
If you don’t want to deploy, you can pass your own API keys in the MCP request headers:
x-groq-api-key: gsk_your_key_herex-baidu-api-key: your_baidu_keyTechnical highlights
- TypeScript + Cloudflare Workers: edge computing, globally low latency
- JSON-RPC 2.0: strictly follows the MCP protocol specification
- LLM fallback strategy: automatically degrades to local dictionary analysis when Groq is unavailable
- Progressive search: queries high-weight databases first, then tops up if needed, avoiding unnecessary API calls
- Structured output: returns standardized Paper objects with complete metadata
Use cases
- Literature review: quickly understand the research landscape of a field
- Topic research: compare the research heat of different directions
- Cross-language Chinese/English retrieval: search both Chinese and English literature simultaneously for China-specific topics
- Paper writing: export BibTeX and use it directly in LaTeX
- AI-assisted research: make your AI assistant your literature retrieval assistant
Summary
Bibliography Search MCP combines academic search with AI assistants very well. It’s not a simple API wrapper — it genuinely understands the pain points of academic search: automatic language detection, query planning, multi-source fusion, intelligent ranking, and one-click export. Every step makes the search experience smoother.
If you frequently need to do literature research, or want an AI assistant to help with academic work, this project is worth trying.