GL1X · GenesisL1 explorer

GL1X docs · Papers

GL1X: an MCP-native blockchain explorer for agentic exploration of a scientific Layer-1

GL1X project, Decentralized Science Labs LLC · October 2026 · describes GL1X 3.5.0

Abstract #

Block explorers are how people read blockchains; language-model agents now read them too, through tools. The Model Context Protocol (MCP) gives agents a standard way to discover and call tools, read resources and use prompts, and explorer operators have begun to offer MCP servers as separate services in front of their APIs. We describe GL1X, the explorer of the GenesisL1 blockchain, in which MCP is a first-class interface of the explorer itself: the process that serves the web pages and APIs answers MCP requests, its 87 tools reach every ledger view, every documented API route, every decentralized application (on-chain machine-learning inference, chess against a neural network stored in a contract, market models) and every scientific service (molecular search, BLAST, sequence proofs, structure alignment and search, a ligand index, full-atom structure analysis and pockets, proteomics, alignments, coevolution and profile HMMs, variant effects, molecular features, machine-learning datasets), and its documentation is served as MCP resources alongside prompts that chain the tools. Tools are thin descriptions of explorer routes run in-process through the explorer's response cache and admission control, so an agent receives the bytes a page receives, at the cost of a cache hit when the answer is hot. On a 2-vCPU machine, 32 concurrent agents sustained 1,054 tool calls per second with a 99th percentile latency of 164 ms. We argue that building MCP into the explorer, rather than next to it, yields parity between what people and agents see, keeps one implementation of every fact, bounds agent load with the mechanisms that already protect the explorer, and lets agents verify what they read.

Keywords: Model Context Protocol, AI agents, block explorer, tool use, verifiable data, decentralized science.

1. Introduction #

A block explorer turns a blockchain's raw data into answers: what a transaction did, what an account holds, who validates, how a proposal was decided. Its users have been people and the programs people write against its APIs. Language-model agents are a third kind of user. An agent asked "what did this address do last week?" or "is this protein's structure on chain similar to anything else there?" needs tools: functions it can discover, understand from their descriptions, and call with structured arguments.

The Model Context Protocol [1] standardizes this: a server publishes tools with JSON-Schema inputs, resources addressed by URI, and prompts; any MCP client (a chat application, an IDE, an agent framework) can connect to it. Explorer operators have responded with MCP servers that wrap their public APIs as separate services [2, 3]. That design is quick to deploy and serves many chains at once, but the server is a second program with its own view of the data, its own subset of features and, often, its own access keys.

GL1X takes the opposite position. It is a single program that indexes GenesisL1 (a Cosmos SDK chain with an EVM, whose ledger also carries scientific records and machine-learning models) and serves the explorer, its APIs and its MCP endpoint from the same process. This paper describes that design and what it buys. Our contributions are:

  1. an architecture in which MCP tool calls are executed in-process through the explorer's own router, response cache and admission control, with the route's JSON passed through unchanged (§3.2);
  2. a tool surface covering the entire explorer: ledger, tokens, governance, contracts, decentralized applications and scientific services, with a universal fallback to any documented route (§3.3), plus the documentation as MCP resources and task prompts (§3.4);
  3. parity guarantees between what an agent and a person get, tested for the chess application move by move (§3.5);
  4. an evaluation of coverage and throughput (§5) and a discussion of the trade-offs against separate MCP services (§6).

2. Background #

2.1 GenesisL1 #

GenesisL1 is a Cosmos SDK chain with an Ethereum Virtual Machine (EVM chain id 29, coin L1). Its ledger holds the usual accounts, tokens and governance, and three kinds of content that make it a "scientific Layer-1":

  • MolNFT: molecular records as ERC-721 tokens. MolNFT v2 keeps a Protein Data Bank entry's metadata, sequences and BinaryCIF structure in contract state; MolNFT v1 anchors IPFS content (metadata and PDB files) by CID. About 297,000 records were indexed in October 2026.
  • GL1F: decision-tree models stored as NFTs, run on chain through read calls to a runtime contract, in integer arithmetic.
  • ChessPolicyNetV1: a convolutional policy network stored in a contract; a chess application plays against it through read calls.

2.2 Explorers and their APIs #

Explorers expose REST APIs (Blockscout's v2, Etherscan's module/action API) and often JSON-RPC. GL1X implements both compatibility layers and its own unified API, 189 documented routes in all, from one database and one cache.

2.3 Tool use and MCP #

Language models can act through tools when prompted to interleave reasoning and actions [4] or trained to call APIs [5]. MCP [1] fixes the interface: JSON-RPC 2.0 over stdio or Streamable HTTP; tools/list and tools/call; resources/list, resources/templates/list and resources/read; prompts/list and prompts/get; annotations that tell clients whether a tool reads or writes. Specification versions in use in 2026 are 2024-11-05, 2025-03-26, 2025-06-18 and 2025-11-25.

Blockscout publishes an MCP server that wraps Blockscout APIs and resolves chains through its Chainscout registry, as a service distinct from the explorers it queries [2]. Etherscan announced in August 2026 an MCP endpoint at a dedicated host, with about twenty tools over more than sixty EVM chains, authenticated with an API key; its documentation also lists a keyless endpoint with fewer tools and lower limits [3]. Both favour breadth across chains. GL1X favours depth on one chain: its server is the explorer and its tools include the chain's applications and scientific services. GL1X is therefore not the first explorer with an MCP server; what sets it apart is the combination. To our knowledge, it is the only blockchain explorer that brings on-chain scientific and molecular data, a wide range of bioinformatics tools and an MCP server for agents together in one program.

3. Design #

3.1 Principles #

  • P1 Parity. Any fact the explorer shows a person, an agent can obtain, and obtains the same.
  • P2 One implementation. A tool is a description of an explorer route, not a second implementation of it.
  • P3 Read-only and keyless. No tool signs, sends or holds a key; any MCP client can connect without registration.
  • P4 Bounded cost. Agent load goes through the mechanisms that protect the explorer from people and crawlers: the response cache, admission control, per-client budgets.
  • P5 Verifiability. Answers carry the identifiers, digests and replay material that let an agent check them.
  • P6 Self-description. The server explains itself: instructions at initialization, tool schemas and annotations, documentation as resources, prompts, and llms.txt for clients without MCP.

3.2 Architecture #

POST /mcp is a route of the explorer's HTTP server. A tool call is handled as follows:

  1. The JSON-RPC message is parsed; batches run their messages concurrently (eight at a time) and are answered in order.
  2. The tool's run function builds the request of the route it describes (path, query or body) and gives it the calling client's address, so per-client budgets apply as for a direct API call.
  3. The request goes through the explorer's router wrapped by its cache middleware: a hot answer is returned from memory as finished bytes; a cold one is computed under admission control (bounded concurrency with a short queue) and cached for its freshness interval.
  4. The route's JSON is placed in the tool result unchanged, as text content and as structured content; there is no decode/re-encode step.

Because every request stands alone (session identifiers are accepted, never required), any of the explorer's web processes can answer any call, which lets the MCP endpoint scale with the web tier. Errors from routes become tool results with isError, so the model reads "Too many BLAST searches; retry shortly" rather than a protocol failure.

3.3 Tool surface #

GroupToolsExamples
Ledger13search, get_block, get_transaction, get_account, list_top_accounts
Tokens and NFTs7get_token_holders, get_nft, nft_transfer_check
Validators and governance5list_validators, get_proposal
Contracts2get_contract, read_contract (any view function by signature)
Molecules6molecule_search, molecule_features, molecule_sequence_proof
Sequence and structure search7blast_search, structure_align, structure_search, structure_motif, bio_dataset
Ligands3ligand_search (components by id, name or formula, or what binds a protein), ligand_sites, molecule_ligands
Structure analysis6record_analysis (DSSP, accessibility, interfaces, pockets of a record), protein_structures (every structure of a UniProt protein), pocket_search, interface_search, ss_pattern_search, structure_template
Proteomics10peptide_digest (proteotypic peptides across the archive), psm_search (spectra with target–decoy FDR), crosslink_check, residue_map, virtual_gel
Families and variants9msa_build, coupling_analysis (DCA jobs), hmm_search, annotation_transfer, mutation_scan
Literature1pubmed_search (PubMed records and the MeSH topics they share, through NCBI's E-utilities, by query or by a structure's title)
GL1F models4gl1f_predict (on-chain inference with local replay), gl1f_verify_model
GL1F Crypto2crypto_ask_model, crypto_trading_rules
Chess7chess_new_game, chess_play_move, chess_engine_move
Converters and fallback4convert_address, convert_units, list_api_routes, api_request

Every tool is annotated read-only and open-world. The fallback pair list_api_routes and api_request makes every documented route reachable even without a dedicated tool, so the surface grows with the API.

3.4 Resources and prompts #

The documentation (every page, this paper included) is published as resources gl1x://docs/{slug} in Markdown, so an agent can read how a tool works in the same session in which it uses it. Six resource templates read records, their features and structures, transactions, accounts and blocks by URI. Five prompts encode multi-step tasks: a scientific report on a molecular record, a dataset of a record's homologs for machine learning, an account overview, the network's status, and an explained sequence proof. Prompts make good practice explicit (cite record identifiers and digests; do not invent numbers; split datasets by related records).

3.5 Applications and parity #

Applications are where explorers and their MCP services most easily drift apart, because their logic often lives in browser code. In GL1X the chess application's search (legal-move masks, top-k policy queries, scored candidates, best-reply refinement, opening book) runs on the server for both the page and the agent; a test plays games through the page's API and through MCP and compares them move for move. Games are stored in PostgreSQL so any web process continues any game. GL1F inference runs on chain for both, and local: true replays the model's integer arithmetic from its on-chain bytes. GL1F Crypto answers carry, in the tool description and the server instructions, the rule that they are probabilities for the latest completed candle, never certainties and not investment advice.

3.6 Scientific services #

The molecular tools expose GL1X's bioinformatics: BLAST identical to NCBI BLAST+ 2.12.0, TM-align identical to its reference implementation, structure search through a learned structural alphabet, an index of every ligand of every structure with its binding site, documented molecular features, datasets in GL1F's input format, and proofs that re-derive sequences from the chain and from CID-verified IPFS content; since 3.0, a research suite over the whole archive as well: full-atom analysis of every structure (DSSP, accessibility, interfaces, pockets with druggability, base pairs), proteomics (digests and proteotypic peptides, spectrum identification, crosslinks, isotope patterns), families (alignments, conservation, trees, direct coupling analysis, profile HMM search) and variant effects, each checked against its reference program. They are described in the companion paper [6].

The parity principle holds here too. What a visitor sees on a MolNFT record's page, an agent obtains from the tools behind it: Search similar structures is structure_search; Align here, the BLAST hits shown under each sequence, is blast_search; the molecular analysis panel, with its properties, notes and feature table, is molecule_features; Verify on chain is molecule_sequence_proof; the Ligands panel under the 3D view is molecule_ligands, and the Ligands pages are ligand_search and ligand_sites. The research workbench, which paints every tool's result on one structure, is the same: its pockets, interfaces and secondary structure are record_analysis, its conservation msa_build, its couplings coupling_analysis, its variants variant_effects and mutation_scan, its peptides peptide_digest and residue_map, its crosslinks crosslink_check, its neighbours annotation_transfer, its pH environments ph_environment. The dataset panels of the BLAST, structure search and molecular search pages are bio_dataset, with the same sources, feature sets, labels and formats. The homolog_dataset and molecule_report prompts chain these tools into the workflows a scientist would follow.

4. Implementation #

GL1X is written in Go (about 105,000 lines excluding tests) with one external dependency, the PostgreSQL driver. The MCP server is about 2,700 lines: the transport and dispatcher, tool definitions with JSON Schemas, resources, prompts and the plain-text descriptions for language models. It supports protocol versions 2024-11-05 through 2025-11-25, negotiating the client's. Limits: request bodies of 256 KB; 10 calls per second per client with bursts of 100; 120 seconds per call; heavier tools inherit their routes' budgets (BLAST and structure search: 6, then one every 2 s; datasets: 3, then one every 5 s; proofs: 3, then one every 10 s). For clients that only launch local programs, gl1x mcp --url … relays MCP over stdio. /llms.txt and /llms-full.txt describe the explorer, every tool with its parameters and every route in plain text. Tests cover the protocol (versions, batches, notifications, errors), every tool group, resources and prompts, and the parity of chess.

5. Evaluation #

5.1 Coverage #

Every page of the explorer's interface reads one or more API routes; every route is either the target of a dedicated tool or reachable through api_request. The scientific pages (molecular search, BLAST, structure search, the ligand index, a record's molecular analysis, the research workbench, the archive searches of pockets, interfaces, patterns, templates and modifications, proteomics, families, dataset building) each map to dedicated tools (molecule_search, blast_search, structure_align/structure_search, ligand_search/ligand_sites, molecule_features, record_analysis and the tools of 3.3, bio_dataset). The documentation pages are resources (gl1x://docs/{slug}), and their search (/api/docs/search) is a documented route. The admin pages are deliberately not exposed.

5.2 Throughput and latency #

We measured on a 2-vCPU virtual machine shared by GL1X, PostgreSQL, a simulated node and the load generator, with a database of one million blocks (3 million EVM and 3.3 million Cosmos transactions) and nginx in front, as deployed by the installer. Thirty-two concurrent agents called a mix of ten tools (ledger reads, searches, account and token views):

VersionCalls per second99th percentile
GL1X 2.1.0 (decode and re-encode of route answers)682267 ms
GL1X 2.2.0 (pass-through of route answers)1,054164 ms

Passing route answers through unchanged raised throughput by about half and made answers about a fifth smaller than the indented JSON sent before. On the same machine the explorer served 48,690 page and API requests per second from nginx's cache for 500 connections polling the home page, which bounds what popular agent queries cost.

5.3 Parity #

The chess parity test plays complete games through both paths with identical settings, including the two-ply search and edge settings, and requires identical moves and analyses. For the scientific tools, parity holds by construction: molecule_features, bio_dataset and the search tools call the same routes the pages call.

5.4 Illustrative workflows #

We do not report a user study. The following tool sequences illustrate what the surface allows; each step is a single call.

  • Account investigation: search → get_account → get_token_balances → list_transactions → get_transaction → read_contract.
  • Molecule to proof: molecule_search → get_molecule → molecule_features → blast_search → structure_search → structure_align → structure_comparisons → molecule_sequence_proof.
  • Hits to model: bio_dataset (structure search hits, protein and structure features, label TM-score, GL1F format) → train off chain → gl1f_get_model → molecule_features on a new record → gl1f_predict with local replay.
  • Target to druggable site: pocket_search (empty pockets of druggability 0.7 or more on a protein) → record_analysis (the pocket's lining and its accessibility) → msa_build (is the lining conserved?) → annotation_transfer (do neighbours bind a ligand there?) → mutation_scan over the lining.
  • Spectra to structure: psm_search (MGF against the archive, 1% FDR) → peptide_digest (are the peptides proteotypic?) → residue_map (HDX values on the chain) → crosslink_check (do the crosslinks fit the structure?).

6. Discussion #

Why in-process. Building MCP into the explorer gives (i) parity, because there is one code path per fact; (ii) freshness, because tools read the same cache as pages, invalidated by the same indexer; (iii) latency, because hot answers are memory reads; (iv) operations, because there is nothing else to deploy, version or key; and (v) completeness, because application and scientific features are tools the moment they are routes. The costs are real: the explorer must bound agent load (which it already does for crawlers), and the server serves one chain.

Safety. Read-only tools remove the most serious risks of agentic access, but not all: record titles, token names and metadata are attacker-controlled text that reaches the model. GL1X returns them as JSON fields and documents them as data, not instructions; clients should do the same. Verifiability (P5) gives agents a way to check rather than trust.

Limitations and future work. GL1X answers each POST directly and does not stream; long scientific jobs are bounded instead (time limits, work limits). Subscriptions (new blocks as resource updates), elicitation for parameters and write tools that hand a prepared transaction to the user's wallet for signature are natural extensions. Multi-chain breadth is out of scope.

7. Conclusion #

An explorer that speaks MCP natively can offer agents everything it offers people, consistently and cheaply. GL1X shows that this extends beyond ledger reads to on-chain applications and to scientific computing over on-chain records, and that the mechanisms explorers already need (caches, admission control, budgets) are what make it safe to open the whole surface to agents.

Availability #

GL1X is free software under the MIT License: https://github.com/GenesisL1/gl1x. Any GL1X server's MCP endpoint is its address followed by /mcp; its documentation is at /docs.

References #

  1. Model Context Protocol, specification 2025-11-25. https://modelcontextprotocol.io/specification
  2. Blockscout MCP server documentation. https://docs.blockscout.com/devs/mcp-server
  3. Crypto Briefing, "Etherscan unveils AI tools for agents with new API features across 60+ EVM chains", 31 August 2026; Etherscan MCP documentation, https://docs.etherscan.io/ai/mcp.
  4. Yao S, Zhao J, Yu D, et al. (2023) ReAct: synergizing reasoning and acting in language models. International Conference on Learning Representations.
  5. Schick T, Dwivedi-Yu J, Dessì R, et al. (2023) Toolformer: language models can teach themselves to use tools. Advances in Neural Information Processing Systems 36.
  6. Bioinformatics LLC (2026) Decentralized bioinformatics over on-chain molecular records. GL1X documentation, paper-bioinformatics.

GL1X is a live explorer of the GenesisL1 blockchain. Turn on JavaScript for search, charts and interactive views.