Skip to main content
Glama
SourceAtlas MCP

SourceAtlas MCP

SourceAtlas MCP

The evidence desk

A local research companion for organizing the references already in your hands.

Catalog entry

Details

Edition

0.1.0

Interface

MCP over stdio

Storage

In-memory; no persistent dossier

Scope

Caller-provided public-source metadata

Verification

Formatting and metadata only

License: MIT Runtime: offline Repository stars CI


SourceAtlas turns public-source metadata you already possess into organized research notes. It validates identifier syntax, detects duplicates and conflicting metadata, flags age and missing fields, and drafts citations and evidence tables. No web retrieval, browser connection, authentication, or source verification is performed.

Open your workspace

Use Python 3.10 or newer in a virtual environment. Dependency installation requires package access; the server itself processes metadata locally.

git clone https://github.com/ahmedsaeed1-eng/sourceatlas-mcp.git
cd sourceatlas-mcp
python -m venv .venv
# Activate the virtual environment for your OS.
python -m pip install .
python -m sourceatlas_mcp

The final command launches an MCP server over stdio. It waits for protocol messages; it does not display an interactive terminal interface.

Configure an MCP-compatible client with an absolute path to the Python executable in the environment where the package is installed. Adapt this generic stdio example to your client's format:

{
  "mcpServers": {
    "sourceatlas": {
      "command": "/absolute/path/to/venv/bin/python",
      "args": ["-m", "sourceatlas_mcp"]
    }
  }
}

On Windows, use the virtual environment's .venv\Scripts\python.exe path and escape backslashes in JSON.

Related MCP server: io.github.Hylouis233/bibverify

Evidence desk · catalog tools

Tool

Input

Output

normalize_source

one record

normalized URL/DOI and validated fields

group_sources

1–100 records

unique groups, conflicting values, member indexes

format_citation

one record

plain-language draft citation

check_recency

records, reference date, max age

recency statuses and missing metadata

build_evidence_table

records

Markdown evidence inventory

Each record requires a title and at least one URL or DOI. Optional fields: publisher, published (YYYY-MM-DD), kind (primary, secondary, tertiary, unknown), claim, and summary. Unknown fields are rejected. Strings are bounded and control characters rejected.

Reference card · example

Pass an array of record objects to group_sources:

[
  {
    "title": "Example public report",
    "url": "https://example.org/report?id=1&utm_source=newsletter#top",
    "publisher": "Example publisher",
    "published": "2024-01-01",
    "kind": "primary"
  },
  {
    "title": "Example public report",
    "url": "https://EXAMPLE.org:443/report?id=1",
    "published": "2024-01-02"
  }
]

These illustrative records group together because the normalized URLs match. The differing publication dates are preserved as a conflict. SourceAtlas keeps the first supplied nonempty value for display and reports all distinct conflicting values. Input positions are zero-based. A record sharing both a DOI and URL can connect groups; conflicting identifiers are explicitly reported.

The reference-date check classifies records as recent, stale, missing, future or conflicting. The threshold is inclusive; the default is 365 days. It does not estimate credibility or validate a publisher's reputation.

Provenance and boundaries

  • No HTTP requests, browser automation, account access, cookies or source downloads.

  • URL normalization is only for grouping identity. It lowercases scheme/host, strips default port, fragment, and common tracking parameters; query fields are decoded and re-encoded in existing order; invalid UTF-8 query escapes are rejected. It does not establish that a domain resolves to a public address, and is not a security URL validator.

  • DOI validation checks common DOI syntax only. Neither references nor claims are verified. Draft citations are not compliance guarantees for formal styles.

  • No storage, background research, external services, or automatic publication.

  • Metadata is untrusted text; Markdown table delimiters and markup are escaped. Do not submit private records, access tokens, or signed URLs.

Validation checklist

python -m unittest discover -s tests -v

The suite covers URL/DOI normalization, connected duplicate groups, conflicts, invalid input, recency, Markdown escaping, and a real stdio MCP client session exercising all five tools. CI is configured for Linux, Windows and macOS.

License

MIT. See LICENSE and third-party credits. This project is independent and does not incorporate Agent Reach source code.

Distribution and MCP launch

After installation, sourceatlas-mcp starts the same stdio MCP server as the module invocation above. Once the version is published to PyPI, an MCP client with uvx can launch it using:

uvx sourceatlas-mcp==0.1.0

This repository contains registry metadata and a manually dispatched packaging workflow. Package and MCP registry publication are separate steps; the metadata alone does not publish them.

Available Tools

5 tools
build_evidence_tableB

Render a Markdown inventory of deduplicated caller-supplied public sources and conflicts.

Inputs: records (required). Returns: result

check_recencyC

Report date age, missing metadata and conflicts for a caller-supplied YYYY-MM-DD reference date.

Inputs: as_of (required), records (required), max_age_days.

format_citationC

Create a plain-language draft citation from supplied source metadata.

Inputs: record (required). Returns: result

group_sourcesB

Identify duplicate sources by supplied DOI and normalized URL; show metadata conflicts and input indexes.

Inputs: records (required).

normalize_sourceB

Normalize a supplied source URL or DOI and validate metadata syntax without network access.

Inputs: record (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 5 tools

    Disambiguation4/5

    Each tool has a distinct action: normalize, group, format, check recency, and build a table. There is some overlap because group_sources, check_recency, and build_evidence_table all surface metadata conflicts/deduplication context, but the descriptions make the primary outputs reasonably distinguishable.

    Naming Consistency5/5

    All names follow a consistent snake_case verb_noun convention: normalize_source, group_sources, format_citation, check_recency, build_evidence_table. No mixed casing or inconsistent verb styles are present.

    Tool Count5/5

    Five tools is well-scoped for a read-only source-analysis server. Each tool corresponds to a clear step in normalization, deduplication, citation, recency review, and evidence-table generation.

    Completeness4/5

    The surface covers the core lifecycle of source handling: normalization, duplicate grouping, citation drafting, recency checks, and evidence-table rendering. Minor gaps remain, such as explicit metadata extraction or richer citation formatting, but nothing critical for the apparent no-network scope.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      C
      maintenance
      Enables locally-first literature research through an MCP host by collecting sources, parsing documents, retrieving evidence, validating citations, and exporting research records in multiple formats.
      38
      MIT
    • F
      license
      Not graded
      quality
      A
      maintenance
      Enables researchers and AI assistants to verify bibliographic existence and metadata consistency, resolve DOI, PMID, PMCID, and arXiv identifiers, and perform explainable multi-source matching without destructive edits.
      -
    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables searching biomedical literature across PubMed and Europe PMC, fetching article metadata and full text with PMC, Europe PMC, and Unpaywall fallbacks, finding related, citing, and referenced works, converting DOI/PMID/PMCID identifiers, resolving partial citations, formatting references in several styles, and grounding queries in MeSH vocabulary. Runs over STDIO or Streamable HTTP.
      9 npm
      MIT
    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables searching biomedical literature across PubMed, PubMed Central, and Europe PMC, fetching article metadata and full text, finding related, citing, and cited work, resolving identifiers and partial citations, formatting references, and grounding queries in MeSH vocabulary. Runs over stdio or Streamable HTTP, locally or as a hosted endpoint.
      9 npm
      MIT