← Back to directory
L

litdb MCP Server

Community
Search tools for scientific literature and local documents.
Category
Database #52 of 86
Stars
★ 87 Popular
Transport
stdio (local process)
Runtime
Python
Credentials
No credential needed
License
MIT
Last commit
Tools
10
51FMRS · D

The README describes an MCP server for a personal database of scientific literature and local documents, with read-only search, source information, citation, BibTeX, and tag tools. It suits users who already have a litdb database and want to search it from an AI client. The server manifest is absent from the supplied material, so tool parameters and finer behavior cannot be verified.

Strongest · Documentation 13/20 Weakest · Reliability 7/20

Reliability
7/20
Security and permissions
10/20
Maintenance
9/20
Documentation
13/20
Setup experience
12/20
Why each score
Reliability 7/20
The README names the read-only MCP tools and `litdb_mcp` launch command, and describes database discovery. However, the manifest, tool parameters, initialization and tool-list handshake evidence, server tests, and verifiable CI results are absent. Startup and whether declared tools match implementation cannot be confirmed, so the score is limited under the static-review rule.
Security and permissions 10/20
The README describes the MCP tools as read-only and explains database path selection through environment variables or configuration, indicating some scope limits. But without the manifest or implementation, actual access boundaries, external data flows, and credential handling cannot be verified. The CLI chat prompt can run shell commands, but there is no evidence that MCP exposes that capability. No red-line evidence is present, so this receives a moderate score with deductions for unverified controls.
Maintenance 9/20
MIT licensing is stated, version 2.1.8 is mentioned, and PyPI and GitHub installation paths are given. Repository metadata says it is not archived and has no open issues. There is no evidence of commit history, release cadence, dependency updates, or a security-response channel, so sustained maintenance cannot be established.
Documentation 13/20
The README provides substantial examples for installation, configuration, database location, client configuration, and tool use, and discloses local-file sensitivity, search limitations, and some dependency requirements. MCP tool parameters, troubleshooting, complete permission boundaries, and cost details are limited; the manifest is also unavailable, so the score is not higher.
Setup experience 12/20
The README gives `uv tool install litdb`, the `litdb_mcp` command, a Claude Code installation example, and a manual configuration example, and explains database discovery. Users still need to prepare a runtime, install the tool, and configure a database path. No manifest or verifiable end-to-end connection evidence is provided, which limits the score.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessUses the networkConnects to a database

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 and side effects

  • 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.

Setup

Before you start

Runtime:Python

NCBI_API_KEY optionalsecret
GOOGLE_CX_KEY optionalsecret
TAVILY_API_KEY optionalsecret
Other optional settings (1)
LITDB_ROOT optional Path to your litdb project directory, containing litdb.toml and litdb.libsql.

Install litdb with uv tool install litdb to make the litdb_mcp command available. In the client configuration, set the command to litdb_mcp and set LITDB_ROOT to the directory containing litdb.toml and litdb.libsql. Claude Desktop does not use the README's knowhow installation method; run litdb install mcp-server from the litdb directory or pass a database path. See install_config for an example.

.mcp.json
{"mcpServers":{"litdb":{"command":"litdb_mcp","env":{"LITDB_ROOT":"/path/to/your/litdb"}}}}

Shown for Claude Code. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.

.vscode/mcp.json
{
  "servers": {
    "litdb": {
      "command": "litdb_mcp",
      "env": {
        "LITDB_ROOT": "/path/to/your/litdb"
      }
    }
  }
}

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
[mcp_servers.litdb]
command = "litdb_mcp"

[mcp_servers.litdb.env]
LITDB_ROOT = "/path/to/your/litdb"

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Terminal
claude mcp add litdb -e LITDB_ROOT=/path/to/your/litdb -- litdb_mcp

Run it in a terminal; replace any <…> placeholders with your own values first.

Check that it works

Confirm that the litdb tools appear in your client's MCP tool list. Then ask, “What is in my litdb about alloy segregation?” and check that the server returns database search results.

Troubleshooting

  1. Confirm `litdb_mcp` is installed and available on the client process PATH; the README recommends `uv tool install litdb`.
  2. Confirm `LITDB_ROOT` points to a directory containing both `litdb.toml` and `litdb.libsql`, or check the working directory and its parents for `litdb.toml`.
  3. In Claude Code, check whether `/mcp` lists litdb; restart Claude Desktop after configuration.
  4. If results are missing, confirm the relevant papers or local files have been added to the database and that entries contain searchable text.

Things to try

Once connected, you can ask your AI assistant things like:

  • Search my litdb for papers about alloy segregation.
  • Search OpenAlex for articles about alloy segregation.
  • Find articles similar to a paper about catalysis in my database.

Tools 10

vsearch read-only
Run vector search in litdb.
fulltext_search read-only
Run full-text search in litdb.
find_similar read-only
Find similar entries.
openalex read-only
Search OpenAlex.
get_source_details read-only
Get source details.
get_citation read-only
Get a citation string.
get_bibtex read-only
Get a BibTeX entry.
list_tags read-only
List tags.
Show 2 more tools
get_tagged_articles read-only
Get articles with a specified tag.
generate_nsf_coa read-only
Generate an NSF COA.

Use cases

Search a personal scientific literature library with natural-language queries.
Run full-text searches or find similar papers in the database.
Search OpenAlex and inspect source details.
Retrieve citations or BibTeX entries and query tagged articles.

Supported clients

Claude Code
VS Code
Cursor
Codex
OpenCode
Gemini CLI
GitHub Copilot
Claude DesktopPartial support

Listed from the project's documentation, not tested by this site.

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.

Similar servers

Source revision b714783814fc Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/litdb.svg)](https://followmcp.com/en/servers/litdb)