janis-r commited on
Commit
903fc5e
·
verified ·
1 Parent(s): b5ddf61

MapMyScience 0.5.1: the new name of LabScout; the address stays

Browse files
Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- # The LabScout web page and MCP server, as a Hugging Face Docker Space (port 7860, user 1000 as Spaces expect).
2
  FROM python:3.12-slim
3
 
4
  ENV PYTHONDONTWRITEBYTECODE=1 \
 
1
+ # The MapMyScience web page and MCP server, as a Hugging Face Docker Space (port 7860, user 1000 as Spaces expect).
2
  FROM python:3.12-slim
3
 
4
  ENV PYTHONDONTWRITEBYTECODE=1 \
README.md CHANGED
@@ -1,5 +1,5 @@
1
  ---
2
- title: LabScout
3
  emoji: 🔭
4
  colorFrom: green
5
  colorTo: blue
@@ -12,7 +12,9 @@ tags:
12
  - mcp-server
13
  ---
14
 
15
- # Actogram LabScout
 
 
16
 
17
  Find the labs, people and studies behind a research topic, on a map, from PubMed, Europe PMC, ROR, NIH RePORTER, UKRI
18
  Gateway to Research and ClinicalTrials.gov.
 
1
  ---
2
+ title: MapMyScience
3
  emoji: 🔭
4
  colorFrom: green
5
  colorTo: blue
 
12
  - mcp-server
13
  ---
14
 
15
+ # Actogram MapMyScience
16
+
17
+ MapMyScience was called LabScout until 26 November 2026; its address stays the same.
18
 
19
  Find the labs, people and studies behind a research topic, on a map, from PubMed, Europe PMC, ROR, NIH RePORTER, UKRI
20
  Gateway to Research and ClinicalTrials.gov.
pyproject.toml CHANGED
@@ -4,8 +4,8 @@ build-backend = "hatchling.build"
4
 
5
  [project]
6
  name = "labscout"
7
- version = "0.5.0"
8
- description = "LabScout finds the labs, people, grants, trials and patents behind a research topic from public sources, as a web page, a command line tool and an MCP server."
9
  readme = "README.md"
10
  license = "MIT"
11
  license-files = ["LICENSE"]
 
4
 
5
  [project]
6
  name = "labscout"
7
+ version = "0.5.1"
8
+ description = "MapMyScience finds the labs, people, grants, trials and patents behind a research topic from public sources, as a web page, a command line tool and an MCP server."
9
  readme = "README.md"
10
  license = "MIT"
11
  license-files = ["LICENSE"]
src/labscout/__init__.py CHANGED
@@ -1,3 +1,3 @@
1
- """LabScout: find the labs, people and studies behind a research topic."""
2
 
3
- __version__ = "0.5.0"
 
1
+ """MapMyScience: find the labs, people and studies behind a research topic."""
2
 
3
+ __version__ = "0.5.1"
src/labscout/export.py CHANGED
@@ -172,7 +172,7 @@ def to_xlsx(result: Result, path: str | Path) -> Path:
172
 
173
  path = Path(path)
174
  wb = Workbook()
175
- wb.properties.creator = wb.properties.lastModifiedBy = "Actogram LabScout"
176
  wb.properties.title = f"Labs for: {result.query}"
177
  bold, link = Font(bold=True), Font(color="006956", underline="single")
178
  wrap = Alignment(wrap_text=True, vertical="top") # one style object for all cells: a big sheet has 100,000 of them
@@ -208,7 +208,7 @@ def to_xlsx(result: Result, path: str | Path) -> Path:
208
  ["PubMed read the search as", result.translation],
209
  ["Notes on the search", " ".join(result.notes)],
210
  ["Created", result.created],
211
- ["Tool", f"Actogram LabScout {result.version}, https://github.com/actogram/scholar-mcp"],
212
  ["How to read it", HOW_TO_READ],
213
  ["Notes", SOURCES_NOTE],
214
  ):
@@ -257,7 +257,7 @@ def overview(result: Result) -> list[str]:
257
  papers = result.counts.get("papers", len(result.papers))
258
  if read:
259
  out.append(
260
- f"LabScout read {' and '.join(read)}" + (f": {_n(papers, 'different paper')}." if len(read) > 1 else ".")
261
  )
262
  countries = len({lab.organization.country_name or lab.organization.country for lab in result.labs} - {""})
263
  out.append(f"It found {_n(len(result.labs), 'lab')} in {countries} {'country' if countries == 1 else 'countries'}.")
@@ -394,7 +394,7 @@ def render_html(
394
  charts = country_bars(result) + year_columns(result)
395
  values = {
396
  "{{TITLE}}": e(f"Labs for: {result.query}"),
397
- "{{DESC}}": e(f"Labs working on {result.query}, on a map and in a table, from Actogram LabScout."),
398
  "{{QUERY}}": e(result.query),
399
  "{{OVERVIEW}}": "".join(f"<p>{e(line)}</p>" for line in overview(result)),
400
  "{{HINT}}": "".join(
@@ -541,7 +541,7 @@ footer { padding-top:18px; padding-bottom:28px; color:var(--soft); font-size:13.
541
  <tbody></tbody>
542
  </table></div>
543
  </main>
544
- <footer>{{FOOTER}}<p id="wrong"></p><p>Created {{CREATED}}. {{NOTE}}</p><p>Map tiles: &copy; OpenStreetMap contributors. Made with Actogram LabScout
545
  {{VERSION}}, <a href="https://github.com/actogram/scholar-mcp">github.com/actogram/scholar-mcp</a>.</p></footer>
546
  <script type="application/json" id="data">{{DATA}}</script>
547
  <script>
@@ -613,7 +613,7 @@ footer { padding-top:18px; padding-bottom:28px; color:var(--soft); font-size:13.
613
  });
614
  var mail = 'services@actogram.ai', where = location.protocol.indexOf('http') === 0 ? location.href : data.query;
615
  document.getElementById('wrong').innerHTML = 'Something wrong with an entry (a wrong organisation, two people shown as one)? ' +
616
- '<a href="mailto:' + mail + '?subject=' + enc('LabScout: a correction') + '&amp;body=' + enc('Search: ' + where + '\n\nWhat is wrong:\n') +
617
  '">Tell us</a> and we will correct it.';
618
  draw();
619
  window.labscoutMap = function () {
 
172
 
173
  path = Path(path)
174
  wb = Workbook()
175
+ wb.properties.creator = wb.properties.lastModifiedBy = "Actogram MapMyScience"
176
  wb.properties.title = f"Labs for: {result.query}"
177
  bold, link = Font(bold=True), Font(color="006956", underline="single")
178
  wrap = Alignment(wrap_text=True, vertical="top") # one style object for all cells: a big sheet has 100,000 of them
 
208
  ["PubMed read the search as", result.translation],
209
  ["Notes on the search", " ".join(result.notes)],
210
  ["Created", result.created],
211
+ ["Tool", f"Actogram MapMyScience {result.version}, https://github.com/actogram/scholar-mcp"],
212
  ["How to read it", HOW_TO_READ],
213
  ["Notes", SOURCES_NOTE],
214
  ):
 
257
  papers = result.counts.get("papers", len(result.papers))
258
  if read:
259
  out.append(
260
+ f"MapMyScience read {' and '.join(read)}" + (f": {_n(papers, 'different paper')}." if len(read) > 1 else ".")
261
  )
262
  countries = len({lab.organization.country_name or lab.organization.country for lab in result.labs} - {""})
263
  out.append(f"It found {_n(len(result.labs), 'lab')} in {countries} {'country' if countries == 1 else 'countries'}.")
 
394
  charts = country_bars(result) + year_columns(result)
395
  values = {
396
  "{{TITLE}}": e(f"Labs for: {result.query}"),
397
+ "{{DESC}}": e(f"Labs working on {result.query}, on a map and in a table, from Actogram MapMyScience."),
398
  "{{QUERY}}": e(result.query),
399
  "{{OVERVIEW}}": "".join(f"<p>{e(line)}</p>" for line in overview(result)),
400
  "{{HINT}}": "".join(
 
541
  <tbody></tbody>
542
  </table></div>
543
  </main>
544
+ <footer>{{FOOTER}}<p id="wrong"></p><p>Created {{CREATED}}. {{NOTE}}</p><p>Map tiles: &copy; OpenStreetMap contributors. Made with Actogram MapMyScience
545
  {{VERSION}}, <a href="https://github.com/actogram/scholar-mcp">github.com/actogram/scholar-mcp</a>.</p></footer>
546
  <script type="application/json" id="data">{{DATA}}</script>
547
  <script>
 
613
  });
614
  var mail = 'services@actogram.ai', where = location.protocol.indexOf('http') === 0 ? location.href : data.query;
615
  document.getElementById('wrong').innerHTML = 'Something wrong with an entry (a wrong organisation, two people shown as one)? ' +
616
+ '<a href="mailto:' + mail + '?subject=' + enc('MapMyScience: a correction') + '&amp;body=' + enc('Search: ' + where + '\n\nWhat is wrong:\n') +
617
  '">Tell us</a> and we will correct it.';
618
  draw();
619
  window.labscoutMap = function () {
src/labscout/pipeline.py CHANGED
@@ -579,7 +579,7 @@ def profile(
579
 
580
  last, first = split_name(name)
581
  no_orcids, no_names = hidden_people()
582
- gone = {"name": name, "error": "This researcher asked not to be shown in LabScout."}
583
  if name_key(last, first) in no_names:
584
  return gone
585
 
 
579
 
580
  last, first = split_name(name)
581
  no_orcids, no_names = hidden_people()
582
+ gone = {"name": name, "error": "This researcher asked not to be shown in MapMyScience."}
583
  if name_key(last, first) in no_names:
584
  return gone
585
 
src/labscout/server.py CHANGED
@@ -44,7 +44,7 @@ from .sources import PUBLICATION_SOURCES, clinicaltrials, nih_reporter, patents,
44
  from .text import _countries, _place_key, signals_of, species_of
45
 
46
  INSTRUCTIONS = (
47
- "LabScout finds who works on a research topic and where: the labs (a senior author at an organisation), their "
48
  "papers, grants, registered trials and patents, from PubMed, Europe PMC, the Research Organization Registry, NIH "
49
  "RePORTER, UKRI Gateway to Research and ClinicalTrials.gov. Start with find_labs for a topic, then lab_profile "
50
  "for one person. Give topics as a few key words in English (PubMed syntax works: quotes, AND, OR, NOT). Every "
@@ -61,10 +61,10 @@ AUTO_FULL = 12000 # records up to which find_labs reads everything by itself
61
  MAX_CHARS = 60000 # the largest answer of find_labs, in characters: assistants cut longer tool results
62
  # tool calls that may run or wait at one time; the next one is told to come back, so that the web page stays usable
63
  CALLS = threading.BoundedSemaphore(int(os.environ.get("LABSCOUT_MCP_CALLS", "16")))
64
- BUSY = "LabScout is busy: many searches are running. Please try again in a minute."
65
 
66
  mcp = MCPServer(
67
- name="labscout", title="Actogram LabScout", instructions=INSTRUCTIONS, website_url=REPO, version=__version__
68
  )
69
 
70
 
@@ -212,7 +212,7 @@ def _labs_answer(
212
  ]
213
  if not code and not labs:
214
  unknown = (
215
- f"LabScout does not know the country {country.strip()!r}; give its English name or two-letter code."
216
  )
217
  shown: list[dict[str, Any]] = []
218
  size = 0
 
44
  from .text import _countries, _place_key, signals_of, species_of
45
 
46
  INSTRUCTIONS = (
47
+ "MapMyScience finds who works on a research topic and where: the labs (a senior author at an organisation), their "
48
  "papers, grants, registered trials and patents, from PubMed, Europe PMC, the Research Organization Registry, NIH "
49
  "RePORTER, UKRI Gateway to Research and ClinicalTrials.gov. Start with find_labs for a topic, then lab_profile "
50
  "for one person. Give topics as a few key words in English (PubMed syntax works: quotes, AND, OR, NOT). Every "
 
61
  MAX_CHARS = 60000 # the largest answer of find_labs, in characters: assistants cut longer tool results
62
  # tool calls that may run or wait at one time; the next one is told to come back, so that the web page stays usable
63
  CALLS = threading.BoundedSemaphore(int(os.environ.get("LABSCOUT_MCP_CALLS", "16")))
64
+ BUSY = "MapMyScience is busy: many searches are running. Please try again in a minute."
65
 
66
  mcp = MCPServer(
67
+ name="labscout", title="Actogram MapMyScience", instructions=INSTRUCTIONS, website_url=REPO, version=__version__
68
  )
69
 
70
 
 
212
  ]
213
  if not code and not labs:
214
  unknown = (
215
+ f"MapMyScience does not know the country {country.strip()!r}; give its English name or two-letter code."
216
  )
217
  shown: list[dict[str, Any]] = []
218
  size = 0
src/labscout/sources/__init__.py CHANGED
@@ -1,4 +1,4 @@
1
- """The public sources LabScout reads: PubMed, Europe PMC, ROR, NIH RePORTER, UKRI Gateway to Research and
2
  ClinicalTrials.gov."""
3
 
4
  PUBLICATION_SOURCES = ("pubmed", "europepmc")
 
1
+ """The public sources MapMyScience reads: PubMed, Europe PMC, ROR, NIH RePORTER, UKRI Gateway to Research and
2
  ClinicalTrials.gov."""
3
 
4
  PUBLICATION_SOURCES = ("pubmed", "europepmc")
src/labscout/sources/pubmed.py CHANGED
@@ -240,7 +240,7 @@ def search(
240
  if progress:
241
  if meta.get("translation"):
242
  progress(f"PubMed read the search as: {str(meta['translation'])[:240]}")
243
- progress(f"PubMed has {int(meta.get('total', 0)):,} papers; LabScout takes {len(ids):,} of them")
244
  return fetch(http, ids, progress=progress)
245
 
246
 
 
240
  if progress:
241
  if meta.get("translation"):
242
  progress(f"PubMed read the search as: {str(meta['translation'])[:240]}")
243
+ progress(f"PubMed has {int(meta.get('total', 0)):,} papers; MapMyScience takes {len(ids):,} of them")
244
  return fetch(http, ids, progress=progress)
245
 
246
 
src/labscout/web.py CHANGED
@@ -152,7 +152,7 @@ def _year(value: str | None) -> int | None:
152
  return None
153
 
154
 
155
- def _page(body: str, title: str = "Actogram LabScout", status: int = 200) -> HTMLResponse:
156
  values = {
157
  "{{TITLE}}": html.escape(title),
158
  "{{BODY}}": body,
@@ -185,7 +185,7 @@ async def home(request: Request) -> HTMLResponse:
185
 
186
 
187
  async def privacy(request: Request) -> HTMLResponse:
188
- return _page(PRIVACY, title="Privacy | Actogram LabScout")
189
 
190
 
191
  def _work(key: str, topic: str, start: int | None, end: int | None, sources: list[str], order: str) -> None:
@@ -350,7 +350,7 @@ async def search(request: Request) -> Response:
350
  del _jobs[k]
351
  busy = sum(1 for j in _jobs.values() if "error" not in j)
352
  if busy >= MAX_WAITING:
353
- msg = "LabScout is busy: many searches are waiting. Please try again in a few minutes."
354
  return _page(FORM_ERROR.format(msg=msg), status=503)
355
  if not _allowed(_visitor(request)):
356
  return _page(
@@ -364,7 +364,7 @@ async def search(request: Request) -> Response:
364
  except RuntimeError: # no thread to be had: a search that nobody runs must not stay in the table
365
  with _lock:
366
  _jobs.pop(key, None)
367
- return _page(FORM_ERROR.format(msg="LabScout is busy. Please try again in a few minutes."), status=503)
368
  kinds = {True: "public", False: "inner", None: "unreadable"}
369
  seen = "/".join(kinds[public] for _, public in _forwarded(request)) or "none"
370
  log.info("search started: %s running or waiting, forwarded-for addresses: %s", busy + 1, seen)
@@ -372,7 +372,7 @@ async def search(request: Request) -> Response:
372
  steps, trail = _steps(job), _trail(job)
373
  waited = int(time.time() - job["started"])
374
  body = WAIT.format(topic=html.escape(topic), steps=steps, waited=waited, trail=trail, key=key)
375
- return _page(body, title="Searching | Actogram LabScout")
376
 
377
 
378
  async def status(request: Request) -> JSONResponse:
@@ -479,7 +479,7 @@ async def profile_page(request: Request) -> HTMLResponse:
479
  by_year=by_year or "no years given",
480
  back=e("search?" + urlencode(back)) if back else "./",
481
  )
482
- return _page(body, title=f"{shown} | Actogram LabScout")
483
 
484
 
485
  async def download(request: Request) -> Response:
@@ -662,7 +662,7 @@ form.busy .wait { display:block; }
662
  <body>
663
  <main>
664
  {{BODY}}
665
- <footer>Actogram LabScout {{VERSION}}. Open source under the MIT licence, made by
666
  <a href="{{SITE_URL}}">{{SITE_NAME}}</a>. Data from PubMed, Europe PMC, ROR, NIH RePORTER, UKRI
667
  Gateway to Research and ClinicalTrials.gov, shown as published, without e-mail addresses.
668
  <a href="privacy">Privacy</a>.</footer>
@@ -677,7 +677,7 @@ document.querySelectorAll('form').forEach(function (f) { f.addEventListener('sub
677
  FORM = """<div class="hero">
678
  <div>
679
  <h1>Who works on your topic, <span>and where?</span></h1>
680
- <p class="lead">LabScout reads the key papers on a topic from PubMed and Europe PMC, finds the lab behind each one,
681
  puts the labs on a map and says why each came up.</p>
682
  </div>
683
  {{ART}}
@@ -702,7 +702,7 @@ FORM = """<div class="hero">
702
  <button type="submit">Find labs</button>
703
  <p class="wait">Starting the search. The next page shows each step; most topics take under a minute, a very broad one
704
  with thousands of papers two or three.</p>
705
- <p class="note">LabScout reads up to {{MAX}} papers from each source: PubMed's best matches and the most cited on
706
  Europe PMC, or the newest. The last five years show the labs that are active now; clear the year to search all
707
  years.</p>
708
  </form>
@@ -711,7 +711,7 @@ FORM = """<div class="hero">
711
  <h2>How it works</h2>
712
  <ol class="how">
713
  <li>{{STEP_TOPIC}}<b>1. Type a topic</b><span>A few key words, or a PubMed search with quotes, OR and NOT.</span></li>
714
- <li>{{STEP_PAPERS}}<b>2. LabScout reads the papers</b><span>The {{MAX}} best matches on PubMed and the {{MAX}} most
715
  cited on Europe PMC, in the years you choose.</span></li>
716
  <li>{{STEP_LAB}}<b>3. It finds the lab behind each paper</b><span>The last author usually leads the lab. Their
717
  affiliation is matched to an organisation in the Research Organization Registry.</span></li>
@@ -747,12 +747,12 @@ FORM = """<div class="hero">
747
  <li>One person at two places is one lab when it is clearly the same person: the same city, the same ORCID iD or the
748
  same co-authors; the other places are listed under <i>also</i>. Otherwise the name shows twice, because it may be
749
  two people. Two people who share a last name and an initial are kept apart by their given names.</li>
750
- <li>LabScout shows what researchers have published. Use it to find research and collaborators, not to judge
751
  people.</li>
752
  </ul>
753
 
754
  <h2>Use it from your AI assistant</h2>
755
- <p>LabScout is also an MCP server with tools for labs, papers, researcher profiles, grants, trials and patents. Add this
756
  address as a custom connector in an assistant that supports MCP:</p>
757
  <p><code>{{MCP}}</code></p>
758
  <p>Then ask in plain words, for example:</p>
@@ -775,7 +775,7 @@ WAIT = """<h1>Searching for <span>{topic}</span></h1>
775
  shows the report when it is ready.</p>
776
  <ol class="steps" id="steps">{steps}</ol>
777
  <p class="note"><span id="waited">{waited}</span> seconds so far.</p>
778
- <h2>What LabScout is doing</h2>
779
  <ol class="trail" id="trail" aria-live="polite">{trail}</ol>
780
  <p><a href="./">Back to the search</a></p>
781
  <noscript><meta http-equiv="refresh" content="2"></noscript>
@@ -815,19 +815,19 @@ PROFILE = """<h1>{name}</h1>
815
  <p><a href="{back}">Back to the labs</a> &middot; <a href="./">New search</a></p>"""
816
 
817
  PRIVACY = """<h1>Privacy</h1>
818
- <p class="lead">What LabScout does with personal data, on this page and in its tools for AI assistants.</p>
819
 
820
  <h2>Who we are</h2>
821
- <p>LabScout is run by Actogram Ltd, registered in England and Wales (company No. 14594952), 71-75 Shelton Street,
822
  Covent Garden, London WC2H 9JQ, United Kingdom, and registered with the UK Information Commissioner's Office
823
  (ZC252163). For anything about your data, write to <a href="mailto:services@actogram.ai">services@actogram.ai</a>.
824
  Our representative in the EU is Prighter:
825
  <a href="https://app.prighter.com/portal/11935821603">app.prighter.com/portal/11935821603</a>.</p>
826
 
827
- <h2>When you use LabScout</h2>
828
  <ul class="plain">
829
  <li>There are no accounts, no cookies and no analytics.</li>
830
- <li>Hugging Face hosts LabScout and processes technical data such as your IP address to deliver the page; see the
831
  <a href="https://huggingface.co/privacy">Hugging Face privacy policy</a>.</li>
832
  <li>To keep the tool fair, the page counts the searches from each IP address for one hour. The count stays in the
833
  server's memory and is not stored.</li>
@@ -841,13 +841,13 @@ PRIVACY = """<h1>Privacy</h1>
841
  <li>Requests from an AI assistant are handled the same way.</li>
842
  </ul>
843
 
844
- <h2>Researchers shown in LabScout</h2>
845
- <p>LabScout shows what researchers have made public in their work: names and affiliations as printed in
846
  publications, grants and trial registers, the places of those organisations, and the publications, grants and
847
  studies themselves. It takes them from PubMed, Europe PMC (including its patent records), the Research Organization
848
  Registry, NIH RePORTER, UKRI Gateway to Research and ClinicalTrials.gov. It removes e-mail addresses and collects no
849
  other contact details.</p>
850
- <p>The legal basis is our legitimate interest, and that of the people who use LabScout, in finding research and
851
  collaborators. The information is professional, already public and shown in its original context.</p>
852
  <p>You can object at any time and ask us to hide your entry, or tell us that an entry is wrong (a wrong
853
  organisation, two people shown as one). Write to
 
152
  return None
153
 
154
 
155
+ def _page(body: str, title: str = "Actogram MapMyScience", status: int = 200) -> HTMLResponse:
156
  values = {
157
  "{{TITLE}}": html.escape(title),
158
  "{{BODY}}": body,
 
185
 
186
 
187
  async def privacy(request: Request) -> HTMLResponse:
188
+ return _page(PRIVACY, title="Privacy | Actogram MapMyScience")
189
 
190
 
191
  def _work(key: str, topic: str, start: int | None, end: int | None, sources: list[str], order: str) -> None:
 
350
  del _jobs[k]
351
  busy = sum(1 for j in _jobs.values() if "error" not in j)
352
  if busy >= MAX_WAITING:
353
+ msg = "MapMyScience is busy: many searches are waiting. Please try again in a few minutes."
354
  return _page(FORM_ERROR.format(msg=msg), status=503)
355
  if not _allowed(_visitor(request)):
356
  return _page(
 
364
  except RuntimeError: # no thread to be had: a search that nobody runs must not stay in the table
365
  with _lock:
366
  _jobs.pop(key, None)
367
+ return _page(FORM_ERROR.format(msg="MapMyScience is busy. Please try again in a few minutes."), status=503)
368
  kinds = {True: "public", False: "inner", None: "unreadable"}
369
  seen = "/".join(kinds[public] for _, public in _forwarded(request)) or "none"
370
  log.info("search started: %s running or waiting, forwarded-for addresses: %s", busy + 1, seen)
 
372
  steps, trail = _steps(job), _trail(job)
373
  waited = int(time.time() - job["started"])
374
  body = WAIT.format(topic=html.escape(topic), steps=steps, waited=waited, trail=trail, key=key)
375
+ return _page(body, title="Searching | Actogram MapMyScience")
376
 
377
 
378
  async def status(request: Request) -> JSONResponse:
 
479
  by_year=by_year or "no years given",
480
  back=e("search?" + urlencode(back)) if back else "./",
481
  )
482
+ return _page(body, title=f"{shown} | Actogram MapMyScience")
483
 
484
 
485
  async def download(request: Request) -> Response:
 
662
  <body>
663
  <main>
664
  {{BODY}}
665
+ <footer>Actogram MapMyScience {{VERSION}}. Open source under the MIT licence, made by
666
  <a href="{{SITE_URL}}">{{SITE_NAME}}</a>. Data from PubMed, Europe PMC, ROR, NIH RePORTER, UKRI
667
  Gateway to Research and ClinicalTrials.gov, shown as published, without e-mail addresses.
668
  <a href="privacy">Privacy</a>.</footer>
 
677
  FORM = """<div class="hero">
678
  <div>
679
  <h1>Who works on your topic, <span>and where?</span></h1>
680
+ <p class="lead">MapMyScience reads the key papers on a topic from PubMed and Europe PMC, finds the lab behind each one,
681
  puts the labs on a map and says why each came up.</p>
682
  </div>
683
  {{ART}}
 
702
  <button type="submit">Find labs</button>
703
  <p class="wait">Starting the search. The next page shows each step; most topics take under a minute, a very broad one
704
  with thousands of papers two or three.</p>
705
+ <p class="note">MapMyScience reads up to {{MAX}} papers from each source: PubMed's best matches and the most cited on
706
  Europe PMC, or the newest. The last five years show the labs that are active now; clear the year to search all
707
  years.</p>
708
  </form>
 
711
  <h2>How it works</h2>
712
  <ol class="how">
713
  <li>{{STEP_TOPIC}}<b>1. Type a topic</b><span>A few key words, or a PubMed search with quotes, OR and NOT.</span></li>
714
+ <li>{{STEP_PAPERS}}<b>2. MapMyScience reads the papers</b><span>The {{MAX}} best matches on PubMed and the {{MAX}} most
715
  cited on Europe PMC, in the years you choose.</span></li>
716
  <li>{{STEP_LAB}}<b>3. It finds the lab behind each paper</b><span>The last author usually leads the lab. Their
717
  affiliation is matched to an organisation in the Research Organization Registry.</span></li>
 
747
  <li>One person at two places is one lab when it is clearly the same person: the same city, the same ORCID iD or the
748
  same co-authors; the other places are listed under <i>also</i>. Otherwise the name shows twice, because it may be
749
  two people. Two people who share a last name and an initial are kept apart by their given names.</li>
750
+ <li>MapMyScience shows what researchers have published. Use it to find research and collaborators, not to judge
751
  people.</li>
752
  </ul>
753
 
754
  <h2>Use it from your AI assistant</h2>
755
+ <p>MapMyScience is also an MCP server with tools for labs, papers, researcher profiles, grants, trials and patents. Add this
756
  address as a custom connector in an assistant that supports MCP:</p>
757
  <p><code>{{MCP}}</code></p>
758
  <p>Then ask in plain words, for example:</p>
 
775
  shows the report when it is ready.</p>
776
  <ol class="steps" id="steps">{steps}</ol>
777
  <p class="note"><span id="waited">{waited}</span> seconds so far.</p>
778
+ <h2>What MapMyScience is doing</h2>
779
  <ol class="trail" id="trail" aria-live="polite">{trail}</ol>
780
  <p><a href="./">Back to the search</a></p>
781
  <noscript><meta http-equiv="refresh" content="2"></noscript>
 
815
  <p><a href="{back}">Back to the labs</a> &middot; <a href="./">New search</a></p>"""
816
 
817
  PRIVACY = """<h1>Privacy</h1>
818
+ <p class="lead">What MapMyScience does with personal data, on this page and in its tools for AI assistants.</p>
819
 
820
  <h2>Who we are</h2>
821
+ <p>MapMyScience is run by Actogram Ltd, registered in England and Wales (company No. 14594952), 71-75 Shelton Street,
822
  Covent Garden, London WC2H 9JQ, United Kingdom, and registered with the UK Information Commissioner's Office
823
  (ZC252163). For anything about your data, write to <a href="mailto:services@actogram.ai">services@actogram.ai</a>.
824
  Our representative in the EU is Prighter:
825
  <a href="https://app.prighter.com/portal/11935821603">app.prighter.com/portal/11935821603</a>.</p>
826
 
827
+ <h2>When you use MapMyScience</h2>
828
  <ul class="plain">
829
  <li>There are no accounts, no cookies and no analytics.</li>
830
+ <li>Hugging Face hosts MapMyScience and processes technical data such as your IP address to deliver the page; see the
831
  <a href="https://huggingface.co/privacy">Hugging Face privacy policy</a>.</li>
832
  <li>To keep the tool fair, the page counts the searches from each IP address for one hour. The count stays in the
833
  server's memory and is not stored.</li>
 
841
  <li>Requests from an AI assistant are handled the same way.</li>
842
  </ul>
843
 
844
+ <h2>Researchers shown in MapMyScience</h2>
845
+ <p>MapMyScience shows what researchers have made public in their work: names and affiliations as printed in
846
  publications, grants and trial registers, the places of those organisations, and the publications, grants and
847
  studies themselves. It takes them from PubMed, Europe PMC (including its patent records), the Research Organization
848
  Registry, NIH RePORTER, UKRI Gateway to Research and ClinicalTrials.gov. It removes e-mail addresses and collects no
849
  other contact details.</p>
850
+ <p>The legal basis is our legitimate interest, and that of the people who use MapMyScience, in finding research and
851
  collaborators. The information is professional, already public and shown in its original context.</p>
852
  <p>You can object at any time and ask us to hide your entry, or tell us that an entry is wrong (a wrong
853
  organisation, two people shown as one). Write to