File size: 5,555 Bytes
5affb13
5d12635
 
 
5affb13
 
f236de1
5d9e8aa
6fbbcda
bcc3c5a
fd1472e
bcc3c5a
2761632
7601984
bcc3c5a
 
5d12635
 
 
 
2761632
 
bcc3c5a
 
 
 
5affb13
 
5d12635
25c3a8b
b9c529a
 
 
bcc3c5a
 
 
 
 
 
 
5d12635
bcc3c5a
 
 
 
 
 
 
 
25c3a8b
2761632
 
1f17689
bcc3c5a
 
1f17689
c6e9843
1f17689
c6e9843
2761632
5d12635
 
bcc3c5a
 
 
 
 
 
 
 
 
5d12635
25c3a8b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10e234c
25c3a8b
 
 
 
10e234c
 
 
 
 
 
 
 
 
 
 
5d12635
10e234c
 
 
 
 
 
 
1f17689
 
 
 
10e234c
25c3a8b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5d12635
25c3a8b
5d12635
25c3a8b
 
 
 
1f17689
 
 
 
 
2761632
 
 
7928fa4
bcc3c5a
 
 
 
 
 
 
 
 
 
2761632
 
 
bcc3c5a
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
---
title: DeepBoner
emoji: πŸ†
colorFrom: pink
colorTo: purple
sdk: gradio
sdk_version: "6.0.1"
python_version: "3.11"
app_file: src/app.py
pinned: true
license: apache-2.0
short_description: "Deep Research Agent for the Strongest Boners πŸ’ͺπŸ”¬"
tags:
  - mcp-in-action-track-enterprise
  - mcp-hackathon
  - agents
  - sexual-health
  - reproductive-medicine
  - hormone-therapy
  - wellness-research
  - pydantic-ai
  - llamaindex
  - pubmed
  - clinical-trials
  - evidence-based
  - multi-agent
---

# DeepBoner πŸ†

[![CI](https://github.com/The-Obstacle-Is-The-Way/DeepBoner/actions/workflows/ci.yml/badge.svg)](https://github.com/The-Obstacle-Is-The-Way/DeepBoner/actions/workflows/ci.yml)
[![codecov](https://codecov.io/gh/The-Obstacle-Is-The-Way/DeepBoner/branch/main/graph/badge.svg)](https://codecov.io/gh/The-Obstacle-Is-The-Way/DeepBoner)

> **"Peer-reviewed boners only. We take evidence-based arousal very seriously."** πŸ”¬

### AI-Powered Deep Research Agent for Sexual Health

Making the world harder, one PubMed query at a time. πŸ’ͺ

Deep research for sexual wellness, ED treatments, hormone therapy, libido, and reproductive health - **for all genders**. Because everyone deserves rock-solid scientific evidence for their intimate health questions.

## Why DeepBoner?

Sexual health is health. Period. Yet it remains one of the most under-researched and stigmatized areas of medicine. We built DeepBoner to:

- **Break the stigma** - Ask your embarrassing questions to an AI, not a judgmental search engine
- **Get real science** - Every answer backed by peer-reviewed research from PubMed & clinical trials
- **Cover everyone** - ED, libido, hormones, menopause, HSDD, reproductive health - all genders welcome
- **Stay current** - Access the latest clinical trials and preprints, not decade-old WebMD articles

## Features

- πŸ” **Multi-Source Deep Search**: PubMed, ClinicalTrials.gov, Europe PMC, OpenAlex - simultaneously
- πŸ€– **MCP Integration**: Use our tools from Claude Desktop or any MCP client
- 🧠 **Smart Evidence Synthesis**: LLM-powered judge evaluates and synthesizes findings
- πŸ”¬ **Evidence Deduplication**: Cross-source dedup by PMID/DOI prevents duplicate papers
- ⚑ **Unified Architecture**: Same powerful multi-agent orchestration for everyone
- πŸ†“ **Free Tier**: Works without API keys (HuggingFace Qwen 2.5 7B)
- πŸš€ **Paid Tier**: Unlocks GPT-5 automatically when OpenAI key is provided

## Example Queries

Ask anything about sexual health. We don't judge. The science does.

- πŸ’Š "What drugs improve female libido post-menopause?"
- πŸ§ͺ "Clinical trials for ED alternatives to PDE5 inhibitors?"
- πŸ”¬ "Evidence for testosterone therapy in women with HSDD?"
- ⚠️ "Drug interactions with sildenafil?"
- πŸ“Š "Latest research on flibanserin efficacy?"
- 🩺 "Non-hormonal treatments for vaginal dryness?"
- πŸ’ͺ "Natural supplements for erectile function - what actually works?"

## Quick Start

### 1. Environment Setup

```bash
# Install uv if you haven't already
pip install uv

# Sync dependencies
uv sync
```

### 2. Run the UI

```bash
# Start the Gradio app
uv run python src/app.py
```

Open your browser to `http://localhost:7860`.

### 3. Connect via MCP

This application exposes a Model Context Protocol (MCP) server, allowing you to use its search tools directly from Claude Desktop or other MCP clients.

**MCP Server URL**: `http://localhost:7860/gradio_api/mcp/`

**Claude Desktop Configuration**:
Add this to your `claude_desktop_config.json`:
```json
{
  "mcpServers": {
    "deepboner": {
      "url": "http://localhost:7860/gradio_api/mcp/"
    }
  }
}
```

**Available Tools**:
- `search_pubmed`: Search peer-reviewed biomedical literature
- `search_clinical_trials`: Search ClinicalTrials.gov for active/completed trials
- `search_europepmc`: Search Europe PMC preprints and papers
- `search_all_sources`: Search all sources simultaneously with deduplication

## Development

### Run Tests

```bash
uv run pytest
```

### Run Checks

```bash
make check
```

## Architecture

DeepBoner uses a Vertical Slice Architecture:

1.  **Search Slice**: Retrieving evidence from PubMed, ClinicalTrials.gov, and Europe PMC.
2.  **Judge Slice**: Evaluating evidence quality using LLMs.
3.  **Orchestrator Slice**: Managing the research loop and UI.

Built with:
- **Agent Framework**: Microsoft's agent-framework-core for multi-agent orchestration
- **Gradio**: For the streaming user interface with MCP server
- **PubMed, ClinicalTrials.gov, Europe PMC, OpenAlex**: For biomedical data
- **ChromaDB + Sentence-Transformers**: For evidence deduplication and RAG
- **LangGraph**: For workflow state management

## Team

Built with love (and rigorous methodology) by **The-Obstacle-Is-The-Way**

## Hackathon

**MCP 1st Birthday Hackathon** - Track 2: MCP in Action (Enterprise)

We believe sexual health research deserves the same AI-powered tooling as every other medical domain. This is our contribution to normalizing conversations about intimate health through technology.

## Disclaimer

⚠️ **This is a research tool, not medical advice.** Always consult a healthcare provider for personal medical decisions. We search the literature - we don't replace your doctor.

## Links

- πŸ”— [GitHub Repository](https://github.com/The-Obstacle-Is-The-Way/DeepBoner)
- 🐦 [Launch Tweet](https://x.com/VibeCoderMcSwag/status/1994591979070423086)
- πŸ€— [HuggingFace Space](https://huggingface.co/spaces/MCP-1st-Birthday/DeepBoner)

---

*"The science is rock solid."* πŸͺ¨