Sponsored by Deepsite.site

🧠 OSDR MCP Server + Agents

Created By
alwalt8 months ago
Content

🧠 OSDR MCP Server + Agents

This repo demonstrates how to integrate MCP agents with custom tools for interacting with NASA’s Open Science Data Repository (OSDR). It includes working examples of agent workflows that fetch, analyze, and summarize biological data using the Model Context Protocol (MCP).

📦 What’s Inside

osdr_mcp/

Custom MCP server exposing tools for interacting with OSDR data:

  • osdr_fetch_metadata: Fetches metadata for a given OSDR dataset
  • osdr_find_by_organism: Filters studies by organism
  • Additional tools (e.g. RNA analysis) live in osdr_viz_tools

first_example/

A simple agent that uses two official MCP servers:

  • mcp-server-fetch (headless browser)
  • mcp-server-filesystem

This agent gathers information and generates a tweet-sized summary.

second_example/

Similar to first_example but connects to a custom MCP server defined in osdr_mcp/main_simple.py. Demonstrates how to plug in domain-specific tools like OSDR metadata fetchers.

third_example/

A full multi-agent workflow:

  1. Fetch Agent – Grabs OSD study metadata
  2. Quant Analysis Agent – Downloads RNA count data and creates a bar plot
  3. Summary Writer Agent – Generates a markdown report summarizing the analysis

Uses custom MCP servers:

  • osdr_data_fetch
  • osdr_viz_tools

⚙️ Configuration

The cp_agent.config.yaml file controls:

  • LLM backend (e.g. Ollama, OpenAI)
  • MCP server connections
  • Tool availability
  • System prompts / metadata

🚀 Getting Started

  1. Clone this repo
  2. Install dependencies:
    pip install -r requirements.txt
    
  3. Run an example:
    python first_example/main.py
    

Or launch the MCP server directly:

python osdr_mcp/main_simple.py

🧩 Integration Notes

This architecture is built for flexibility. You can toggle between document Q&A, RAG search, or custom analysis tools. A mode switch or UI toggle is ideal for user-facing integration. Support for Milvus-based RAG via MCP is on the roadmap.

📚 Resources

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Tavily Mcp
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
ChatWiseThe second fastest AI chatbot™
Serper MCP ServerA Serper MCP Server
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
CursorThe AI Code Editor
DeepChatYour AI Partner on Desktop
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Amap Maps高德地图官方 MCP Server
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Playwright McpPlaywright MCP server
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
WindsurfThe new purpose-built IDE to harness magic