Novelty Research MCP
Enables source-grounded prior-art and novelty research by searching patents, publications, and the web in one run, verifying evidence levels, and returning a structured report.
README
Novelty Research MCP
An MCP server for source-grounded prior-art and novelty research. Given a plain-language description of an invention, it searches patents, scientific publications and the web in one run, verifies what each source actually supports, and returns a report with an explicit evidence level for every finding.
Orchestrated through Flowise; the retrieval, grading and report generation happen entirely inside the MCP server.
What it does
Most research assistants return a list of links and let the model summarise them. This server does the opposite: it decides what a source actually proves before anything is written.
- Three source types in one workflow — patents, publications and web, each with its own providers and fallbacks.
- Explicit evidence levels — a claim read from a patent document is not treated the same as a search-result snippet (see the table below).
- Persistent session state — every attempt, hit and verdict is stored in SQLite, so retries and the final report work from recorded evidence rather than conversation history.
- Retry budgets with a checklist — the workflow decides on its own whether the evidence is good enough to finalise or whether a source needs another attempt.
- Multilingual input — a non-English query is paired with an English search variant so retrieval quality does not depend on the language the user typed in.
- Deterministic server side — query understanding, relevance scoring and report rendering use no LLM inside the MCP server. The language model only orchestrates tool calls.
How it works
flowchart TD
U([User query]) --> S[research_session_start]
S --> Q[research_session_understand_query]
Q --> P[patent_evidence_to_session]
Q --> B[publication_evidence_to_session]
Q --> W[web_evidence_to_session]
P --> C{research_session_checklist}
B --> C
W --> C
C -->|needs more evidence| P
C -->|can finalise| A[research_session_user_answer]
A --> R([Report with verdict,<br/>confidence and sources])
The supervisor in Flowise only calls tools and passes identifiers around — it never sees raw evidence. All retrieval, grading and rendering stay in the MCP server.
MCP tools
| Tool | Purpose |
|---|---|
research_session_start |
Creates or resumes a research session |
research_session_understand_query |
Stores the query, its English variant and its requirement elements |
patent_evidence_to_session |
Retrieves, grades and stores patent findings |
publication_evidence_to_session |
Retrieves, grades and stores publication findings |
web_evidence_to_session |
Retrieves, grades and stores web findings |
research_session_checklist |
Decides between another retry and finalisation |
research_session_user_answer |
Renders the final user-facing report |
Evidence levels
Every finding carries the level of verification that was actually reached:
| Level | Meaning |
|---|---|
claim_verified |
Patent claims were read from the document itself |
abstract_verified |
An abstract was retrieved and verified |
verified_metadata / fetched_excerpt |
Metadata or page text was retrieved |
search_snippet_only |
Only a search-result snippet — weak evidence |
fetch_failed / fetch_timeout |
Retrieval failed; not evidence of absence |
Requirements
- Docker Desktop, installed and running
- An OpenAI API key, set inside Flowise after importing the architecture
- Optional API keys in
.envfor fuller retrieval
Recommended keys (all optional — the system degrades gracefully without them):
| Variable | Used for |
|---|---|
GOOGLE_CSE_API_KEY, GOOGLE_CSE_ID |
Primary web search backend |
TAVILY_API_KEY, EXA_API_KEY |
Web and patent search fallbacks |
SEMANTIC_SCHOLAR_API_KEY |
Higher rate limits for publication search |
Quick start
cp .env.example .env
Fill in your keys in .env, then:
docker compose up --build
Once both containers are up:
- Flowise —
http://localhost:3000 - MCP server —
http://localhost:8000/mcp
The MCP server prints its Flowise connection URL to the terminal on startup.
Importing the Flowise architecture
- Open Flowise at
http://localhost:3000 - Import
flowise_architecture/Flowise_agent.json - Set your own OpenAI credential for the language model
- Check that the Custom MCP node points to
http://host.docker.internal:8000/mcp(this is how the Flowise container reaches the MCP server under Docker Desktop)
Example query
Describe the solution — its purpose, technical elements, how it works and what it should achieve. English and Slovak inputs are both supported.
Verify whether a system already exists for detecting anomalies in application logs that
processes events in real time, uses machine learning to recognise unusual patterns,
automatically creates an incident and notifies an administrator.
The workflow will call the tools in the order shown in the diagram above and return a report containing a verdict, a confidence level, the retrieval completeness, per-source quality and a list of the sources it actually used.
Troubleshooting
If Flowise returns no answer or the workflow reports an error:
- check that both containers are running —
docker compose ps - check that the MCP server responds at
http://localhost:8000/mcp - check that the Custom MCP node uses
http://host.docker.internal:8000/mcp - check that
.envcontains your API keys - check that an OpenAI credential is set in Flowise
Logs: docker compose logs -f
Data and shutdown
Flowise state lives in the flowise_data Docker volume; the research SQLite database lives in
mcp_research_data at /app/data/research_sessions.sqlite3.
docker compose down
This keeps the data. To remove the volumes as well:
docker compose down -v
Repository contents
| Path | Contents |
|---|---|
server.py |
MCP tool registration |
server_http.py |
HTTP entry point used by the Docker image |
tools/ |
Retrieval, storage, verification and grading implementation |
flowise_architecture/ |
The Flowise architecture to import |
flowise_baselines/ |
Simpler RAG architectures, used only for comparison |
terminal_ui.py |
Startup banner for the HTTP server |
About this repository
This project started as my bachelor's thesis. The v1.0-thesis tag marks the code exactly as
it was submitted, with no later edits. Everything after that tag is incremental improvement —
bug fixes, a test suite and measurable output-quality work — so the development remains
traceable from the original submission.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.