dantebarross
MCP Serverdantebarrosspublic

science mcp

结合Claude 3或GPT-4o与MCP服务器,构建本地科研助手,支持论文搜索、工具调用和系统综述。

Repository Info

0
Stars
0
Forks
0
Watchers
0
Issues
Python
Language
-
License

About This Server

结合Claude 3或GPT-4o与MCP服务器,构建本地科研助手,支持论文搜索、工具调用和系统综述。

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

MCP-Powered Scientific Assistant 🚀

Bring Claude 3 or GPT-4o together with any Model Context Protocol (MCP) servers you like, to build a local assistant that can:

  • search, read and summarise research papers
  • call custom tools (e.g., a Lucene index, Google Drive, Fetch…)
  • cross-reference findings and help with systematic reviews

✨ Features

CapabilityDetails
Provider switchprovider=openai or provider=claude per request
Tool callingWorks with the official mcp SDK – any server that follows the spec
Streaming repliesFastAPI + Uvicorn StreamingResponse
Local-firstNo external costs beyond your chosen LLM model; MCP servers can run on your own machine

🛠️ Prerequisites

  • Python ≥ 3.10
  • Valid API keys for OpenAI or Anthropic Claude
    (put them in .env; an example file is provided)
  • One or more MCP servers running.

🚀 Quick start

# 1. Clone
git clone https://github.com/dantebarross/science_mcp.git
cd science_mcp

# 2. Python environment
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt

# 3. Configure secrets & MCP servers
cp .env.example .env
#   ↳ paste your own keys and server URLs

# 4. Run
dos2unix .env run_local.sh # If you are on WSL
chmod +x run_local.sh
./run_local.sh

Now open another terminal:

```bash
curl -N http://localhost:8000/chat \
     -H "Content-Type: application/json" \
     -d '{"message": "Search for a 2024 tDCS-EEG meta-analysis and summarise it.",
          "provider": "openai"}'

🧩 Adding MCP servers

This assistant can connect to any Model Context Protocol (MCP) server.

We recommend starting with three powerful local tools:

MCP Server CLIDescriptionInstall & RunDefault PortExample Tools
mcp-server-fetchFetches any URL and returns cleaned Markdown (great for PubMed/Arxiv abstracts).pip install mcp-server-fetch
FASTMCP_PORT=9100 mcp-server-fetch --transport sse
9100fetch(url)
minimaIndexes & vector-searches a local folder of PDFs/MD/TXT with RAG support (semantic search).cd mcp-servers/minima/mcp-server && pip install -e .
minima --dir ~/papers --transport sse --port 9200
9200search_docs(q), read_doc(path)
mcp-server-filesystemSandboxed file-system access to read/search any file under a root directory.pip install mcp-server-filesystem-python
FASTMCP_PORT=9300 python -m filesystem.server ~/papers --transport sse
9300read_file(path), search_files(q)

For minima's mcp server installation, you should install the requirements

cd mcp-servers/minima/mcp-server
pip install -e .

Run all three with:

dos2unix run_servers.sh # If you are on WSL
chmod +x run_servers.sh
./run_servers.sh # MCP tools on ports 9100 (fetch), 9200 (minima/search_docs), 9300 (filesystem)

---

## 🩺 Troubleshooting

* "`No MCP client for`" → URL typo or server not running.
* `401` from Anthropic/OpenAI → check your keys / billing.
* Slow answers -> try Claude "Haiku" or GPT-3.5 for speed.

---

## 📜 License

This template is MIT-licensed. Feel free to adapt for research or production.

Quick Start

1

Clone the repository

git clone https://github.com/dantebarross/science-mcp
2

Install dependencies

cd science-mcp
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownerdantebarross
Reposcience-mcp
LanguagePython
License-
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation