# litdb MCP Server

> Search tools for scientific literature and local documents.

- **URL**: https://followmcp.com/en/servers/litdb
- **Category**: Database
- **Origin**: Community
- **Stars**: 87
- **FMRS Score**: 51/100 (Grade D)
- **Source**: https://github.com/jkitchin/litdb
- **Transports**: stdio (local process)
- **Runtimes**: Python
- **Auth**: No credential needed

## Overview
litdb is a database for curating and searching scientific literature and local documents. Its MCP server exposes read-only tools for the database, including vector and full-text search, OpenAlex search, source details, citation and BibTeX retrieval, tag queries, and NSF COA generation. The server uses a local libsql database. The README does not include the server manifest, so individual tool parameters and behavior could not be verified.

## Best for
- Researchers maintaining a local literature database who want read-only search through an AI client.
- Users who want to search a personal litdb database containing OpenAlex records or indexed local documents.

## Not for
- Users without a configured litdb database or who expect the server to create and populate one for them.
- Users who need to modify, add, or delete database content through MCP; the README describes the MCP tools as read-only.
- Users who need tool parameters or capabilities not documented in the README.

## Required permissions
- The server needs access to the configured litdb database file to run read-only queries.
- The server configuration can use `LITDB_ROOT` to identify the database directory; the README also says the server can read the `litdb` environment variable or find `litdb.toml`.
- The README does not specify operating-system permissions or network access requirements.

## Risks
- Search results depend on what is already in the database, whether abstracts are available, and embedding quality; papers absent from the database will not appear in local search.
- Indexed local documents may contain sensitive information. The README advises checking a database's contents before sharing it.
- Although MCP tools are described as read-only, the README does not detail the network behavior of OpenAlex search or data handling by individual tools.

## Client config (JSON)
```json
{"mcpServers":{"litdb":{"command":"litdb_mcp","env":{"LITDB_ROOT":"/path/to/your/litdb"}}}}
```

## Tools (10)
- `vsearch`: Run vector search in litdb.
- `fulltext_search`: Run full-text search in litdb.
- `find_similar`: Find similar entries.
- `openalex`: Search OpenAlex.
- `get_source_details`: Get source details.
- `get_citation`: Get a citation string.
- `get_bibtex`: Get a BibTeX entry.
- `list_tags`: List tags.
- `get_tagged_articles`: Get articles with a specified tag.
- `generate_nsf_coa`: Generate an NSF COA.
