This document provides the detailed technical information for Z39.50 and SRU client developers and implementors necessary to access and interwork with the LC Folio Z39.50 Server. This document assumes a general familiarity with Z39.50 and SRU.
The LC Folio Z39.50 Server conforms to Z39.50-1995 (Version 3) of the standard. A subset of attributes from the bib-1 attribute set are supported, and codes from the bib-1 diagnostic set are utilized.
LC has implemented IndexData's MetaProxy, which functions as an SRW/SRU/Z39.50 gateway to LC's various Folio and Zebra Z39.50 servers. The SRW and SRU Web services conform to version 1.1 of the standard.
When connecting to Library of Congress catalogs using Z39.50, we recommend using the DNS hostname rather than a static IP address to ensure continued access when IP addresses change.
Please note: In July 2015, the Library updated its Z39.50 Metaproxy server. This process resulted in deprecation of the static IP originally associated with the lx2.loc.gov DSN name. After September 28, 2015, institutions using this deprecated static IP (140.147.249.67) will no longer be able to access LC catalog metadata unless they modify the Z39.50 target information in their applications.
Please note: In July 2025, the Library changed the catalog from Voyager to Folio. None of the connection details have changed, but the attributes supported are significantly reduced.
Please send questions to the Network Development and MARC Standards Office at [email protected]
The LC server supports the following services:
Initialization
Search
Present
The LC SRW/SRU server supports the following services:
Explain
searchRetrieve
Library of Congress Catalog
Domain name: lx2.loc.gov
Port: 210
Database name: LCDB (UTF-8 records)
Database name: LCDB_MARC8 (MARC8 records)
Database name: NLSBPH (UTF-8 records)
Availability: 24 hours/day; 7 days/week
Z39.50 Explain record: LC Catalog Z39.50 Explain Record
SRU Base URL (http): http://lx2.loc.gov:210/lcdb?
SRU Base URL (https): https://lx2.loc.gov/sru/lcdb?
SRU Explain record: LC Catalog SRU Explain Record
National Library Service for the Blind and Print Disabled Union Catalog
Domain name: lx2.loc.gov
Port: 210
Database name: NLSBPH (UTF-8 records)
Database name: NLSBPH_MARC8 (MARC-8 records)
Availability: 24 hours/day; 7 days/week
Z39.50 Explain record: NLS/BPH Explain Record
SRU Base URL (http): http://lx2.loc.gov:210/nslbph?
SRU Base URL (https): https://lx2.loc.gov/sru/nlsbph?
SRU Explain record: NLSBPH SRU Explain Record
Name Authority File
Domain name: lx2.loc.gov
Port: 210
Database name: NAF (UTF-8 records)
Availability: 24 hours/day; 7 days/week
SRU Base URL (http): http://lx2.loc.gov:210/naf?
SRU Base URL (https): https://lx2.loc.gov/sru/naf?
SRU Explain record: NAF SRU Explain Record
Subject Authority File
Domain name: lx2.loc.gov
Port: 210
Database name: SAF (UTF-8 records)
Availability: 24 hours/day; 7 days/week
SRU Base URL (http): http://lx2.loc.gov:210/saf?
SRU Base URL (https): https://lx2.loc.gov/sru/saf?
SRU Explain record: SAF SRU Explain Record
Protocol Version
Z39.50-1995 (Version 3)
Options Supported
Search
Present
Preferred Message Size
LC will negotiate Client down to 32,768 bytes if requested size exceeds 32,768 bytes, and accept
Client proposal if it is less than 32,768 bytes.
Maximum Record Size
Server will accept Client proposal
ID Authentication
User-id and password are not required by LC Server
Result Set Name
Only "default" is supported (case insensitive)
Database Names
"LCDB" Library of Congress Bibliographic Database (UTF-8)
"LCDB_MARC8" Library of Congress Bibliographic Database (MARC-8)
"NLSBPH" National Library Service for the Blind and Print Disabled (UTF-8)
"NLSBPH_MARC8" National Library Service for the Blind and Print Disabled (MARC-8)
"AllVoyager" LCDB (UTF-8 only)
"NAF" Name Authority File (UTF-8 only)
"SAF" Subject Authority File (UTF-8 only)
Query
Type-1 only is supported
Attribute Set ID
Bib-1 only is supported
Operand
The Result Set ID (i.e., "default") cannot be used in the Operand.
Qualifying searches are not supported
Operators Supported:
AND
OR
AND-NOT
Result Set Maximum is 10,000 records
Session Inactivity Timer
60 seconds
Record Syntaxes Supported
MARC 21 (OID = 1.2.840.10003.5.10)
XML (OID = 1.2.840.10003.5.109.10)
Element Set Names Supported
Bibliographic Databases
"F" -- Full (MARC records)
"dc" -- Dublin Core (XML records)
"mods" -- MODS (XML records)
"marcxml" -- MARCXML (XML records), default schema for XML
Authority Databases
"F" -- Full MARC records
"marcxml" -- MARCXML (XML records), default schema for XML
"mads" -- MADS (XML records)
Present Response Maximum is 50 records
"dc" -- Dublin Core (bibliographic records) "mads" -- MADS (authority records) "mods" -- MODS (bibliographic records) "marcxml" -- MARCXML - the default schema "bibframe2" BIBFRAME RDF (XML descriptions) "bibframe2a" BIBFRAME with authority URIs
Bibliographic Databases (LCDB)
CQL Index
cql.anywhere
Dublin Core Index
dc.author
dc.creator
dc.publisher
dc.subject
dc.title
Bath Index
bath.name
bath.personalName
bath.conferenceName
bath.corporateName
bath.geographicName
bath.isbn
bath.issn
bath.lccn
bath.standardIdentifier
bath.publisher
Name Authority File (NAF)
CQL Index
cql.anywhere
Dublin Core Index
dc.title
Bath Index
bath.name
bath.personalName
bath.conferenceName
bath.corporateName
bath.geographicName
bath.uniformTitle
bath.isbn
bath.issn
bath.lccn
bath.standardIdentifier
Local Index
local.id (Local Control number)
local.primaryHeading
Subject Authority File (SAF)
CQL Index
cql.anywhere
Dublin Core Index
dc.title
Bath Index
bath.name
bath.personalName
bath.conferenceName
bath.corporateName
bath.uniformTitle
bath.geographicName
bath.lccn
bath.standardIdentifier
Local Index
local.id (Local Control number)
local.primaryHeading
Bibliographic Databases (LCDB)
Value Description
----- -------------------------
1 Personal name
2 Corporate name
3 Conference name
4 Title
7 ISBN
8 ISSN
9 LCCN
16 LC Call Number
21 Subject heading
1003 Author
1007 Standard Idnetifier
1016 Any (keyword)
1211 OCLC Number
Name Authority File (NAF)
Value Description
----- -------------------------
1 Personal name
2 Corporate name
3 Conference name
4 Title
6 Uniform title
9 LCCN (010)
1002 Name
1007 Standard identifier
1016 Any (keyword)
5009 Record ID (001)
Subject Authority File (SAF)
Value Description
----- -------------------------
4 Title
21 Subject heading
47 Subject subdivision
1002 Name
1007 Standard identifier
1009 Subject Personal Name
1016 Any (keyword)
1073 Subject-name conference
1074 Subject-name corporate
1075 Subject-genre/form
1076 Subject-name geographical
1079 Subject topical
5075 Subject subdivision form
5076 Subject subdivision geographical
5077 Subject subdivision chronological
5079 Subject subdivision general
Value Description
----- ---------------
3 Equal
Values other than "3" are accepted, but not regarded.
Value Description
----- ---------------
1 First in field
3 Any
Value Description
----- ---------------
1 Phrase
Values other than "1" are accepted, but not regarded.
Value Description
----- ---------------
1 Right truncation
100 Do not truncate
Value Description
----- --------------------
1 Incomplete subfield
Values other than "1" are accepted, but not regarded.
Requirements and Defaults: The Use attribute is REQUIRED.
For the other attributes, if an attribute type and value are not supplied by the
client, the following defaults are applied at LC:
RELATION: -- Equal (value=3)
POSITION: -- Any (value=3)
STRUCTURE: -- Phrase (value=1)
TRUNCATION: -- Do not truncate (value=100)
COMPLETENESS: -- Incomplete subfield (value=1)
Keyword searches (i.e., Position attribute = "any-position-in-field"):
Phrase searches (i.e., multiple-word search terms):
Number searches (ISBN, ISSN, LCCN, etc.):
Qualifying Searches: Searches are not supported against previous result sets.
Wild Card/Truncation: The questions mark ("?") is supported as a truncation character.
Sort Order: Records are sorted by the contents of the MARC 245 field.
If these problems make working with the Folio server difficult, we suggest that the client small-set and medium-set number be set to zero and the large-set to one (making every set a large set).
Last update: 2026-01-23
Return to the LC WWW/Z39.50 Gateway
The Library of Congress >>
Standards
Contact Us
Legal |
External Link Disclaimer